org.opensourcephysics.ejs.control
Class Utils

java.lang.Object
  extended by org.opensourcephysics.ejs.control.Utils

public class Utils
extends java.lang.Object

Some utility functions


Constructor Summary
Utils()
           
 
Method Summary
static boolean fileExists(java.lang.String _codebase, java.lang.String _filename)
           
static boolean fileExistsInJar(java.lang.String _codebase, java.lang.String _jarFile, java.lang.String _filename)
           
static javax.swing.ImageIcon icon(java.lang.String _codebase, java.lang.String _gifFile)
           
static javax.swing.ImageIcon icon(java.lang.String _codebase, java.lang.String _gifFile, boolean _verbose)
           
static javax.swing.ImageIcon iconJar(java.lang.String _codebase, java.lang.String _jarFile, java.lang.String _gifFile, boolean _verbose)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

fileExists

public static boolean fileExists(java.lang.String _codebase,
                                 java.lang.String _filename)

fileExistsInJar

public static boolean fileExistsInJar(java.lang.String _codebase,
                                      java.lang.String _jarFile,
                                      java.lang.String _filename)

icon

public static javax.swing.ImageIcon icon(java.lang.String _codebase,
                                         java.lang.String _gifFile)

icon

public static javax.swing.ImageIcon icon(java.lang.String _codebase,
                                         java.lang.String _gifFile,
                                         boolean _verbose)

iconJar

public static javax.swing.ImageIcon iconJar(java.lang.String _codebase,
                                            java.lang.String _jarFile,
                                            java.lang.String _gifFile,
                                            boolean _verbose)