Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Java Background Fade


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Shikai   Members   -  Reputation: 103

Like
0Likes
Like

Posted 14 June 2012 - 04:08 PM

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

Sponsor:

#2 mdias   Members   -  Reputation: 793

Like
1Likes
Like

Posted 16 June 2012 - 08:49 AM

http://www.gamedev.net/topic/481990-alpha-blending-in-java/




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS