de.matthias_burbach.mosaique.swing
Class SwingHelper

java.lang.Object
  extended byde.matthias_burbach.mosaique.swing.SwingHelper

public final class SwingHelper
extends java.lang.Object

Author:
Matthias Burbach

Method Summary
static javax.swing.ImageIcon createImageIcon(java.lang.String path, java.lang.String description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createImageIcon

public static javax.swing.ImageIcon createImageIcon(java.lang.String path,
                                                    java.lang.String description)
Parameters:
path - The classpath relative path to the image icon.
description - The dexcription of the image icon.
Returns:
An ImageIcon, or null if the path was invalid.


Copyright © 2005-2006 . All Rights Reserved.