I am working in an application where I have a tool bar with icons.
the structure of the application is
-repository
---gui
------actions
---------images
Well, the thing is that if I say:
public OpenAction() {
super("Open ontologies",new ImageIcon ("images/open.gif"));
}
where the class OpenAction is in the "actions" package, the icon is
not shown, and I do not know hot to set the relative path of the
icon.
I tried with "repository/gui/actions/images/open.gif", but it just
work with Eclipse, but not with NetBeans either.