🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Swnig components

#12466
From: Klaus Friedel
Date: Wed, 06 Jan 1999 00:00
21 lines
1099 bytes

Tarryn Smith schrieb:

> Hello,
> I'm doing a project in java using jbuilder and I used a swing
> component "jcombobox" to add my drop down list's items.
> Problem is I can't seem to add items to the jcombobox,
> Its is currently standing empty and i need to find out  how to add
> items to my drop down box.
>

I had the same problem.
After changing the underlaying Frame from
borland.jbcl.control.DecoratedFrame
to com.sun.java.JFrame and adjusting the add() Methods to
getContentPane().add()
everything worked.

Bye,
K.Friedel
Technical Details
Message-ID: <3693323C.6559B874@topmail.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <76uv0m$cdn3@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,445d9156cae468a7
X-Google-Attributes: gid111d45,public
From: Klaus Friedel <friedel@topmail.de>
Subject: Re: Swnig components
Date: 1999/01/06
Message-ID: <3693323C.6559B874@topmail.de>
X-Deja-AN: 429836318
Content-Transfer-Encoding: 7bit
References: <76uv0m$cdn3@forums.borland.com>
X-Accept-Language: de
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing