Article View: borland.public.jbuilder.java.swing
Article #11847Re: NullPointerException, when Using JTextField with JMenuBar
From: Timothy Mulle'
Date: Mon, 05 Apr 1999 00:00
Date: Mon, 05 Apr 1999 00:00
25 lines
1287 bytes
1287 bytes
We had this happen in our app, and I noticed that if you have ANY menu item that doesn't have any subitems it causes this error. So, make sure that all your menu items in your JMenuBar have items under them. - Tim Timothy G. Mulle' Java Consultant FCG's Integrated Systems Consulting Group Voice: (610) 989-3431 Email: tmulle@fcg.com Sun Microsystems Java 1.1 Certified Khurram Shakir <kshakir@prosys.com.pk> wrote in message news:7e7t4e$lts1@forums.borland.com... > when ever I typed any charecter in the JText field, the > NullPointerExceptions throws, this is not happened when I remove JMenuBar, > or replace JTextField with AWT TextField, why this happens... > regards, > Khurram > >
Technical Details
Message-ID:
<7eak4h$ocg4@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7e7t4e$lts1@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,5b0b4e75e37b1774 X-Google-Attributes: gid111d45,public From: "Timothy Mulle'" <tmulle@fcg.com> Subject: Re: NullPointerException, when Using JTextField with JMenuBar Date: 1999/04/05 Message-ID: <7eak4h$ocg4@forums.borland.com> X-Deja-AN: 462891816 References: <7e7t4e$lts1@forums.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing