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()

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)