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?
Use the setIconAt
method of the JTabbedPane
:
请先阅读java教程,它们确实非常有用: http : //docs.oracle.com/javase/tutorial/uiswing/components/tabbedpane.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.