/**
* Checks if java version is >= 1.4, sets application title and icon, as
* well as logo icon.
*/
static
{
try
{
String vers = System.getProperty("java.version");
if (vers.compareTo("1.4") < 0)
{
System.out.println("!!!WARNING: JaWE must be run with a " +
"1.4 or higher version VM!!!");
System.exit(1);
}
}
catch (Throwable t)
{
System.err.println("uncaught exception: " + t);
t.printStackTrace();
}
}