Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.27 KB | None | 0 0
  1. package gui
  2.  
  3. import java.awt.Dimension
  4. import scala.swing._
  5.  
  6. object Main {
  7.     def main(args: Array[String]) {
  8.         val frame = new MainFrame()
  9.        
  10.         frame.title = "Test GUI :D"
  11.         frame.size = new Dimension(800,600)
  12.         frame.visible = true
  13.         frame.resizable = false    
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement