Professional Documents
Culture Documents
Adv Java Lec-1 Topic-Creating Frame.4babf65
Adv Java Lec-1 Topic-Creating Frame.4babf65
AWT stands for Abstract Window Toolkit and they are use to create GUI
application in Java.
An event system for managing system and user events among parts of the
awt.
Creating Frame:
A top level window (that is, a window that is not contained inside another
window) is called a frame in Java.
Course: Advanced Java, Info Planet Programming Classes Prepared By: Atul Kabra, 9422279260
Course: Advanced Java, Prepared By: Atul Kabra, 9422279260
class MyFrame
{
public static void main(String [] args)
{
Frame f = new Frame();
f.setSize(300,300);
f.setTitle("Title");
f.setVisible(true);
}
}
Course: Advanced Java, Info Planet Programming Classes Prepared By: Atul Kabra, 9422279260