Article View: borland.public.jbuilder.java.swing
Article #10705SV: Swing question
From: Johan Forsberg
Date: Fri, 20 Aug 1999 00:00
Date: Fri, 20 Aug 1999 00:00
21 lines
1380 bytes
1380 bytes
Gemplus Software <gemplus.software@gemplus.com> skrev i diskussionsgruppsmeddelandet:37BD0D0B.E142C0AF@gemplus.com... > Hello, > > I think that Swing component (JFC) don't use the UI of the OS underlying > like AWT. Is it true or false ??? True. > In case of true, why, for example, JFrame is extented from Frame which is > based on the java.awt package ??? Windows are a special case. Swing can't just draw something window shaped on top of the Windows backdrop and expect that to work, can it? :-) Therefore JFrame and JDialog are both heavyweight (they have native peers). What really seperates them from Frame and Dialog is that they are more prepared to contain lightweight components. For instance, JFrame manages the space for a lightweight JMenu and has a glassPane for lightweight JToolTips and popups.
Technical Details
Message-ID:
<7pj8p0$7b313@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37BD0D0B.E142C0AF@gemplus.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,7848940a345add8b X-Google-Attributes: gid111d45,public From: "Johan Forsberg" <jfo@SPAM_SPAM_EGGS_SPAMstmf.se> Subject: SV: Swing question Date: 1999/08/20 Message-ID: <7pj8p0$7b313@forums.borland.com> X-Deja-AN: 515051989 References: <37BD0D0B.E142C0AF@gemplus.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing