Re: mauve ./ChangeLog gnu/testlet/javax/swing/plaf ...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: mauve ./ChangeLog gnu/testlet/javax/swing/plaf ...

Tom Tromey
I think this patch broke compilation

dgilbert> createFilterComboBoxModel.java

This file has:

import gnu.testlet.javax.swing.JFileChooser.MyFileChooser;

But I don't see that file in CVS.

Tom
Reply | Threaded
Open this post in threaded view
|

Re: mauve ./ChangeLog gnu/testlet/javax/swing/plaf ...

Dave Gilbert-4
Tom Tromey wrote:

>I think this patch broke compilation
>
>dgilbert> createFilterComboBoxModel.java
>
>This file has:
>
>import gnu.testlet.javax.swing.JFileChooser.MyFileChooser;
>
>But I don't see that file in CVS.
>
>Tom
>  
>
Sorry.  Fixed with this patch committed:

2005-12-07  David Gilbert  <[hidden email]>

    * gnu/testlet/javax/swing/JFileChooser/MyFileChooser.java:
    New support class.

Regards,

Dave

Index: gnu/testlet/javax/swing/JFileChooser/MyFileChooser.java
===================================================================
RCS file: gnu/testlet/javax/swing/JFileChooser/MyFileChooser.java
diff -N gnu/testlet/javax/swing/JFileChooser/MyFileChooser.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/javax/swing/JFileChooser/MyFileChooser.java 7 Dec 2005 20:14:03 -0000
@@ -0,0 +1,36 @@
+// Tags: not-a-test
+
+// Copyright (C) 2005 David Gilbert <[hidden email]>
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+// Boston, MA 02110-1301 USA.
+
+
+package gnu.testlet.javax.swing.JFileChooser;
+
+import javax.swing.JFileChooser;
+import javax.swing.plaf.FileChooserUI;
+
+public class MyFileChooser extends JFileChooser
+{
+  public MyFileChooser()
+  {    
+  }
+  
+  public void setUI(FileChooserUI ui)
+  {
+    super.setUI(ui);
+  }
+}