🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help:panel being blank!

#12765
From: Ross M. Dukeshier
Date: Sat, 14 Nov 1998 00:00
21 lines
1431 bytes
ALTA Analytics wrote:
> 
> I'm having a very weired problem.
>  I am using JBuilder2.0 and using designer built a JPanel.  a SplitPanel (
> a JBCL component) on the Center and inside it one JPanel is  a BorderLayout
> and the other is XYLayout with some swing componet in each one. They all
> look all right in the design view.
>  When I run  an application which added the Panel, it did not show up.the
> whole thing is blank!
> Does anybody come across the same problem?
> Thanks!
> Pan
Don't know if it relates, but I found that when you have a frame class
with its layout set (and some components on it) and then you sub-class
that class and set its layout as well, the components from the
super-class don't appear.  You may be having a similar problem.  Make
sure the layout for the panel is set only once...

Hope it helps.

Ross Dukeshier
Technical Details
Message-ID: <364D2506.47A8@flash.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01be0289$2074e760$1ad812c7@jpan>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,a58f25f26ceaf4eb
X-Google-Attributes: gid111d45,public
From: "Ross M. Dukeshier" <dukeman@flash.net>
Subject: Re: Help:panel being blank!
Date: 1998/11/14
Message-ID: <364D2506.47A8@flash.net>
X-Deja-AN: 411714343
Content-Transfer-Encoding: 7bit
References: <01be0289$2074e760$1ad812c7@jpan>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: dukeman@pop.flash.net
Newsgroups: borland.public.jbuilder.java.swing