Hi, I have a JLabel with an icon that is shown fine. Only if i try to change the icon, i get no effect. Can you help, please?
Joined: Sep 28, 2000
hi, try to change the icon inside SwingUtilities.invokeLater() (see the API for more information.) All Code that changes the graphic inside a GUI has to be called from the Swing thread. To be sure of that always change the gui inside SwingUtilities.invokeLater(). Chantal