I have a JTabbedPane in my form. The problem is that I want to display the icons in the tabs of my TabbedPane.
How can i do this?
Use the setIconAt method of JTabbedPane :
setIconAt
JTabbedPane
http://docs.oracle.com/javase/7/docs/api/javax/swing/JTabbedPane.html#setIconAt (int, javax. swing.Icon)
First read the java manuals, they are really informative: http://docs.oracle.com/javase/tutorial/uiswing/components/tabbedpane.html
Source: https://habr.com/ru/post/919841/More articles:How to convert the H2Database database file to MySQL.sql database file? - mysqlRails + master + working server freezes - ruby-on-rails-3How accurate is the iPhone GPS (in radius)? - iphoneConsole returns undefined - javascriptRails server freezes on startup with wizard - ruby-on-railsSandbox app: how to let the XPC service read the file that the user opened in the parent application? - cocoaAdministrator rights for Java Project for Windows 7 - javaTAB in custom NSTextField does not focus on another control - objective-cPrivate Accessors in Visual Studio 2012 - .netWhat type of locking mechanism uses the use of locking - multithreadingAll Articles