Windows doesn’t support myFrame.setExtendedState(JFrame.MAXIMIZED_VERT);.
So I tried to get the screen size and made the JFrames height as big as the screens height. But then it covers the Windows taskbar.
Is there any other way to maximize my JFrame vertcially?
Thanks,
esanits
Here is one way to get basic info about the window and the frame: