/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/ |
H A D | IconManager.java | 30 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 D | XTreeRenderer.java | 29 import javax.swing.ImageIcon; 49 setIcon((ImageIcon) xmbean.getIcon());
|
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/action/ |
H A D | ActionUtilities.java | 28 import javax.swing.ImageIcon; 37 public ImageIcon getIcon(String name) 42 return new ImageIcon(url);
|
H A D | ActionManager.java | 30 import javax.swing.ImageIcon; 79 public static ImageIcon getIcon(String name)
|
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | ImageIconUIResource.java | 28 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 D | ButtonUI.java | 30 import javax.swing.ImageIcon;
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaButtonCheckBoxUI.java | 38 protected static final RecyclableSingleton<ImageIcon> sizingIcon = new RecyclableSingleton<ImageIcon>() { 39 protected ImageIcon getInstance() { 40 return new ImageIcon(AquaNativeResources.getRadioButtonSizerImage());
|
H A D | AquaButtonRadioUI.java | 38 protected static final RecyclableSingleton<ImageIcon> sizingIcon = new RecyclableSingleton<ImageIcon>() { 39 protected ImageIcon getInstance() { 40 return new ImageIcon(AquaNativeResources.getRadioButtonSizerImage());
|
H A D | AquaInternalFrameDockIconUI.java | 177 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 D | ViewOptionsCategory.java | 27 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 D | EnableBlockLayoutAction.java | 29 import javax.swing.ImageIcon; 42 putValue(AbstractAction.SMALL_ICON, new ImageIcon(org.openide.util.Utilities.loadImage(iconResource())));
|
H A D | OverviewAction.java | 29 import javax.swing.ImageIcon; 41 putValue(AbstractAction.SMALL_ICON, new ImageIcon(org.openide.util.Utilities.loadImage(iconResource())));
|
H A D | PredSuccAction.java | 29 import javax.swing.ImageIcon; 42 putValue(AbstractAction.SMALL_ICON, new ImageIcon(org.openide.util.Utilities.loadImage(iconResource())));
|
H A D | NextDiagramAction.java | 30 import javax.swing.ImageIcon; 50 putValue(Action.SMALL_ICON, new ImageIcon(Utilities.loadImage("com/sun/hotspot/igv/view/images/next_diagram.png")));
|
H A D | PrevDiagramAction.java | 30 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 D | ImageIcon.java | 69 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 D | SplashScreen.java | 29 import javax.swing.ImageIcon; 41 screen = new ImageIcon(url); 84 private ImageIcon screen;
|
/openjdk7/jdk/src/share/demo/jfc/SampleTree/ |
H A D | SampleTreeCellRenderer.java | 43 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 D | InternalDialog.java | 71 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 D | AboutDialog.java | 105 ImageIcon brandLogoIcon = new ImageIcon(getClass().getResource("resources/brandlogo.png"));
|
/openjdk7/jdk/test/javax/swing/JSlider/4987336/ |
H A D | bug4987336.java | 88 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 D | SortHeaderCellRenderer.java | 62 public ImageIcon getIcon(String name) { 66 return new ImageIcon(url);
|
/openjdk7/jdk/test/javax/swing/JButton/6604281/ |
H A D | bug6604281.java | 59 // 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 D | StructuredViewAction.java | 45 import javax.swing.ImageIcon; 75 ImageIcon icon = new ImageIcon(iconImage); 108 new ImageIcon(
|
/openjdk7/jdk/test/javax/swing/text/html/TableView/7030332/ |
H A D | bug7030332.java | 91 new JLabel(new ImageIcon(resource), SwingConstants.LEFT));
|