Logo Search packages:      
Sourcecode: fex version File versions  Download package

ImageIcon fix::AppletFrame::createImageIcon ( String  path,
String  description 
) [inline, private]

Creates an instance of ImageIcon using the path and a description.

path The path where the image is located.
description The image description.
Icon loaded from path.

Definition at line 637 of file AppletFrame.java.

References fix::ErrorWindow::setMess().

Referenced by getMainMenuBar(), and getSendButton().

            URL imgURL = getClass().getResource(path);
            if (imgURL != null) {
                  return new ImageIcon(imgURL, description);
            } else {
                  er.setMess("Couldn't find file: " + path, null);
                  return null;

Generated by  Doxygen 1.6.0   Back to index