•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 332,573 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,127 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 372 | Replies: 15
![]() |
•
•
Join Date: May 2008
Posts: 23
Reputation:
Rep Power: 1
Solved Threads: 0
Here, maybe you can take a look at my code... I cut out most of the gooie/extra stuff so you can text it out..
Right clicking should show a flag then a ? then nothing.
If you extract the jar file, you will find my source code, the images, and the compiled .class files. If you run it, the program runs, but the icons dont show.
http://www.fileden.com/files/2008/2/...ineSweeper.jar
I'm not using getResource atm so extracting the jar and moveing the image folder next to the jar will show icons. When I try to use getClass().getResource(), i get nullpointererror...
Hopefully this helps you see what I see..
Right clicking should show a flag then a ? then nothing.
If you extract the jar file, you will find my source code, the images, and the compiled .class files. If you run it, the program runs, but the icons dont show.
http://www.fileden.com/files/2008/2/...ineSweeper.jar
I'm not using getResource atm so extracting the jar and moveing the image folder next to the jar will show icons. When I try to use getClass().getResource(), i get nullpointererror...
Hopefully this helps you see what I see..
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
Other Threads in the Java Forum
- Previous Thread: Collection ? <?>
- Next Thread: Compression Project



Linear Mode