Professional Documents
Culture Documents
July 21,
2014
Enrollment
No. -
Practical Number-1
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
[UNIT NO]
Enrollment
No. -
Babaria Institute of
Technology
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.