Another update from ingydotnet^djgoku

This commit is contained in:
Ingy döt Net 2015-11-18 06:14:39 +00:00
parent 91df62d461
commit 948b86eafa
7604 changed files with 108452 additions and 22726 deletions

View file

@ -4,19 +4,16 @@ import javax.swing.*;
public class Honeycombs extends JFrame {
HoneycombsPanel panel;
public static void main(String[] args) {
JFrame f = new Honeycombs();
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.setVisible(true);
SwingUtilities.invokeLater(() -> {
JFrame f = new Honeycombs();
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.setVisible(true);
});
}
public Honeycombs() {
Container content = getContentPane();
content.setLayout(new BorderLayout());
panel = new HoneycombsPanel();
content.add(panel, BorderLayout.CENTER);
add(new HoneycombsPanel(), BorderLayout.CENTER);
setTitle("Honeycombs");
setResizable(false);
pack();