Font size of JDialog title

后端 未结 2 517
南方客
南方客 2021-01-18 07:27

How do I set the font size of the title of a JDialog. I\'m displaying JDialogs on extremely high resolution monitors (5 mega pixels), and the dialog titles are not legible.

2条回答
  •  醉话见心
    2021-01-18 08:03

    I don't think there is a good way to change the font size. I would suggest creating a custom dialog based on a Window that would have a larger title and a close button.

提交回复
热议问题