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

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

Creates an ImageIcon from the given image at path

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

Definition at line 147 of file Client.java.

References fix::ErrorWindow::setMess().

Referenced by getStartButton().

            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