import java.awt.event.*; /** * Photon is a simple JavaBean that has an associated BeanInfo class. * * @author Thornton Rose */ public class Photon { private String color = "blue"; private float size = 1; /** * Get the size. */ public float getSize() { return size; } /** * Set the size. */ public void setSize(float newSize) { size = newSize; } /** * Get the color. */ public String getColor() { return color; } /** * Set the color. */ public void setColor(String newColor) { color = newColor; } /** * Add an action listener. */ public void addActionListener(ActionListener listener) { } /** * Remove the given action listener. */ public void removeActionListener(ActionListener listener) { } }