[5162] in java-interest
AWT causing APPLICATION ERROR
daemon@ATHENA.MIT.EDU (Mike Williams)
Tue Jan 30 14:38:10 1996
From: "Mike Williams" <mikew@harlequin.co.uk>
To: java-interest@java.sun.com
Date: Tue, 30 Jan 1996 18:25:24 +0000
Reply-To: mikew@harlequin.co.uk
Hi all,
I have a simple class as part of getting-to-know AWT as follows
import java.awt.*;
import java.lang.*;
public class TestPlot extends Frame {
static final int HORIZONTAL_SIZE = 300;
static final int VERTICAL_SIZE = 300;
public void paint(
Graphics g)
{
System.out.println("In paint");
}
public TestPlot()
{
super("TestPlot");
System.out.println("In TestPlot");
pack();
resize(HORIZONTAL_SIZE, VERTICAL_SIZE);
show();
System.out.println("Out TestPlot");
}
public static void main(
String args[])
{
System.out.println("In main");
new TestPlot();
}
}
As you can see, nothing amazing. It has compiled up ok, but when I run it I
get an Application Error. I am runing NT3.51 with SP3, and have tried it with
both the beta 2 and 1.0 release with the same effect (and yes I have reset my
classpath variable).
The only other thing of note is that I installed Netscape Gold 2 Beta today,
and now a lot of web page applets are causing the same problem. Could it have
installed something on the search path that Java uses?
Has anyone else seen this? Sun's Java pages aren't available at the moment.
Mike.
________________________________________________________________________________
Michael R. Williams, Harlequin Limited, tel/fax: (+44/0) 1625 588010/588049
Floor 2 Queen's Court, Wilmslow Road, email: mikew@harlequin.co.uk
Alderley Edge, Cheshire SK9 7QD
http://www.harlequin.co.uk ---> All opinions are *mine* <---
Rule #1: Don't leave any fun in the Bank when you die.
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com