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)
source share