Use JSplit Button with Netbean
- First you need to download jSplitButton Jar File from here
- Create new Java Project in Netbean.
- Take new JFrame By right clicking Project
- Then rigth click on palette windows on right side and go to palette manager.
- Create your category if you want to Categories your component.
- Click on "Add from Jar" to add your component in palette.
- Select you Component file, negalect Bean, Demo, Action classes from Jar file.
- Select category that you created first.
- and Finish. Your component added in palette in your created category.
- To add menu in splite button, use popup menu, create your customised popup menu and just add in button from properties window.
- Rigth click on split button and go to properties.
- Set your popup menu to plite Button.
- And Run your project. Thats it.................
Nice Post
ReplyDelete