How to Set JPanel’s Width and Height?
please, something went xxx*x, and that’s not true at all, check that code (basic stuff from Trail: Creating a GUI With JFC/Swing , and yet I still satisfied that that would be outdated ) EDIT: forget setDefaultCloseOperation()