[armedbear-cvs] r12731 - in trunk/abcl: examples/gui examples/gui/awt examples/gui/swing src/org/armedbear/lisp/java src/org/armedbear/lisp/java/awt src/org/armedbear/lisp/java/swing

Mark Evenson mevenson at common-lisp.net
Tue May 25 12:42:18 UTC 2010


Author: mevenson
Date: Tue May 25 08:42:15 2010
New Revision: 12731

Log:
Move unused GUI code to examples hierarchy.


Added:
   trunk/abcl/examples/gui/DialogPromptStream.java
      - copied, changed from r12729, /trunk/abcl/src/org/armedbear/lisp/java/DialogPromptStream.java
   trunk/abcl/examples/gui/awt/
      - copied from r12729, /trunk/abcl/src/org/armedbear/lisp/java/awt/
   trunk/abcl/examples/gui/swing/
      - copied from r12729, /trunk/abcl/src/org/armedbear/lisp/java/swing/
Removed:
   trunk/abcl/src/org/armedbear/lisp/java/DialogPromptStream.java
   trunk/abcl/src/org/armedbear/lisp/java/awt/
   trunk/abcl/src/org/armedbear/lisp/java/swing/
Modified:
   trunk/abcl/examples/gui/awt/ActionListener.java
   trunk/abcl/examples/gui/awt/AwtDialogPromptStream.java
   trunk/abcl/examples/gui/awt/ComponentAdapter.java
   trunk/abcl/examples/gui/awt/ItemListener.java
   trunk/abcl/examples/gui/awt/KeyAdapter.java
   trunk/abcl/examples/gui/awt/MouseAdapter.java
   trunk/abcl/examples/gui/awt/MouseMotionAdapter.java
   trunk/abcl/examples/gui/awt/WindowAdapter.java
   trunk/abcl/examples/gui/swing/SwingDialogPromptStream.java

Copied: trunk/abcl/examples/gui/DialogPromptStream.java (from r12729, /trunk/abcl/src/org/armedbear/lisp/java/DialogPromptStream.java)
==============================================================================
--- /trunk/abcl/src/org/armedbear/lisp/java/DialogPromptStream.java	(original)
+++ trunk/abcl/examples/gui/DialogPromptStream.java	Tue May 25 08:42:15 2010
@@ -1,4 +1,3 @@
-package org.armedbear.lisp.java;
 
 import java.io.IOException;
 import java.io.Reader;
@@ -6,12 +5,17 @@
 import java.io.StringWriter;
 
 import org.armedbear.lisp.Stream;
+
 /**
- * A bidirectional stream that captures input from a modal dialog. The dialog reports a label (prompt line)
- * which shows to the user everything that has been printed to the stream up to the moment when the dialog
- * became visible. It is usable as a drop-in replacement for e.g. *debug-io*.<br />
- * This is an abstract class that does not depend on any GUI library. Subclasses are expected to provide
- * the actual code to show the dialog and read input from the user.
+ * A bidirectional stream that captures input from a modal dialog. The
+ * dialog reports a label (prompt line) which shows to the user
+ * everything that has been printed to the stream up to the moment
+ * when the dialog became visible. It is usable as a drop-in
+ * replacement for e.g. *debug-io*.<br /> This is an abstract class
+ * that does not depend on any GUI library. Subclasses are expected to
+ * provide the actual code to show the dialog and read input from the
+ * user.
+ *
  * @author Alessio Stalla
  *
  */

Modified: trunk/abcl/examples/gui/awt/ActionListener.java
==============================================================================
--- /trunk/abcl/src/org/armedbear/lisp/java/awt/ActionListener.java	(original)
+++ trunk/abcl/examples/gui/awt/ActionListener.java	Tue May 25 08:42:15 2010
@@ -18,7 +18,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
-package org.armedbear.lisp.java.awt;
+package awt;
 
 import org.armedbear.lisp.JHandler;
 import java.awt.event.ActionEvent;

Modified: trunk/abcl/examples/gui/awt/AwtDialogPromptStream.java
==============================================================================
--- /trunk/abcl/src/org/armedbear/lisp/java/awt/AwtDialogPromptStream.java	(original)
+++ trunk/abcl/examples/gui/awt/AwtDialogPromptStream.java	Tue May 25 08:42:15 2010
@@ -1,4 +1,4 @@
-package org.armedbear.lisp.java.awt;
+package awt;
 
 import java.awt.BorderLayout;
 import java.awt.Dialog;
@@ -12,8 +12,6 @@
 
 import javax.swing.JButton;
 
-import org.armedbear.lisp.java.DialogPromptStream;
-
 public class AwtDialogPromptStream extends DialogPromptStream {
 
 	Dialog dialog = new Dialog((Frame)null, true);

Modified: trunk/abcl/examples/gui/awt/ComponentAdapter.java
==============================================================================
--- /trunk/abcl/src/org/armedbear/lisp/java/awt/ComponentAdapter.java	(original)
+++ trunk/abcl/examples/gui/awt/ComponentAdapter.java	Tue May 25 08:42:15 2010
@@ -18,7 +18,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
-package org.armedbear.lisp.java.awt;
+package awt;
 
 import org.armedbear.lisp.JHandler;
 import java.awt.Component;

Modified: trunk/abcl/examples/gui/awt/ItemListener.java
==============================================================================
--- /trunk/abcl/src/org/armedbear/lisp/java/awt/ItemListener.java	(original)
+++ trunk/abcl/examples/gui/awt/ItemListener.java	Tue May 25 08:42:15 2010
@@ -19,7 +19,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
-package org.armedbear.lisp.java.awt;
+package awt;
 
 import java.awt.Checkbox;
 import java.awt.CheckboxMenuItem;

Modified: trunk/abcl/examples/gui/awt/KeyAdapter.java
==============================================================================
--- /trunk/abcl/src/org/armedbear/lisp/java/awt/KeyAdapter.java	(original)
+++ trunk/abcl/examples/gui/awt/KeyAdapter.java	Tue May 25 08:42:15 2010
@@ -18,7 +18,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
-package org.armedbear.lisp.java.awt;
+package awt;
 
 import org.armedbear.lisp.JHandler;
 import java.awt.Component;

Modified: trunk/abcl/examples/gui/awt/MouseAdapter.java
==============================================================================
--- /trunk/abcl/src/org/armedbear/lisp/java/awt/MouseAdapter.java	(original)
+++ trunk/abcl/examples/gui/awt/MouseAdapter.java	Tue May 25 08:42:15 2010
@@ -18,7 +18,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
-package org.armedbear.lisp.java.awt;
+package awt;
 
 import org.armedbear.lisp.JHandler;
 import java.awt.Component;

Modified: trunk/abcl/examples/gui/awt/MouseMotionAdapter.java
==============================================================================
--- /trunk/abcl/src/org/armedbear/lisp/java/awt/MouseMotionAdapter.java	(original)
+++ trunk/abcl/examples/gui/awt/MouseMotionAdapter.java	Tue May 25 08:42:15 2010
@@ -18,7 +18,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
-package org.armedbear.lisp.java.awt;
+package awt;
 
 import org.armedbear.lisp.JHandler;
 import java.awt.Component;

Modified: trunk/abcl/examples/gui/awt/WindowAdapter.java
==============================================================================
--- /trunk/abcl/src/org/armedbear/lisp/java/awt/WindowAdapter.java	(original)
+++ trunk/abcl/examples/gui/awt/WindowAdapter.java	Tue May 25 08:42:15 2010
@@ -18,7 +18,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
-package org.armedbear.lisp.java.awt;
+package awt;
 
 import org.armedbear.lisp.JHandler;
 import java.awt.Window;

Modified: trunk/abcl/examples/gui/swing/SwingDialogPromptStream.java
==============================================================================
--- /trunk/abcl/src/org/armedbear/lisp/java/swing/SwingDialogPromptStream.java	(original)
+++ trunk/abcl/examples/gui/swing/SwingDialogPromptStream.java	Tue May 25 08:42:15 2010
@@ -1,4 +1,4 @@
-package org.armedbear.lisp.java.swing;
+package swing;
 
 import java.awt.BorderLayout;
 import java.awt.FlowLayout;




More information about the armedbear-cvs mailing list