Joined: Sat Apr 16, 2011 8:45 am Posts: 5 Has thanked: 2 time Have thanks: 0 time
i am need to create a Splash Screen for my java Application... My application in designed in IDE Netbeans 6.8 Can any one have idea how to create Splash Screen?
msi_333
Question subject: Re: Splash Screen
Posted: Mon Apr 18, 2011 11:55 pm
Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
what about progress bar . or you want only to have image while loading something .
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )
aravindragu
Question subject: Re: Splash Screen
Posted: Thu Apr 21, 2011 3:18 am
Joined: Sat Apr 16, 2011 8:45 am Posts: 5 Has thanked: 2 time Have thanks: 0 time
msi_333 wrote:
what about progress bar . or you want only to have image while loading something .
Ya need that too...
aravindragu
Question subject: Re: Splash Screen
Posted: Mon Apr 25, 2011 3:15 am
Joined: Sat Apr 16, 2011 8:45 am Posts: 5 Has thanked: 2 time Have thanks: 0 time
ya need both , Splash Screen along with progress bar...
msi_333
Question subject: Re: Splash Screen
Posted: Mon Apr 25, 2011 2:50 pm
Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
public FrameImage(){ setSize(500,500); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setVisible(true); } @Override public void paint(Graphics g) { Graphics2D g2 = (Graphics2D) g;
Image img1 = Toolkit.getDefaultToolkit().getImage("image.gif"); // draw the image at postion 0,0 g2.drawImage(img1, 0, 0, this); g2.finalize(); }
}
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )
For this message the author msi_333 has received gratitude : aravindragu
mickiee
Question subject: Re: Splash Screen
Posted: Mon Apr 25, 2011 4:34 pm
Joined: Fri Apr 22, 2011 2:34 pm Posts: 1 Has thanked: 0 time Have thanks: 0 time
I was also trying to create splash screen but unable cause i don't have enough knowledge but now i read all the codes very carefully from sir msi_333 and now i will try them.