Adding icon on JTabbedpane tab
11,031
Solution 1
Use the setIconAt
method of the JTabbedPane
:
Solution 2
Please read the java tutorials first, they are really informative: http://docs.oracle.com/javase/tutorial/uiswing/components/tabbedpane.html
Comments
-
hemant almost 2 years
I am having a JTabbedPane on my Form. The problem is I want to display icons to the Tabs of my TabbedPane.
How can i do that?