Normal
Es löst evtl. das Problem, ist aber extrem schlechter Programmierstil. Man nutzt entweder:[code=Java]startFrame.setExtendedState(JFrame.MAXIMIZED_BOTH);[/code]Oder mit statischem Import:[code=Java]import static javax.swing.JFrame.MAXIMIZED_BOTH;startFrame.setExtendedState(MAXIMIZED_BOTH);[/code]
Es löst evtl. das Problem, ist aber extrem schlechter Programmierstil. Man nutzt entweder:
[code=Java]startFrame.setExtendedState(JFrame.MAXIMIZED_BOTH);[/code]
Oder mit statischem Import:
[code=Java]import static javax.swing.JFrame.MAXIMIZED_BOTH;
startFrame.setExtendedState(MAXIMIZED_BOTH);[/code]