Constructor ImageIcon(URL location, String description)
Member of: javax.swing.ImageIcon
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 ImageIcon icon = new ImageIcon(location, panel.getName());
2 pane1.add(new JLabel(new ImageIcon(ClassLoader.getSystemResource(logo()),"JMRI logo"), JLabel.LEFT));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.