Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2431
| From | "marcussilfver" <marcussilfver@THRWHITE.remove-dii-this> |
|---|---|
| Subject | how to set image path |
| Message-ID | <1189711839.468323.96930@k79g2000hse.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| Date | 2011-04-27 15:39 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui
How can I specify which folder JVM will look for images?
I use getClass().getClassLoader().getResource("myimage")
Right now it looks in ../ directory but I would really like it to look
in my ../../src/ directory
is this possible?
thanks
---
* Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Next in thread | Find similar | Unroll thread
how to set image path "marcussilfver" <marcussilfver@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
Re: how to set image path a24900@googlemail.com.remove-dii-this - 2011-04-27 15:39 +0000
Re: how to set image path "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
Re: how to set image path a24900@googlemail.com.remove-dii-this - 2011-04-27 15:39 +0000
Re: how to set image path "marcussilfver" <marcussilfver@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
Re: how to set image path "marcussilfver" <marcussilfver@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
Re: how to set image path "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
Re: how to set image path "Nigel Wade" <nigel.wade@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
Re: how to set image path a24900@googlemail.com.remove-dii-this - 2011-04-27 15:39 +0000
Re: how to set image path "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
csiph-web