[snow-cvs] r67 - trunk/examples/swixml

Alessio Stalla astalla at common-lisp.net
Mon Mar 8 18:25:35 UTC 2010


Author: astalla
Date: Mon Mar  8 13:25:34 2010
New Revision: 67

Log:
Removed wrong comment from example.


Modified:
   trunk/examples/swixml/helloworld_j.lisp

Modified: trunk/examples/swixml/helloworld_j.lisp
==============================================================================
--- trunk/examples/swixml/helloworld_j.lisp	(original)
+++ trunk/examples/swixml/helloworld_j.lisp	Mon Mar  8 13:25:34 2010
@@ -13,34 +13,3 @@
       (label :text "Clicks:" :font (font "Georgia" 36 :bold))
       (label :id cnt :font (font "Georgia" 36 :bold)))
     (show self)))
-
-#||
-The original example used the SwiXml idiom of coding a Java class to handle
-the events; an instance of this class gets injected the components with an
-ID into its JavaBean properties.
-The Snow version does not rely on a Java class; instead it handles events in
-Lisp and uses data binding to update the GUI. It is of course possible to
-handle the events in Java, but Snow does not currently support automatic
-injection of widgets into the properties of a Java object.
-||#
-
-#|| Original example:
-
-<?xml version="1.0" encoding="UTF-8"?>
-<frame size="640,280" title="Hello SWIXML World" defaultCloseOperation="JFrame.EXIT_ON_CLOSE">
-
-  <panel constraints="BorderLayout.CENTER">
-    <label labelfor="tf" font="Georgia-BOLD-12" foreground="blue" text="Hello World!"/>
-    <textfield id="tf" columns="20" Text="Swixml"/>
-    <button text="Click Here" action="submit"/>
-  </panel>
-
-  <panel constraints="BorderLayout.SOUTH">
-    <label font="Georgia-BOLD-36" text="Clicks:"/>
-
-    <label font="Georgia-BOLD-36" id="cnt"/>
-  </panel>
-
-</frame>
-
-||#




More information about the snow-cvs mailing list