🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11850

Re: NullPointerException, when Using JTextField with JMenuBar

#11850
From: Tor Iver Wilhelmsen
Date: Tue, 06 Apr 1999 00:00
8 lines
828 bytes
"Timothy Mulle'" <tmulle@fcg.com> writes:

> So, make sure that all your menu items in your JMenuBar have items under
> them.

Or replace it with a JMenuItem instead of an empty JMenu - though for
some reason, JMenuItems added in a JMenuBar don't appear to trigger -
at least not in Swing 1.03.
Technical Details
Message-ID: <ubth2gk9v.fsf@sds.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7e7t4e$lts1@forums.borland.com> <7eak4h$ocg4@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: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Subject: Re: NullPointerException, when Using JTextField with JMenuBar
Date: 1999/04/06
Message-ID: <ubth2gk9v.fsf@sds.no>
X-Deja-AN: 463187403
Sender: towi@SDSA1761
References: <7e7t4e$lts1@forums.borland.com> <7eak4h$ocg4@forums.borland.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing