Article View: borland.public.jbuilder.java.swing
Article #11238Re: import package names
From: Tor Iver Wilhelmsen
Date: Mon, 21 Jun 1999 00:00
Date: Mon, 21 Jun 1999 00:00
19 lines
1348 bytes
1348 bytes
Sam King <samcking@olypen.com> writes:
> Can anyone point me to a reference for the new names of import packages
> for the JBuilder3? For instance, all of the texts books I have import
> packages: com.sun.java.awt.swing.... like plaf.motif.* or plaf.windows.*
> and others. Some of these work with import javax.swing.... but not all
> of them, motif and windows being two that don't work. Where is the list
> changes for all of these import statments? Without it we can throw away
> all of these Java 1.2 and Swing text books.
Short rule goes like this:
1) The bits that are actual parts of the extension are in
javax.swing.*
2) The parts that are Sun-specific - platform-dependent look and
feels, mostly - are in the company hierarchy.
So: com.sun.java.swing.plaf.{motif,windows,mac}.* are not in
javax.swing because they're tied to their particular platforms.
Technical Details
Message-ID:
<upv2qnjv1.fsf@sds.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<376D327E.7A4BE96A@olypen.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,5c8ec89f66e459fc X-Google-Attributes: gid111d45,public From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Subject: Re: import package names Date: 1999/06/21 Message-ID: <upv2qnjv1.fsf@sds.no> X-Deja-AN: 491992753 Sender: towi@SDSA1761 References: <376D327E.7A4BE96A@olypen.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing