Java Code Examples for org.openide.util.Utilities#loadImage()

The following examples show how to use org.openide.util.Utilities#loadImage() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BytecodeNode.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
@Override
public Image getIcon(int i) {
    if (nodes != null) {
        return Utilities.loadImage("com/sun/hotspot/igv/bytecodes/images/link.gif");
    } else {
        return Utilities.loadImage("com/sun/hotspot/igv/bytecodes/images/bytecode.gif");
    }
}
 
Example 2
Source File: BytecodeNode.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
@Override
public Image getIcon(int i) {
    if (nodes != null) {
        return Utilities.loadImage("com/sun/hotspot/igv/bytecodes/images/link.gif");
    } else {
        return Utilities.loadImage("com/sun/hotspot/igv/bytecodes/images/bytecode.gif");
    }
}
 
Example 3
Source File: BytecodeNode.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
@Override
public Image getIcon(int i) {
    if (nodes != null) {
        return Utilities.loadImage("com/sun/hotspot/igv/bytecodes/images/link.gif");
    } else {
        return Utilities.loadImage("com/sun/hotspot/igv/bytecodes/images/bytecode.gif");
    }
}
 
Example 4
Source File: BytecodeNode.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
@Override
public Image getIcon(int i) {
    if (nodes != null) {
        return Utilities.loadImage("com/sun/hotspot/igv/bytecodes/images/link.gif");
    } else {
        return Utilities.loadImage("com/sun/hotspot/igv/bytecodes/images/bytecode.gif");
    }
}
 
Example 5
Source File: MethodNode.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Image getIcon(int i) {
    return Utilities.loadImage("com/sun/hotspot/igv/bytecodes/images/method.gif");
}
 
Example 6
Source File: VisualvmOptionsCategory.java    From tda with GNU Lesser General Public License v2.1 4 votes vote down vote up
public Icon getIcon() {
    return new ImageIcon(Utilities.loadImage("net/java/dev/tda/visualvm/resources/options.png"));
}
 
Example 7
Source File: FolderNode.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Image getIcon(int i) {
    return Utilities.loadImage("com/sun/hotspot/igv/coordinator/images/folder.gif");
}
 
Example 8
Source File: MethodNode.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Image getIcon(int i) {
    return Utilities.loadImage("com/sun/hotspot/igv/bytecodes/images/method.gif");
}
 
Example 9
Source File: MethodNode.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Image getIcon(int i) {
    return Utilities.loadImage("com/sun/hotspot/igv/bytecodes/images/method.gif");
}
 
Example 10
Source File: ViewOptionsCategory.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Icon getIcon() {
    return new ImageIcon(Utilities.loadImage("com/sun/hotspot/igv/settings/settings.gif"));
}
 
Example 11
Source File: GraphNode.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Image getIcon(int i) {
    return Utilities.loadImage("com/sun/hotspot/igv/coordinator/images/graph.gif");
}
 
Example 12
Source File: FolderNode.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Image getIcon(int i) {
    return Utilities.loadImage("com/sun/hotspot/igv/coordinator/images/folder.gif");
}
 
Example 13
Source File: AnagramApplicationType.java    From visualvm with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Image getIcon() {
    return Utilities.loadImage("org/graalvm/visualvm/core/ui/resources/snapshot.png", true);
}
 
Example 14
Source File: AnagramApplicationType.java    From visualvm with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Image getIcon() {
    return Utilities.loadImage("org/visualvm/demoapplicationtype/resources/AnagramGame.png", true);
}
 
Example 15
Source File: FolderNode.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Image getIcon(int i) {
    return Utilities.loadImage("com/sun/hotspot/igv/coordinator/images/folder.gif");
}
 
Example 16
Source File: MethodNode.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Image getIcon(int i) {
    return Utilities.loadImage("com/sun/hotspot/igv/bytecodes/images/method.gif");
}
 
Example 17
Source File: ViewOptionsCategory.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Icon getIcon() {
    return new ImageIcon(Utilities.loadImage("com/sun/hotspot/igv/settings/settings.gif"));
}
 
Example 18
Source File: GraphNode.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Image getIcon(int i) {
    return Utilities.loadImage("com/sun/hotspot/igv/coordinator/images/graph.gif");
}
 
Example 19
Source File: FolderNode.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Image getIcon(int i) {
    return Utilities.loadImage("com/sun/hotspot/igv/coordinator/images/folder.gif");
}
 
Example 20
Source File: FolderNode.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Image getIcon(int i) {
    return Utilities.loadImage("com/sun/hotspot/igv/coordinator/images/folder.gif");
}