Home » Java AWT Panel

Java AWT Panel

The Panel is a simplest container class. It provides space in which an application can attach any other component. It inherits the Container class.

It doesn’t have title bar.

AWT Panel class declaration

Java AWT Panel Example

Output:

java awt Panel example 1


Next TopicJava AWT Dialog

You may also like