Results 1 to 2 of 2
Thread: [SOLVED] Icons path
- 03-02-2009, 07:36 PM #1
Member
- Join Date
- Oct 2008
- Posts
- 13
- Rep Power
- 0
[SOLVED] Icons path
Hi, im developing a plugin and im using some icons this way:
private static Image UNITIMG = new Image(null,"C:\\mydir\\myicon.ico");
I´m having trouble because i don´t know which path should i use so, when i package my plugin and send it to another computer, the icons will work fine.
I have an icons folder which i include in my binary build, but i don´t know the right path to access this folder. Thanks a lot for your help
- 03-03-2009, 12:31 PM #2
Member
- Join Date
- Oct 2008
- Posts
- 13
- Rep Power
- 0
Similar Threads
-
Where should this path be?
By Abder-Rahman in forum Advanced JavaReplies: 1Last Post: 02-16-2009, 07:13 AM -
How do I display a JList with icons and text?
By aneesahamedaa in forum AWT / SwingReplies: 2Last Post: 09-04-2008, 08:49 AM -
Displaying a Button with Varying Icons
By Java Tip in forum javax.swingReplies: 0Last Post: 06-26-2008, 07:40 PM -
Specify path
By borgrodrick in forum EclipseReplies: 1Last Post: 02-12-2008, 11:03 PM -
Moving icons on your desktop
By Leprechaun in forum New To JavaReplies: 3Last Post: 12-14-2007, 10:07 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks