Hi,
this code doesent work! why?
if (toolkit.isFrameStateSupported
( JFrame.MAXIMIZED_BOTH ))
frame.setExtendedState( JFrame.MAXIMIZED_BOTH );
frame.show();
thanks!
Christian
Printable View
Hi,
this code doesent work! why?
if (toolkit.isFrameStateSupported
( JFrame.MAXIMIZED_BOTH ))
frame.setExtendedState( JFrame.MAXIMIZED_BOTH );
frame.show();
thanks!
Christian
I would do a system.out.println in that if clause to make sure that it's reading it. The API of setExtendedState(as I'm sure you've read, considering your testing for it) says that it doesn't work on all platforms...make sure it does on yours