Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package editor;
- import java.awt.GridLayout;
- import javax.swing.JFrame;
- public class Main {
- static Frame f;
- public static void main(String[] args){
- f = new Frame();
- f.setTitle("Text Editor");
- f.setSize(1024,768);
- f.setLocationRelativeTo(null);
- f.setVisible(true);
- f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement