How to maximize a JFrame through code?
Try this:
f.setExtendedState( f.getExtendedState()|JFrame.MAXIMIZED_BOTH );
2.1m questions
2.1m answers
60 comments
57.0k users