Created
September 23, 2012 14:55
-
-
Save Tiim/3771837 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final JCommandPopupMenu menu = new JCommandPopupMenu(); | |
menu.addMenuButton(new JCommandMenuButton("Hallo",null)); | |
button.setCommandButtonKind(JCommandButton.CommandButtonKind.POPUP_ONLY); | |
button.setPopupCallback(new PopupPanelCallback() { | |
@Override | |
public JPopupPanel getPopupPanel(final JCommandButton commandButton) { | |
return menu; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment