fr.ens.transcriptome.doelan.gui
Class CommonWindow

java.lang.Object
  extended byfr.ens.transcriptome.doelan.gui.CommonWindow

public class CommonWindow
extends java.lang.Object

Common GUI for applet and normal application.

Author:
Laurent jourdren TODO modify the about information to use Globals TODO update directory and file management

Constructor Summary
CommonWindow(java.applet.Applet applet, java.net.URL testSuiteListURL)
          Public constructor for applet mode.
CommonWindow(javax.swing.JFrame frame, java.net.URL testSuiteListURL)
          Public constructor for standalone mode.
 
Method Summary
 void init()
          Initiatilze the application.
 void setContainer(java.awt.Container container)
          Set the Graphical Container.
static void showMessage(java.lang.String message, boolean error)
          Show a message to the user.
static void showStatusBarMessage(java.lang.String message)
          Set the message for the status bar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonWindow

public CommonWindow(java.applet.Applet applet,
                    java.net.URL testSuiteListURL)
Public constructor for applet mode.

Parameters:
applet - The main applet
testSuiteListURL - URL of the testsuite list

CommonWindow

public CommonWindow(javax.swing.JFrame frame,
                    java.net.URL testSuiteListURL)
Public constructor for standalone mode.

Parameters:
frame - The main frame
testSuiteListURL - URL of the testsuite list
Method Detail

setContainer

public void setContainer(java.awt.Container container)
Set the Graphical Container.

Parameters:
container - The container to set

showMessage

public static void showMessage(java.lang.String message,
                               boolean error)
Show a message to the user.

Parameters:
message - Message to show
error - true if message is an error

showStatusBarMessage

public static void showStatusBarMessage(java.lang.String message)
Set the message for the status bar.

Parameters:
message - Message to set

init

public void init()
Initiatilze the application.



Copyright © 2004-2005 École Normale Supérieure Microarray Platform. All Rights Reserved.