Article View: borland.public.jbuilder.java.swing
Article #11714Re: JInternalFrame - Components on the frame overlapping with other frames
From: Jeff Carlson
Date: Wed, 21 Apr 1999 00:00
Date: Wed, 21 Apr 1999 00:00
34 lines
1823 bytes
1823 bytes
This sounds like a classic case of mixing heavyweight and lightweight controls and expecting them to play together nicely (they don't and never will). See: http://java.sun.com/products/jfc/tsc/archive/tech_topics_arch/mixing/mixing. html for details. This is an article from the SwingConenction called Mixing heavy and light components. Especially look at the section titled "Swing's JInternalFrame component." It even has a graphic of exactly what you are describing. The solution is to find a lightweight version of the heavyweight control you are using. JeffC Paul Franks (TeamB) <supportinfo@inprise.com> wrote in message news:MPG.11867c5b560d2685989ba6@forums.inprise.com... > bscc9808@students.itsligo.ie says... > // The problem on runtime is that the Contols on a underlying > // JInternalFrame (the Frame which hasn't got the focus) overlap with a > // JInternalFrame that has got the focus (i.e was dragged with the mouse on > // top of the underlying JInternalFrame) . > // > > Two guesses... you have the z-order wrong, or you need to switch to a > portable layout instead of x-y layout. Maybe you even need both > approaches. > > -- > pf
Technical Details
Message-ID:
<7fl46u$d7u5@mascagni.pfizer.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<371C567B.4877059A@students.itsligo.ie> <MPG.11867c5b560d2685989ba6@forums.inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,a54d2d4319f67784 X-Google-Attributes: gid111d45,public From: "Jeff Carlson" <Jeffrey_F_Carlson@groton.pfizer.com> Subject: Re: JInternalFrame - Components on the frame overlapping with other frames Date: 1999/04/21 Message-ID: <7fl46u$d7u5@mascagni.pfizer.com> X-Deja-AN: 469224223 References: <371C567B.4877059A@students.itsligo.ie> <MPG.11867c5b560d2685989ba6@forums.inprise.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Pfizer Inc. X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing