Professional Documents
Culture Documents
July 21,
2014
Enrollment No.
-120050131103
Practical Number-3
AIM: Introduction to JFRAME
Theory:
JFrame is a class residing in javax.swing package.
Code:
import javax.swing.*;
class MyWindow extends {
public static void main(String [] args)
{
JFrame j=new MyFrame();
}
}
Snapshots of output:
Babaria Institute of
Technology
Advance Java
Technology |
1
Subject Code 170703
July 21,
2014
Babaria Institute of
Technology
[UNIT 1]
Enrollment No.
-120050131103
Advance Java
Technology |
2
Subject Code 170703
Conclusions:
The Swing components are light weight because
Comments:
If there is any special way to compile or run the program;
describe those procedures in comment section.