public class Zzz001 { public static void createpencere() { JFrame pencere1 = new JFrame(); pencere1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); pencere1.setExtendedState(JFrame.MAXIMIZED_BOTH); pencere1.setVisible(true); pencere1.setMinimumSize(new Dimension(600, 400));