examples/CodingExamples_GUI__JavaAppletDemo3.st
author Claus Gittinger <cg@exept.de>
Thu, 24 Nov 2011 12:54:24 +0100
changeset 2290 cd61fd0b66ac
parent 749 e898eaeff091
child 2396 fadc6d7a2f5b
permissions -rw-r--r--
fixed: #version_SVN ($ to ยง)

"{ NameSpace: CodingExamples_GUI }"

ApplicationModel subclass:#JavaAppletDemo3
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'examples-Java-Applets'
!

!JavaAppletDemo3 class methodsFor:'documentation'!

documentation
"
    Java Reversi app
    This wrapps a Java Reversi Game application into a smalltalk view.

    [author:]
        Claus Gittinger (cg@betti)
"
!

examples
"
    examples to be added.
                                                                [exBegin]
    JavaAppletDemo3 open
                                                                [exEnd]
"
! !

!JavaAppletDemo3 class methodsFor:'interface specs'!

windowSpec
    "this window spec was automatically generated by the ST/X UIPainter"

    "do not manually edit this - the painter/builder may not be able to
     handle the specification if its corrupted."

    "
     UIPainter new openOnClass:CodingExamples_GUI::JavaAppletDemo3 andSelector:#windowSpec
     CodingExamples_GUI::JavaAppletDemo3 new openInterface:#windowSpec
    "
    "CodingExamples_GUI::JavaAppletDemo3 open"

    <resource: #canvas>

    ^
     
       #(#FullSpec
          #'window:' 
           #(#WindowSpec
              #'name:' 'Canvas'
              #'layout:' #(#LayoutFrame 216 0 173 0 533 0 563 0)
              #'label:' 'Java Reversi'
              #'min:' #(#Point 10 10)
              #'max:' #(#Point 1280 1024)
              #'bounds:' #(#Rectangle 216 173 534 564)
              #'usePreferredExtent:' false
          )
          #'component:' 
           #(#SpecCollection
              #'collection:' 
               #(
                 #(#JavaAppletComponentSpec
                    #'name:' 'javaAppletComponent1'
                    #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
                    #'codeURL:' 'KReversi.class'
                    #'codeBaseURL:' 'file:examples/KReversi'
                    #'level:' -1
                )
              )
          )
      )

    "Modified: / 1.2.1998 / 17:48:26 / cg"
! !

!JavaAppletDemo3 class methodsFor:'documentation'!

version
    ^ '$Id$'
! !