有什么方法可以删除白色标题栏并将其更改为黑色吗?我正在制作自己的外观和感觉,我们怎样才能改变它的颜色,以便所有带标题栏的衍生品都应该有黑色标题栏而不是白色。
class MyJDialog extends JDialog{ public MyJDialog(){ super() // add the text and button here including positioning } }