Why jframe hides taskbar when maximized?

前端 未结 3 1867
不思量自难忘°
不思量自难忘° 2021-01-17 02:52

I\'m using setUndecorated(true); and getRootPane().setWindowDecorationStyle(JRootPane.FRAME); in my jFrame. This works great but now when I maximiz

3条回答
  •  借酒劲吻你
    2021-01-17 03:28

    Maybe you can set the maximum size of the jFrame and restrict it according to the screen size.

    EDIT

    Also check out setExtendedState

提交回复
热议问题