Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dimension size = new Dimension(comboBox.getWidth(), 146);
- JPopupMenu popupMenu = (JPopupMenu) comboBox.getUI().getAccessibleChild(comboBox, 0);
- popupMenu.setPopupSize(size);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement