Article View: borland.public.jbuilder.java.swing
Article #12266problem on using JMenuBar
From: weimin wu
Date: Mon, 25 Jan 1999 00:00
Date: Mon, 25 Jan 1999 00:00
44 lines
2229 bytes
2229 bytes
Hello, I have an applet that using JmenuBar and Two JTextField. When I run it in AppletView and key in Text into a JTextField, I got following messages.( Applet works fine, but a little bit slow as it outputs the messages). Anybody can tell me what is wrong with the applet.(there is no redefined HotKey). thanks. wu Exception occurred during event dispatching: java.lang.NullPointerException at com.sun.java.swing.JMenuBar.bindingForKeyStrokeRecursive(Compiled Code) at com.sun.java.swing.JMenuBar.bindingForKeyStrokeRecursive(Compiled Code) at com.sun.java.swing.JMenuBar.bindingForKeyStroke(JMenuBar.java:532) at com.sun.java.swing.JComponent.processKeyBinding(Compiled Code) at com.sun.java.swing.JComponent.processKeyBindingsForAllComponents(Compiled Code) at com.sun.java.swing.JComponent.processKeyBindingsForAllComponents(Compiled Code) at com.sun.java.swing.JComponent.processKeyBindingsForAllComponents(Compiled Code) at at com.sun.java.swing.JComponent.processKeyBindings(Compiled Code) at com.sun.java.swing.JComponent.processKeyEvent(Compiled Code) at java.awt.Component.processEvent(Compiled Code) at java.awt.Container.processEvent(Compiled Code) at java.awt.Component.dispatchEventImpl(Compiled Code) at java.awt.Container.dispatchEventImpl(Compiled Code) at java.awt.Component.dispatchEvent(Compiled Code) at java.awt.LightweightDispatcher.processKeyEvent(Container.java:1421) at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code) at java.awt.Container.dispatchEventImpl(Compiled Code) at java.awt.Component.dispatchEvent(Compiled Code) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Technical Details
Message-ID:
<36AD2C5D.430DDD06@784.hypermart.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,4085bebcd0015c27,start X-Google-Attributes: gid111d45,public From: weimin wu <Japan@784.hypermart.net> Subject: problem on using JMenuBar Date: 1999/01/25 Message-ID: <36AD2C5D.430DDD06@784.hypermart.net> X-Deja-AN: 436932393 Content-Transfer-Encoding: 7bit X-Accept-Language: zh-CN,zh,zh-TW Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing