I have a property that contains a path to an icon. The path is created using the “ImagePathEditor” class and is of the form “Builtin/icons…” How do I find the absolute URL so that I can load the icon into my component using the ImageIcon method?
The BeanInfo class code that allows the user to select the icon is:
addProp("defaultIconPath", "Default Icon", "The default icon if no icon is set", CAT_APPEARANCE, PREFERRED_MASK | BOUND_MASK,
I would have thought it should be easy enough for me to find the absolute location by searching my filesystem. Unfortunately, I can’t find it. Your help as always is most appreciated.