Đang Thực Hiện

117617 Scrollable JPopUpMenu

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

Kĩ năng: Bất kì công việc gì, Java

Xem nhiều hơn: listener, java scrollable jpopupmenu, jpopupmenu, frame catch, jpopupmenu scrollable, scrollable jpopupmenu, adding click java, scrollable jpopupmenu java, scroll items

Về Bên Thuê:
( 0 nhận xét )

ID dự án: #1863784