Article View: comp.lang.java.gui
Article #24NullPointerException???!!!
From: Daniel
Date: Fri, 19 Mar 1999 00:00
Date: Fri, 19 Mar 1999 00:00
71 lines
2969 bytes
2969 bytes
Hi, I've problems to run an applet with netscape4.5 JDK1.1.2 Plugin. I'm working with JBuilder1. Netscape only show me a part of the headbar, but not the whole GUI-frame, what can be wrong? Here are the html-File and the JavaConsoleWindow. If anybody can help me, thanks a lot. Daniel html-file: <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="GENERATOR" CONTENT="Mozilla/4.05 [en] (WinNT; I) [Netscape]"> <TITLE>HTML Test Page </TITLE> </HEAD> <BODY> The Graphical-User-Interface will appear below in a Java enabled browser. <BR><APPLET CODEBASE = "myclasses/archive" ARCHIVE = "jbcl-rt.zip, jclass.zip, jgl.zip" CODE = "GUI.class" NAME = "TestApplet" WIDTH = 400 HEIGHT = 300 HSPACE = 0 VSPACE = 0 ALIGN = middle ></APPLET> </BODY> </HTML> JavaConsoleWindow: java.lang.NullPointerException at sun.awt.windows.WToolkit.prepareScrImage(Compiled Code) at sun.awt.windows.WToolkit.prepareImage(Compiled Code) at java.awt.Component.prepareImage(Compiled Code) at java.awt.Component.prepareImage(Compiled Code) at borland.jbcl.control.ImageControl.setupImage(Compiled Code) at borland.jbcl.control.ImageControl.setImageName(Compiled Code) * at Login.jbInit(Compiled Code) at Login.<init>(Compiled Code) at GUI.start(Compiled Code) at netscape.applet.DerivedAppletFrame$StartAppletEvent.dispatch(Compiled Code) at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code) at java.awt.EventDispatchThread.run(Compiled Code) at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)
Technical Details
Message-ID:
<36F20F5B.DE833ED8@Alcatel.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10fd6d,68c7736befaeba8d,start X-Google-Attributes: gid10fd6d,public X-Google-Thread: f5d71,68c7736befaeba8d,start X-Google-Attributes: gidf5d71,public X-Google-Thread: 104d14,68c7736befaeba8d,start X-Google-Attributes: gid104d14,public X-Google-Thread: fbe9c,68c7736befaeba8d,start X-Google-Attributes: gidfbe9c,public X-Google-Thread: f74b3,68c7736befaeba8d,start X-Google-Attributes: gidf74b3,public X-Google-Thread: 10a146,68c7736befaeba8d,start X-Google-Attributes: gid10a146,public From: Daniel <deckmann@Alcatel.de> Subject: NullPointerException???!!! Date: 1999/03/19 Message-ID: <36F20F5B.DE833ED8@Alcatel.de> X-Deja-AN: 456426391 Content-Transfer-Encoding: 7bit X-Accept-Language: de Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@ks.sel.alcatel.de X-Trace: sls7ag.stgl.sel.alcatel.de 921833306 2867 149.204.204.73 (19 Mar 1999 08:48:26 GMT) Organization: Alcatel SEL AG Mime-Version: 1.0 Reply-To: deckmann@informatik.ba-stuttgart.de NNTP-Posting-Date: 19 Mar 1999 08:48:26 GMT Newsgroups: comp.lang.java.gui,alt.lang.java,borland.public.jbuilder.java,borland.public.jbuilder.java.language,comp.lang.java,comp.lang.java.programmer