Javatpoint Logo
Javatpoint Logo

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




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA