基本上是标题所说的。我无法更改JDialog中标题栏的字体大小。
public MyDialog(Frame parent, Bank b) {
super(parent, "Create Account", true);
this.bank = b;
Point loc = parent.getLocation();
setLocation(loc.x + 420, loc.y + 260);
JPanel panel = new JPanel();
setupGUI();
fieldDataIsOK();
getContentPane().add(panel);
pack();
}