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

"{ NameSpace: CodingExamples_GUI }"

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

!JavaAppletDemo1 class methodsFor:'documentation'!

documentation
"
    Simple app using a java applet

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

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

!JavaAppletDemo1 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::JavaAppletDemo1 andSelector:#windowSpec
     CodingExamples_GUI::JavaAppletDemo1 new openInterface:#windowSpec
    "
    "CodingExamples_GUI::JavaAppletDemo1 open"

    <resource: #canvas>

    ^
     
       #(#FullSpec
          #'window:' 
           #(#WindowSpec
              #'name:' 'standardSystemView'
              #'layout:' #(#LayoutFrame 216 0 173 0 572 0 657 0)
              #'label:' 'unnamed canvas'
              #'min:' #(#Point 10 10)
              #'max:' #(#Point 1280 1024)
              #'bounds:' #(#Rectangle 216 173 573 658)
              #'usePreferredExtent:' false
          )
          #'component:' 
           #(#SpecCollection
              #'collection:' 
               #(
                 #(#LabelSpec
                    #'name:' 'label1'
                    #'layout:' #(#LayoutFrame 0 0.0 7 0 0 1.0 48 0)
                    #'label:' 'Java applet example'
                    #'style:' #(#FontDescription #times #bold #roman 18)
                )
                 #(#ActionButtonSpec
                    #'name:' 'actionButton1'
                    #'layout:' #(#AlignmentOrigin 179 0 -14 1 0.5 1)
                    #'label:' 'dismiss'
                    #'model:' #closeRequest
                )
                 #(#ViewSpec
                    #'name:' 'view1'
                    #'layout:' #(#LayoutFrame 4 0.0 60 0.0 -4 1.0 -60 1.0)
                    #'component:' 
                     #(#SpecCollection
                        #'collection:' 
                         #(
                           #(#JavaAppletComponentSpec
                              #'name:' 'javaAppletComponent2'
                              #'layout:' #(#LayoutFrame 1 0.0 1 0.0 -1 1.0 -1 1.0)
                              #'codeURL:' 'ArcTest.class'
                              #'codeBaseURL:' 'file:examples/ArcTest'
                              #'level:' -1
                          )
                        )
                    )
                    #'level:' -1
                )
              )
          )
      )

    "Modified: / 30.1.1998 / 05:03:29 / cg"
! !

!JavaAppletDemo1 class methodsFor:'documentation'!

version
    ^ '$Id$'
! !