import javax.swing.*;
public class JFrameTester {
public static void main(String[] args) {
JFrame f = new JFrame("A JFrame");
f.setSize(250, 250);
f.setLocation(300,200);
f.getContentPane().add(BorderLayout.CENTER, new JTextArea(10, 40));
f.setVisible(true);
}
}
No comments:
Post a Comment