SplitButton in Java

Does anyone have an encoded implementation of SplitButton?

I tried searching for some implementations, but none of them work. (e.g. JSplitButton ).

+3
source share
2 answers

Demo does not work! = SplitButton does not work :-)

 splitButton = new JSplitButton("Split Button Demo"); splitButton.setPopupMenu(jPopupMenu2); add(splitButton); 

(Note: this is not a recommendation for a specific splitButton implementation, just a reminder that you should be more careful when evaluating the projects you find. If you cannot for some reason, you might consider using a commercial product such as Synthetica or JIDE, just to mean two)

+4
source

You should try using JComboBox . They work more than just dropdowns, but this should do the trick.

0
source

All Articles