Sign in to follow this  
Shikai

Java Background Fade

Recommended Posts

Hi

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this