java.lang.Object eu.gressly.gui.ResourceAnchor
public class ResourceAnchor
Show how to get access to files in the Filesystem. This works even, if the files are located in JAR-Files.
Constructor Summary | |
---|---|
ResourceAnchor()
|
Method Summary | |
---|---|
static javax.swing.ImageIcon |
getImageIcon(java.lang.String imgName)
Get an ImageIcon of a "virtual" resource. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceAnchor()
Method Detail |
---|
public static javax.swing.ImageIcon getImageIcon(java.lang.String imgName)
imgName
-