kirennia
Part of the furniture
- Joined
- Dec 26, 2003
- Messages
- 3,857
Right, I know this is a wild shot as I don't know if anyone really uses java here or not but I've got a problem.
All I'm trying to do at the moment is get an image to display within a JFrame. It's something which should be so so simple like in c# with a simple this.setBackground(nameOfImage); and it's there.
Java is being a bit different though. The main problem I guess is that I'm trying to do it without using the paint/Graphics components as they refresh constantly which isn't what I want for this part of the project (I'll post the game when I've completed making it).
Now the task seems simple enough but no matter what, when debugging, I cannot get jdeveloper to find the right file. Anyonelse had this problem before? If it's a simple thing and aint gonna take some guru too much time, would you mind giving me an example of how it works?
Cheers in advance
All I'm trying to do at the moment is get an image to display within a JFrame. It's something which should be so so simple like in c# with a simple this.setBackground(nameOfImage); and it's there.
Java is being a bit different though. The main problem I guess is that I'm trying to do it without using the paint/Graphics components as they refresh constantly which isn't what I want for this part of the project (I'll post the game when I've completed making it).
Now the task seems simple enough but no matter what, when debugging, I cannot get jdeveloper to find the right file. Anyonelse had this problem before? If it's a simple thing and aint gonna take some guru too much time, would you mind giving me an example of how it works?
Cheers in advance