wt.manager
Class IncompatibleCodebaseWarning

java.lang.Object
  extended bywt.manager.IncompatibleCodebaseWarning
All Implemented Interfaces:
Runnable

public class IncompatibleCodebaseWarning
extends Object
implements Runnable

Class that displays a modal dialog warning when the client codebase and the server codebase appear incompatible.


Field Summary
private  String localVersion
           
private static String RESOURCE
           
private  String serverVersion
           
private static String versionID
           
 
Constructor Summary
private IncompatibleCodebaseWarning(String local_version, String server_version)
           
 
Method Summary
private static String getTitle()
           
private static String getWarning(String local_version, String server_version)
           
 void run()
          Construct and show modal warning dialog.
static void show(String local_version, String server_version)
          Start a thread to construct and show modal warning dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values

RESOURCE

private static String RESOURCE

localVersion

private String localVersion

serverVersion

private String serverVersion
Constructor Detail

IncompatibleCodebaseWarning

private IncompatibleCodebaseWarning(String local_version,
                                    String server_version)
Method Detail

show

public static void show(String local_version,
                        String server_version)
Start a thread to construct and show modal warning dialog. If caller is not an applet, warning is printed to System.err.


run

public void run()
Construct and show modal warning dialog.

Specified by:
run in interface Runnable

getWarning

private static String getWarning(String local_version,
                                 String server_version)

getTitle

private static String getTitle()