Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Showing Images in Splash Screen

 
Aravind Prasad
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,
I'm doing a test Splash Screen in Java Swings using NetBeans. I couldn't load the image in the Window

This the code I'm using.. Please help me to fix this

 
Aravind Prasad
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry Before completing the details.. I pressed a wrong key and it was submitted.

Cont.

The code is here

and the error I'm gettting is here



Please help me to sort this out ranchers.

Thanks in Advance..

regards

Aravind Prasad
 
Pavan Kumar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are some problems with your code.
Hope this helps

[ January 09, 2007: Message edited by: Pavan Kumar Mankala ]
 
Aravind Prasad
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Pavan Kumar,
Thankyou for the reply. It is not working. I don't know what is the problem with that code. When I run it in TextPad, it is showing the image and when i copy the same code and put it in the NetBeans IDE, it is not working. Please help me to find the probelm..

Thanks and regards

Aravind Prasad
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic