AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

problem compiling with AbstractCellEditor

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
Chris
Guest





PostPosted: Wed Dec 17, 2003 4:16 pm    Post subject: problem compiling with AbstractCellEditor Reply with quote



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





PostPosted: Thu Dec 18, 2003 2:00 pm    Post subject: Re: problem compiling with AbstractCellEditor Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.