![]() |
![]() |
![]() |
![]() |
![]() |
|
The following is a simple program that creates a small, titled window and nothing morethe program does not even provide a means to terminate itself:
import javax.swing.*;
public class Demonstrate {
public static void main (String argv []) {
JFrame frame = new JFrame("Movie Application");
frame.setSize(350, 150);
frame.show();
}
}