Article View: borland.public.jbuilder.java.swing
Article #9977Re: How do you import swing components ?
From: John Norgaard
Date: Sat, 04 Dec 1999 00:00
Date: Sat, 04 Dec 1999 00:00
26 lines
1215 bytes
1215 bytes
add a star: import com.sun.java.swing.*; import com.sun.java.swing.table.*; etc.. John Tom Corcoran wrote in message ... > >I want to use swing components in my code. The compiler complains about >these lines: > >import com.sun.java.swing; >import com.sun.java.swing.table; > >It says: 'class com.sun.java.swing not found' > >What do I have to to use swing? My CLASSPATH Environment variable is set up >wrong I suppose (it points to the swing jar and source zip files): > >d:\jdk\classes.zip;.;D:\java\Swing\src.zip;D:\java\Swing\swing.jar > >Thanks >Tom > >
Technical Details
Message-ID:
<eWZ14.33$t5.1228@news020.image.dk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<saz14.2878$o4.1847@news.indigo.ie>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,1923e522fc2c9c1b X-Google-Attributes: gid111d45,public From: "John Norgaard" <norgaard@12move.dk> Subject: Re: How do you import swing components ? Date: 1999/12/04 Message-ID: <eWZ14.33$t5.1228@news020.image.dk> X-Deja-AN: 556445588 References: <saz14.2878$o4.1847@news.indigo.ie> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 X-Complaints-To: news-abuse@wol.dk X-Trace: news020.image.dk 944270090 212.54.83.16 (Sat, 04 Dec 1999 02:14:50 MET) NNTP-Posting-Date: Sat, 04 Dec 1999 02:14:50 MET Newsgroups: borland.public.jbuilder.java.swing