Regarding the use of JBPopupMenu
I want to implement a pop-up similar to the following, but I'm not sure if there are any ready-made classes that can be used
JBPopupMenu popupMenu = new JBPopupMenu();
popupMenu.add(new JBMenuItem("Select"));
popupMenu.add(new JBMenuItem("All Items"));
popupMenu.setMinimumSize(new Dimension(200, 10));
I used JBPopupMenu but found that when there are too many elements, scrolling does not work and its width cannot be set to be invalid
Are there any ready-made classes that can be referenced or used?
Please sign in to leave a comment.