| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
Date: Wed, 1 Nov 1995 21:16:03 -0700 From: garya@village.org (Gary Aitken) To: java-interest@java.sun.com Using alpha3 on win95, If I try to instantiate a Frame as follows: wserver = new WServer(); wserver.start(); main_win = new Frame( wserver, true, false, null, 200, 200, null ); I get the following message: Exception in thread "main" java.lang.NullPointerException at awt.Frame.<init>(F:\ws\liveoak.porting\src\share\awt\awt\Frame.java:72) at MyApp.MyApp.main(C:\GARYA\JAVA\Test\MyApp\MyApp.java:22) If I try the following: wserver = new WServer(); main_win = new Frame( wserver, true, false, null, 200, 200, null ); I get: Exception in thread "main" java.lang.UnsatisfiedLinkException frameCreate at awt.Frame.<init>(F:\ws\liveoak.porting\src\share\awt\awt\Frame.java:72) at MyApp.MyApp.main(C:\GARYA\JAVA\Test\MyApp\MyApp.java:21) It appears to be trying to grab something from the sun source site used to port this. What's going on? What am I doing wrong? It has found the classes ok, since new WServer gets instantiated ok. Finally, what is ../alpha3/hotjava/lib/javai.lib and what uses it? Gary Aitken garya@village.org - This message was sent to the java-interest mailing list Info: send 'help' to java-interest-request@java.sun.com
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |