Searched refs:ImageIcon (Results 1 - 25 of 66) sorted by relevance

123

/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DIconManager.java30 import javax.swing.ImageIcon;
42 private static ImageIcon getImage(String img) {
43 return new ImageIcon(JConsole.class.getResource("resources/" + img));
46 private static ImageIcon getSmallIcon(ImageIcon icon) {
47 return new ImageIcon(
H A DXTreeRenderer.java29 import javax.swing.ImageIcon;
49 setIcon((ImageIcon) xmbean.getIcon());
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/action/
H A DActionUtilities.java28 import javax.swing.ImageIcon;
37 public ImageIcon getIcon(String name)
42 return new ImageIcon(url);
H A DActionManager.java30 import javax.swing.ImageIcon;
79 public static ImageIcon getIcon(String name)
/openjdk7/jdk/src/share/classes/sun/swing/
H A DImageIconUIResource.java28 import javax.swing.ImageIcon;
33 * A subclass of <code>ImageIcon</code> that implements UIResource.
38 public class ImageIconUIResource extends ImageIcon implements UIResource {
44 * @see javax.swing.ImageIcon#ImageIcon(byte[])
54 * @see javax.swing.ImageIcon#ImageIcon(Image)
/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DButtonUI.java30 import javax.swing.ImageIcon;
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaButtonCheckBoxUI.java38 protected static final RecyclableSingleton<ImageIcon> sizingIcon = new RecyclableSingleton<ImageIcon>() {
39 protected ImageIcon getInstance() {
40 return new ImageIcon(AquaNativeResources.getRadioButtonSizerImage());
H A DAquaButtonRadioUI.java38 protected static final RecyclableSingleton<ImageIcon> sizingIcon = new RecyclableSingleton<ImageIcon>() {
39 protected ImageIcon getInstance() {
40 return new ImageIcon(AquaNativeResources.getRadioButtonSizerImage());
H A DAquaInternalFrameDockIconUI.java177 if (priorIcon instanceof ImageIcon) {
178 setIcon((ImageIcon)priorIcon);
198 final ImageIcon icon = new ImageIcon(fImage.getScaledInstance((int)(width * scale), -1, Image.SCALE_SMOOTH));
213 final ImageIcon prev = (ImageIcon)getIcon();
214 final ImageIcon pressedIcon = new ImageIcon(AquaUtils.generateSelectedDarkImage(prev.getImage()));
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Settings/src/com/sun/hotspot/igv/settings/
H A DViewOptionsCategory.java27 import javax.swing.ImageIcon;
41 return new ImageIcon(Utilities.loadImage("com/sun/hotspot/igv/settings/settings.gif"));
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/actions/
H A DEnableBlockLayoutAction.java29 import javax.swing.ImageIcon;
42 putValue(AbstractAction.SMALL_ICON, new ImageIcon(org.openide.util.Utilities.loadImage(iconResource())));
H A DOverviewAction.java29 import javax.swing.ImageIcon;
41 putValue(AbstractAction.SMALL_ICON, new ImageIcon(org.openide.util.Utilities.loadImage(iconResource())));
H A DPredSuccAction.java29 import javax.swing.ImageIcon;
42 putValue(AbstractAction.SMALL_ICON, new ImageIcon(org.openide.util.Utilities.loadImage(iconResource())));
H A DNextDiagramAction.java30 import javax.swing.ImageIcon;
50 putValue(Action.SMALL_ICON, new ImageIcon(Utilities.loadImage("com/sun/hotspot/igv/view/images/next_diagram.png")));
H A DPrevDiagramAction.java30 import javax.swing.ImageIcon;
50 putValue(Action.SMALL_ICON, new ImageIcon(Utilities.loadImage("com/sun/hotspot/igv/view/images/prev_diagram.png")));
/openjdk7/jdk/src/share/classes/javax/swing/
H A DImageIcon.java69 public class ImageIcon implements Icon, Serializable, Accessible { class in inherits:Icon,Serializable,Accessible
139 * Creates an ImageIcon from the specified file. The image will
144 * @see #ImageIcon(String)
146 public ImageIcon(String filename, String description) { method in class:ImageIcon
157 * Creates an ImageIcon from the specified file. The image will
166 * new ImageIcon("images/myImage.gif") </pre>
173 public ImageIcon (String filename) { method in class:ImageIcon
178 * Creates an ImageIcon from the specified URL. The image will
183 * @see #ImageIcon(String)
185 public ImageIcon(UR method in class:ImageIcon
204 public ImageIcon (URL location) { method in class:ImageIcon
213 public ImageIcon(Image image, String description) { method in class:ImageIcon
226 public ImageIcon (Image image) { method in class:ImageIcon
248 public ImageIcon (byte[] imageData, String description) { method in class:ImageIcon
273 public ImageIcon (byte[] imageData) { method in class:ImageIcon
288 public ImageIcon() { method in class:ImageIcon
[all...]
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/ui/
H A DSplashScreen.java29 import javax.swing.ImageIcon;
41 screen = new ImageIcon(url);
84 private ImageIcon screen;
/openjdk7/jdk/src/share/demo/jfc/SampleTree/
H A DSampleTreeCellRenderer.java43 import javax.swing.ImageIcon;
61 protected static ImageIcon collapsedIcon;
63 protected static ImageIcon expandedIcon;
79 collapsedIcon = new ImageIcon(SampleTreeCellRenderer.class.
81 expandedIcon = new ImageIcon(SampleTreeCellRenderer.class.
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DInternalDialog.java71 private ImageIcon leftIcon =
72 new ImageIcon(InternalDialog.class.getResource("resources/masthead-left.png"));
73 private ImageIcon rightIcon =
74 new ImageIcon(InternalDialog.class.getResource("resources/masthead-right.png"));
H A DAboutDialog.java105 ImageIcon brandLogoIcon = new ImageIcon(getClass().getResource("resources/brandlogo.png"));
/openjdk7/jdk/test/javax/swing/JSlider/4987336/
H A Dbug4987336.java88 ImageIcon enabledIcon = enabledImage == null ? null :
89 new ImageIcon(bug4987336.class.getResource(enabledImage));
91 ImageIcon disabledIcon = disabledImage == null ? null :
92 new ImageIcon(bug4987336.class.getResource(disabledImage));
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/table/
H A DSortHeaderCellRenderer.java62 public ImageIcon getIcon(String name) {
66 return new ImageIcon(url);
/openjdk7/jdk/test/javax/swing/JButton/6604281/
H A Dbug6604281.java59 // Use IconUIResource as an icon, because with ImageIcon bug is not reproduced
60 JButton button1 = new JButton(new IconUIResource(new ImageIcon(image)));
62 JButton button2 = new JButton(new IconUIResource(new ImageIcon(image)));
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Coordinator/src/com/sun/hotspot/igv/coordinator/actions/
H A DStructuredViewAction.java45 import javax.swing.ImageIcon;
75 ImageIcon icon = new ImageIcon(iconImage);
108 new ImageIcon(
/openjdk7/jdk/test/javax/swing/text/html/TableView/7030332/
H A Dbug7030332.java91 new JLabel(new ImageIcon(resource), SwingConstants.LEFT));

Completed in 421 milliseconds

123