I have a menu that will show a sub menu. The sub menu could have 100 options. If this many exist the options will go off the screen and the user will not be able to select them. Is there any way of adding a scrollable pane inside a JMenu?
If not is there a way I can keep the parent JMenu visible when we show the new component which allows for a scrollable pane but is not a sub-menu of the parent JMenu.
thanks! we are compatible with Java 1.4 so that do not have the freedom to use a newer Java version; and, yes, 1.4 does not support menu scrolling.
finally we used BasicComboPopup (and JList) to replace the basic submenu Popup used in JMenu; worked. however, a lot of pains of tuning up its behavior.
finally we used BasicComboPopup (and JList) to replace the basic submenu Popup used in JMenu; worked. however, a lot of pains of tuning up its behavior.