Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


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