how to create jframe automatically in eclipse code example
Example: how to create java jframe in eclipse
JFrame frame = new JFrame("Test Frame");
frame.setSize(500,400);
frame.setVisible(true);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);