Đang Thực Hiện
117617 Scrollable JPopUpMenu
Ngân sách N/A
Problem 1: Not able to Scroll down when frame is Large
My application is a large frame and when I invoke the JPopupMenu on it I am not able to scroll.
In the example application also I found the same problem when I maximize the frame. I am able to see the JPopupMenu but not able to scroll on it.
Problem 2: Adding ActionListener to each Menu Item
Adding an ActionListener to each menu item is a problem in my application as my application contains many menu items and is not suggested. Is there a way to catch a click like that of the JMenuItem automatically, instead of adding a listener to each menu item.
Please check the attached Doc