Custom design for Close/Minimize buttons on JFrame

前端 未结 4 955
抹茶落季
抹茶落季 2021-01-15 16:21

I would like to apply my own close and minimize buttons. Is there any way to change the JFrame design?

4条回答
  •  半阙折子戏
    2021-01-15 17:10

    think you are after a JWindow

    http://docs.oracle.com/javase/7/docs/api/javax/swing/JWindow.html

    You can then create your own buttons which actions can minimize/close your window

提交回复
热议问题