/* This work is licensed under the Creative Commons Attribution 2.5 License. To view a copy of this license, visit http://creativecommons.org/licenses/by/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA. */ import java.awt.*; import java.awt.event.*; import java.awt.image.*; import javax.swing.*; public class CubeOut extends JApplet{ static protected JLabel label; public void init() { System.out.println("init"); JApplet f = new CubeOut(); getContentPane().setLayout(new BorderLayout()); getContentPane().add(new BCanvas()); label = new JLabel("Score : 0 Cubes : 3 Round : 1"); label.setForeground(Color.green); label.setOpaque(true); label.setBackground(Color.black); getContentPane().add("South", label); f.setSize(new Dimension(300,280)); f.setVisible(true); } public void start() { System.out.println("starting..."); } public void stop() { System.out.println("stopping..."); } public void destroy() { System.out.println("preparing to unload..."); } }