devxlogo

September 9, 1999

Be User-Friendly With Double-Clicks

The idea behind the Java’s handling of double-clicks on the mouse is that if the mouse is clicked fast enough for two times in the same spot, a “java.awt.event.MouseEvent” event

Aligned Columns in java.awt.List

You can use, or extend, java.awt.List to create a simple multi-column list. In order to do so, you need to use a fixed character width font set like Courier. Suppose