Skip to content

Instantly share code, notes, and snippets.

@gedorinku
Last active August 29, 2015 14:27
Show Gist options
  • Save gedorinku/8defbc19e5b4eb9e5e56 to your computer and use it in GitHub Desktop.
Save gedorinku/8defbc19e5b4eb9e5e56 to your computer and use it in GitHub Desktop.
package jp.gedorinku.tamagobroken;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public final class MainFrame
extends JFrame {
public MainFrame() {
setTitle("卵ブロークン");
setResizable(false);
setVisible(true);
JPanel panel = new JPanel();
panel.setLayout(null);
panel.setBackground(Color.pink);
add(panel);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment