package awt; import java.util.*; import java.awt.*; import java.awt.event.*;
| Button - a class that produces a lightweight Open Look button. Lightweight components can have "transparent" areas, meaning that you can see the background of the container behind them. |
| Constructs a Button with no label. |
| Constructs a Button with the specified label. @param label the label of the button |
| gets the label @see setLabel |
| sets the label @see getLabel |
| factor is e.g. 0.7 |
| The preferred size of the button. |
| The minimum size of the button. |
| Adds the specified action listener to receive action events from this button. @param listener the action listener |
| Removes the specified action listener so it no longer receives action events from this button. @param listener the action listener |
| Paints the button and sends an action event to all listeners. |
| This method works out nice colors given the interior of the oval (e.g. getBackground() of a component) |