Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Images on Eclipse issue  (Read 1258 times)
0 Members and 1 Guest are viewing this topic.
Offline Shane75776
« Posted 2009-01-24 16:19:56 »

Alright so i recently started using eclipse but for some reason my images dont seem to show up now when i used to use textpad i had no problem with my images showing up. here is a photo of how i have my images in eclipse currently.


Check out my Snipping Tool++ ! An advanced snippet/screenshot/text uploading tool! Meant to replace the windows snipping tool.

Check out Pixel Rain My most recent Swing based game!
Offline Shane75776
« Reply #1 - Posted 2009-01-24 16:21:37 »

Im not sure if you can see the image im not sure how to post them but yea ill get it up if someone can tell me hw to properly get my image

Check out my Snipping Tool++ ! An advanced snippet/screenshot/text uploading tool! Meant to replace the windows snipping tool.

Check out Pixel Rain My most recent Swing based game!
Offline Jackal von ÖRF

Junior Duke





« Reply #2 - Posted 2009-01-24 16:22:12 »

Upload the screenshot somewhere to internet (your message's link points to your hard drive), for example http://imageshack.us/

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Shane75776
« Reply #3 - Posted 2009-01-24 17:00:04 »

Still looking for an answer any help is apreciated !

Check out my Snipping Tool++ ! An advanced snippet/screenshot/text uploading tool! Meant to replace the windows snipping tool.

Check out Pixel Rain My most recent Swing based game!
Offline Addictman

Senior Duke


Medals: 3
Projects: 1


Java games rock!


« Reply #4 - Posted 2009-01-24 18:05:10 »

Copy your images into an "images" folder, to make things easiar. Then right click on your project, hit properties, java build path, and add your new "images" folder to "source folders on build path". When buildt, your project runs from a bin/ folder (at least if you use standard eclipse src/bin setup), and when using ClassLoader.getResource(..) etc., it won't work unless images are copied into the bin. This is what adding the images foler to "source folders on build path" will do.
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #5 - Posted 2009-01-24 19:47:05 »

Also anytime you add new images or make changes to the images you have to do a refresh on your project for Eclipse to pick up those changes.

Offline Shane75776
« Reply #6 - Posted 2009-01-24 20:26:15 »

awesome ill try that out thanks

Check out my Snipping Tool++ ! An advanced snippet/screenshot/text uploading tool! Meant to replace the windows snipping tool.

Check out Pixel Rain My most recent Swing based game!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (49 views)
2014-10-17 03:59:02

Norakomi (38 views)
2014-10-16 15:22:06

Norakomi (31 views)
2014-10-16 15:20:20

lcass (34 views)
2014-10-15 16:18:58

TehJavaDev (65 views)
2014-10-14 00:39:48

TehJavaDev (65 views)
2014-10-14 00:35:47

TehJavaDev (55 views)
2014-10-14 00:32:37

BurntPizza (72 views)
2014-10-11 23:24:42

BurntPizza (43 views)
2014-10-11 23:10:45

BurntPizza (84 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!