A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
16
Task/Hello-world-Graphical/Ioke/hello-world-graphical.ioke
Normal file
16
Task/Hello-world-Graphical/Ioke/hello-world-graphical.ioke
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import(
|
||||
:javax:swing, :JOptionPane, :JFrame, :JTextArea, :JButton
|
||||
)
|
||||
import java:awt:FlowLayout
|
||||
|
||||
JOptionPane showMessageDialog(nil, "Goodbye, World!")
|
||||
button = JButton new("Goodbye, World!")
|
||||
text = JTextArea new("Goodbye, World!")
|
||||
window = JFrame new("Goodbye, World!") do(
|
||||
layout = FlowLayout new
|
||||
add(button)
|
||||
add(text)
|
||||
pack
|
||||
setDefaultCloseOperation(JFrame field:EXIT_ON_CLOSE)
|
||||
visible = true
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue