help with integrating scrollpane and menuitems - jana
There was a post by Jana on 7th July '03 "JPopupMenu in a ScrollPane". I want to do the exact same thing. The original post is here:
I have several menuitems and specific action listeners for the menuitems. Right now, there are over 30 menuitems and I want to implement scrolling capability. I do not want to do the JList implementation because that would involve a lot more changes to the code. I have tried to implement this functionality (similar to zander's solution code in the post) but the whole list disappears as soon as I move the mouse cursor over it.
Jana, can you please tell me how you finally solved this. If anyone else can post their ideas, then that would be highly appreciated.
Thanks in advance.