Article View: borland.public.jbuilder.java.swing
Article #12820problem compiling java swing
From: Kevin Ruggiero
Date: Tue, 03 Nov 1998 00:00
Date: Tue, 03 Nov 1998 00:00
28 lines
1339 bytes
1339 bytes
I'm trying to compile an applet that is using the JTable class.
However, I'm having a rather annoying problem with the compiler. My
file looks something like this:
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import com.sun.java.swing.*;
//import com.sun.java.swing.UIManager;
public class client extends Applet {
boolean isStandalone = false;
JTable jTable1 = new JTable();
.
.
.
Anyway, the error I'm getting is this:
Error: (21) class JTable not found in class client.
Why is this? By looking at the docs, that file is in
com.sun.java.swing. I'm using JBuilder 2.0, with Swing 1.0.1. I've
also tried compiling using javax.swing.*, and com.sun.java.swing.table.*
(which I saw in a book), but all to no avail. Can someone please help?
Thanks!
Kevin Ruggiero
kdr@cse.Buffalo.EDU
Technical Details
Message-ID:
<363FB9C8.6AB898CE@Buffalo.EDU>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,3974ac123b63bd02,start X-Google-Attributes: gid111d45,public From: Kevin Ruggiero <kdr@Buffalo.EDU> Subject: problem compiling java swing Date: 1998/11/03 Message-ID: <363FB9C8.6AB898CE@Buffalo.EDU> X-Deja-AN: 408148379 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: University at Buffalo Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing