Article View: borland.public.jbuilder.java.swing
Article #8362Re: Error :Package javax.swing not found in import.
From: Adelard R
Date: Thu, 28 Sep 2000 00:00
Date: Thu, 28 Sep 2000 00:00
75 lines
3243 bytes
3243 bytes
This is a multi-part message in MIME format.
------=_NextPart_000_0055_01C02901.BACEB930
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Friends, could anyone know what i am missing on my JDK1.2.1 compiler. In =
1
of 2 errors, it says that the Package javax.swing can't be found in
import. But i know i declared on the beginning of my program the swing
package (import javax.swing.*;)
Below is the errors i get when compiling my TableDisplay.java program =
and
an access database.
C:\jdk1.2.1\ch18\fig18_24>javac TableDisplay.java
TableDisplay.java:5: Package javax.swing not found in import.
import javax.swing.*;
^
TableDisplay.java:10: Superclass JFrame of class TableDisplay not found.
public class TableDisplay extends JFrame {
^
2 errors
Adelard R
Adelard.Rubangura@unisys.com
------=_NextPart_000_0055_01C02901.BACEB930
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV>
<P><FONT face=3DArial size=3D2>Friends, could anyone know what i am =
missing on my=20
JDK1.2.1 compiler. In 1<BR>of 2 errors, it says that =
the =20
Package javax.swing can't be found in<BR>import. But i know i =
declared on=20
the beginning of my program the swing<BR>package (import=20
javax.swing.*;)<BR><BR> Below is the errors i get when compiling my =
TableDisplay.java program and<BR>an access=20
database.<BR><BR><BR>C:\jdk1.2.1\ch18\fig18_24>javac=20
TableDisplay.java<BR>TableDisplay.java:5: Package javax.swing not found =
in=20
import.<BR>import javax.swing.*;<BR> =
^<BR>TableDisplay.java:10: Superclass JFrame of class TableDisplay not=20
found.<BR>public class TableDisplay extends JFrame=20
{<BR> &n=
bsp; &nb=
sp; =20
^<BR>2 errors<BR><BR><BR>Adelard R<BR></FONT><A=20
href=3D"mailto:Adelard.Rubangura@unisys.com"><FONT face=3DArial=20
size=3D2>Adelard.Rubangura@unisys.com</FONT></A><BR><BR><BR></P></DIV></B=
ODY></HTML>
------=_NextPart_000_0055_01C02901.BACEB930--
Technical Details
Message-ID:
<8qtuj302agg@enews1.newsguy.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,3ef5a3bd7a7fe6d9,start X-Google-Attributes: gid111d45,public From: "Adelard R" <postmaster@ishop-usa.com> Subject: Re: Error :Package javax.swing not found in import. Date: 2000/09/28 Message-ID: <8qtuj302agg@enews1.newsguy.com> X-Deja-AN: 674919590 X-Priority: 3 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0055_01C02901.BACEB930" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Organization: unisys X-MSMail-Priority: Normal Mime-Version: 1.0 Reply-To: "Adelard R" <postmaster@ishop-usa.com> Newsgroups: borland.public.jbuilder.java.swing