Is there a way to have the Nimbus Look&Feel render its own windows decorations for a top level JFrame?

前端 未结 1 881
名媛妹妹
名媛妹妹 2021-01-07 00:47

Is there a way to have the Nimbus Look&Feel render its own windows decorations for a top level JFrame? I\'ve been digging through the Internet, and I\'m sta

相关标签:
1条回答
  • 2021-01-07 01:21

    I've done this with JGoodies Looks in the past. I don't know if Nimbus supports it or not.

    It's not only the LAF, however, it is an option you must programmatically turn on for JFrame (and JDialog if you want).

    JFrame.setDefaultLookAndFeelDecorated( true );
    JDialog.setDefaultLookAndFeelDecorated( true );
    

    See the API Docs

    0 讨论(0)
提交回复
热议问题