2122232425262728293031
} } public static void main(String[] a) { final BallWorld world = new BallWorld(); final JFrame win = new JFrame(); SwingUtilities.invokeLater(() -> { win.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); win.getContentPane().add(world); win.pack();
2223242526272829303132