|Re: How to load icons? [message #630703 is a reply to message #630671]
||Mon, 04 October 2010 15:40
Originally posted by: mluchian.interpro.qc.ca|
Assuming you are using Eclipse 3.4, 3.5 or 3.6, you can use
WindowbuilderPro GUI builder that is now part of the open source
community and downloadable for free at:
I does also generates some helper classes (SWTResourceManager,
ResourceManager) when you build a View, Editor, Composite, etc and try
to add an external resource such as an icon to a widget. It's these
classes that will be of interest to you.
On 4/10/2010 10:16, Thomas wrote:
> hi, i defined my own icons and i want to use them in my
> rcp-application in a tree view.
> ----myicon.png (this icon)
> when i try to load them in:
> File f = new File("icons/icons/myicon.png");
> File f do always not exist. Whats the Relative Path of my icon?
Powered by FUDForum
. Page generated in 0.03091 seconds