Why not try null layout and then use setBounds to relocate
the component? I think the downside of null layout is it
could not give a adjustable layout when the resolution is
changed.

Gao Lei.

Chetan Kumar wrote:
> 
> On Sun, 7 Jun 1998, Rani Pinchuk wrote:
> 
> *>Hello.
> *>
> *>I wonder if your problem and other problems like this might be connected
> 
> Yes you are right. In fact I had used awt listbox in JPanel. May be this
> is the cause of all problem.
> 
> Anyhow in general how do I locate Jpanel in Jframe. I mean, say I want
> Jpanel to be in the right hand bottom of my Jframe.
> 
> I try Box layout with adding the Jpanel to Jframe on "East". But this is
> not flexible to me. Tell me any easier method. I hope I hane made my point
> clear
> 
> with Thanks
> Chetan
> 
> *>to mixing of AWT components with Swing components. I had a terrible bug
> *>connected to that - in my bug the repaint and TipTools didn't work.
> *>Apparently this bug is quite "popular" and I found several emails that claimed
> *>(like I thought in the begining) that the problem is in the Swing (which is
> *>wrong).
> *>
> *>You can find all about it in
> *>http://www.kinetica.com/home/pinchuk/java/bug/
> *>You can also find there examples of buggy and fixed code to download.
> *>
> *>I hope this might help.
> *>
> *>Rani.
> *>
> *>On Sun, Jun 07, 1998 at 10:40:31PM +0530, Chetan Kumar wrote:
> *>> Sir,
> *>>              I am using RedHat 5, jdk-1.1.5 and swing-1.0.2.
> *>>              I am not able to relocate or resize j-panel in a frame.
> *>>              I tried setlayout and setsize.But that did not work.Please
> *>>              reply, any help is appreciated.
> *>>                                              Thanks.
> *>> with regards,
> *>>
> *>> chetan . S
> *>>
> *>> E-mail [EMAIL PROTECTED]
> *>>
> *>> WEB PAGE - http://pclab.ece.iisc.ernet.in/chetan
> *>>
> *>> Phone
> *>>     work place
> *>>             (080)3092282
> *>>     res.
> *>>             (080)3349218
> *>>             (080)3347220
> *>>
> *>>
> *>
> *>--
> *>------------------------------------------------------------------------------
> *>    Rani Pinchuk <[EMAIL PROTECTED]>         Tel:  +32-3-326-79-97
> *>    http://www.kinetica.com/home/pinchuk
> *>------------------------------------------------------------------------------
> *>
> 
> chetan . S
> 
> E-mail [EMAIL PROTECTED]
> 
> WEB PAGE - http://pclab.ece.iisc.ernet.in/chetan
> 
> Phone
>         work place
>                 (080)3092282
>         res.
>                 (080)3349218
>                 (080)3347220
begin:          vcard
fn:             Gao Lei
n:              Lei;Gao
org:            StarGlobe
adr:            International Business Park;;#09-02, The Synergy;Singapore;Singaproe;609917;Singapore
email;internet: [EMAIL PROTECTED]
title:          Software Engineer
tel;work:       (0065)6656961
tel;fax:        (0065)6657912
tel;home:       (0065)96937680
x-mozilla-cpt:  ;-29328
x-mozilla-html: FALSE
version:        2.1
end:            vcard

Reply via email to