AWT Section Index | Page 22

Short answer: you can't.
The browser defines a fixed-sized area in the web page for the Applet. If you need dynamic sizing, your only choice is to have your Applet display a Frame, Window, or Dia...more

You cannot create custom cursors in JDK 1.1. This support is only available in the Java2 platform.
In JDK 1.1, you can only set cursors to the constant values provided in the java.awt.Cursor clas...more

When you run a GUI applet or application, the code in your main() method creates a GUI and sets up event handling. When you call setVisible(true) for your Frame, Window, Dialog, or when the browse...more

Whenever you use a component in a layout manager, it may be asked for its preferredSize. This is a layout manager's way of respecting the sizing wishes of components that it manages. Some layout m...more

The key to solving this problem is to subclass TextArea and intercept
any KeyEvent sent. You need to check to see if the typed
key is a lower case character (be careful to keep this independent ...more

The AWT Toolkit object provides information about the user's runtime platform. To find out what size in pixels the users's screen is, use the getScreenSize() method.
import java.awt.*;
public cla...more