I am using JideMenu.setPopupMenuCustomizer
considering the number of items of the customized menu, there is too many to fit on the screen, however the popup menu does not show scroll buttons.
additionaly, the customize paramater takes a "JPopupMenu" instead of a JidePopupMenu, which has the scrolling interface. I casted it to JidePopupMenu, and got exception..
- Code: Select all
myMenu.setPopupMenuCustomizer(new JideMenu.PopupMenuCustomizer() {
public void customize(JPopupMenu menu) {
//try to cast to see if its really a JidePopupMenu
JidePopupMenu mnu = (JidePopupMenu)menu;