 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Chris Guest
|
Posted: Wed Dec 17, 2003 4:16 pm Post subject: problem compiling with AbstractCellEditor |
|
|
Hi,
I'm new to Java and I am working on an applet which
will have a JTable. One of the columns in the table
will be a button. I am using the TableDialogEditDemo
example from the Java tutorial as a guide.
I am having a problem compiling my ButtonEditor
class which extends AbstractCellEditor.
The compiler cannot seem to find the AbstractCellEditor class.
It finds everything else ok.
I am running Java SDK 1.4 on HP-UX 11.0
The compiler says:
prompt> javac ButtonEditor.java
ButtonEditor.java:4: Class javax.swing.AbstractCellEditor not found in
import.
import javax.swing.AbstractCellEditor;
^
ButtonEditor.java:13: Superclass javax.swing.AbstractCellEditor of
class ButtonEditor not found.
public class ButtonEditor extends AbstractCellEditor
^
2 errors
I've looked at my spelling and syntax... I can't find the problem.
If anyone is interested, I can send you a copy of ButtonEditor.java
via email.
Chris
|
|
| Back to top |
|
 |
Chris Guest
|
Posted: Thu Dec 18, 2003 2:00 pm Post subject: Re: problem compiling with AbstractCellEditor |
|
|
After posting my question I discovered the solution!
I have both 1.2 and 1.4 of the Java SDK installed
on this machine. I had neglected to adjust
my execution PATH, so I was invoking the 1.2 version
of javac!
Once I got that straightened out, the AbstractCellEditor
issue disappeared.
Chris
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|