674
Comment:
|
732
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
= Swing Examples in Jython = | |
Line 6: | Line 7: |
= Swing Examples in Jython = | DocumentationAndEducation [[TableOfContents]] ---- |
Swing Examples in Jython
Examples related to Swing using Jython will be here.
Hello, World!
These are some ways of creating a simple frame with the title 'Hello, World!' on it.
{{{from javax.swing import JFrame JFrame('Hello, World!', defaultCloseOperation=JFrame.EXIT_ON_CLOSE, size=(300, 300), locationRelativeTo=None).show()}}}
{{{from javax.swing import JFrame f = JFrame('Hello, World!', defaultCloseOperation=JFrame.EXIT_ON_CLOSE, size=(300, 300), locationRelativeTo=None) f.show()}}}
List of pages in this category:
- Something simple
- Something else simple