Jump to content

  • Log In with Google      Sign In   
  • Create Account

Calling all IT Pros from Canada and Australia.. we need your help! Support our site by taking a quick sponsored surveyand win a chance at a $50 Amazon gift card. Click here to get started!


Member Since 14 Jun 2012
Offline Last Active Jun 16 2012 08:51 AM

Topics I've Started

Java Background Fade

14 June 2012 - 04:08 PM


I'm new to this forum so I'm sorry if I'm making something wrong.

I need help on making a Java application that has a background that fades in and out between images.

My current code is:

ImageIcon img = new ImageIcon("background1.jpg");
JLabel label = new JLabel(img);
c.add(label, BorderLayout.CENTER);

If anyone has a simple login system to implement on my Java application too I would be extremely appreciated.

I only have 2 months of Java so please explain like I'm really dumb :P

Thank you very much