🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: jpanel and borders stange behauviour

#1349
From: Paul Furbacher
Date: Fri, 16 Jan 2004 19:54
50 lines
2642 bytes
Sven Goetgeluck wrote:

> I have a jpanel where i add a jpanel component to
> but ther is a border around the last panel
> short explanation what i want to do
> 
> a have a buttonpanel where i have put some buttons on it
> this pannel is added to another panel where there is also a jlabel on it so
> i can display tips to the label when i pass the buttons but the anoyong
> thing is that adding a panel to the other panel there is a border around and
> so the buttons arent alignt top to the upper paneltop
> 
> hope this is clear what i mean

Sort of, but not exactly.

> did started when using jdk 1.4 didn't never had it in 1.2
> 
> hereby some code that may help

Actually, it would be more help if the
code were complete, and the barest example
possible.  You presented code which depended
on a lot of things that a reader would have
to guess at.  The code should be such
that a reader could snip it, paste
it into a few files in a new project,
compile and run ... without extensive
editing or imagining.

Try to post the barebones example of
what is going on, if you can.  By working
up such an example, you may discover
what is causing the problem.


-- 


Paul Furbacher (TeamB)

   Save time, search the archives:
        http://www.borland.com/newsgroups/ngsearch.html

   Is it in Joi Ellis's Faq-O-Matic?
        http://www.visi.com/~gyles19/fom-serve/cache/1.html

   Finally, please send responses to the newsgroup only.
   That means, do not send email directly to me.
   Thank you.
Technical Details
Message-ID: <40084176$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40072ea6$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,bdf82a54cfa1b9fa
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-01-16 12:10:27 PST
Date: Fri, 16 Jan 2004 14:54:28 -0500
From: Paul Furbacher <pfurbacher@mac.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: jpanel and borders stange behauviour
References: <40072ea6$1@newsgroups.borland.com>
In-Reply-To: <40072ea6$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 68.39.103.120
Message-ID: <40084176$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074282870 68.39.103.120 (16 Jan 2004 11:54:30 -0700)
Lines: 50
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail