Skip to content

Instantly share code, notes, and snippets.

View naokirin's full-sized avatar

naokirin(Naoki Hayashida) naokirin

View GitHub Profile
@naokirin
naokirin / JavaFXMemo.java
Created February 4, 2012 18:39
JavaFXMemo01
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.control.TextField;
import javafx.scene.layout.VBox;
import javafx.scene.control.TextArea;
import javafx.scene.control.Button;
import javafx.scene.layout.HBox;
public class JavaFXMemo extends Application {
@naokirin
naokirin / JavaFXHelloWorld.java
Created January 18, 2012 19:28
JavaFX Hello,World
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.HBox;
import javafx.scene.control.Label;
public class JavaFXHelloWorld extends Application{
public static void main(String[] args){
Application.launch(JavaFXHelloWorld.class, args);
}
@naokirin
naokirin / SwingHelloWorld.java
Created January 18, 2012 18:59
Swing Hello,World
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JLabel;
public class SwingHelloWorld extends JFrame{
public static void main(String[] args){
SwingHelloWorld frame = new SwingHelloWorld("Hello");
frame.setVisible(true);
}