Created
February 15, 2015 15:58
-
-
Save maji-KY/9a7e7724e6dec13169b6 to your computer and use it in GitHub Desktop.
processing swing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.neco_labo.processiong | |
import javax.swing.JFrame | |
import com.neco_labo.processing.Test | |
/** | |
* Created by maji-KY on 2015/02/14. | |
*/ | |
object ShowTest extends App { | |
Test.init() | |
val mainFrame = new JFrame("TEST") | |
mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE) | |
mainFrame.setSize(400, 400) | |
mainFrame.setLocationRelativeTo(null) | |
mainFrame.add(Test) | |
mainFrame.setVisible(true) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment