Setting a JFrame without overlapping with taskbar
问题 I need to have a undecorated JFrame( setUndecorated(true) ) which need to be shown fullscreen, without overlapping with the taskbar. I have tried the below solutions. Calling setExtendedState(MAXIMIZED_BOTH). Advantage : This works fine as expected, i.e., the window is getting adjusted itself dynamically, except it has the below issues. Issues Initially the window occupies the fullscreen Though the frame get adjusted itself dynamically, it overlaps with the taskbar. Tried the below solution