ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <>
Subject Still no luck compiling Swing classes
Date Wed, 17 Jan 2001 19:30:28 GMT
This simple class will not compile when using the Ant <javac> task.
However it will compile outside of ant, using regular javac executable.
Somehow the <javac> task thinks that the DefaultCellEditor.EditorDelegate()
constructor is not available to this object.
any ideas why this happens?
I have played around with not setting the classpath and other stuff, but no
change to this.

import java.util.EventObject;
import javax.swing.DefaultCellEditor;
import javax.swing.JButton;
import javax.swing.JTextField;
public class ButtonEditor extends  DefaultCellEditor

 public ButtonEditor(final JButton theButton)
  super(new JTextField());
  editorComponent = theButton;
  delegate = new DefaultCellEditor.EditorDelegate()
   public void setValue(final Object theValue)
    theButton.setText((theValue != null) ? theValue.toString() : "");

   public boolean isCellEditable(final EventObject anEvent) {

   if (getCellEditorValue() == null) return false;
   return super.isCellEditable(anEvent);

Filip Hanik
Technical Architect

----- Original Message -----
From: "Diane Holt" <>
To: <>
Sent: Wednesday, January 17, 2001 10:18 AM
Subject: Re: So, The Show Must Go On

--- James Duncan Davidson <> wrote:
> In the interest of making sure that Ant goes on smoothly, I'm going to
> bow out, excepting my responsibilities as PMC chair to make sure that
> the ASF rules are followed. Something/body has to bend and in the hope
> that it will be best for this codebase, I'm going to be the bendee.


This doesn't seem like a bend -- it seems like a break. Are your ideas on
where Ant2 should go really so diametrically opposed to all of the other
proposals that you can't in fact bend to meet them at some point? I'm not
implying they aren't, just asking if that's really the case. If that is,
then I suppose starting a new build-tool based on those ideas would be the
only way to go, but it never seemed that way to me -- then again, I don't
have the OO or Java background to really be able to evaluate that. Would
it be possible for you to give a short description of what it is about
your ideas versus the ideas of others that accounts for the essential
differences that would disallow yours and the others from being able to be
combined into a single design?



Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message