How To Remove Tab In JColorChooser

There will come a time when you want only a selected tab to appear in the JColorChooser. As far as I know, there is no way to do this with Java‘s API. If there is, please leave a comment and share.

Here is an initial code that I found in Example Depot that removes the tabs:

Just comment out the lines that call removeChooserPanel() method if you do not want those tabs to be removed.

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

Your email address will not be published. Required fields are marked *