Search:

Type: Posts; User: Chris.Brown.SPE

Search: Search took 0.10 seconds.

  1. Re: How to put in a "new" image in ImageIcon JFrame ?

    When you make your third label make sure you are referencing the right icon.

    label3 = new JLabel ("HARDER -", icon, SwingConstants.CENTER);
  2. Re: How to put in a "new" image in ImageIcon JFrame ?

    You can only have one variable with the name icon. Try changing the second one to "ImageIcon icon2 = new ImageIcon ("angels.gif")".
Results 1 to 2 of 2