void addSubtitle(String title,boolean smallMargin){
  JLabel titleLabel=new JLabel(title);
  titleLabel.setForeground(Color.GRAY);
  gbc.fill=GridBagConstraints.NONE;
  gbc.weightx=0;
  gbc.insets=smallMargin ? SUBTITLE_INSETS_SMALLER_MARGIN : SUBTITLE_INSETS;
  gbc.anchor=GridBagConstraints.CENTER;
  add(titleLabel,gbc);
  gbc.gridy++;
}

void addSubtitle ( String title , boolean smallMargin ) { JLabel titleLabel = new JLabel ( title ) ; titleLabel . setForeground ( Color . GRAY ) ; gbc . fill = GridBagConstraints . NONE ; gbc . weightx = 0 ; gbc . insets = smallMargin ? SUBTITLE_INSETS_SMALLER_MARGIN : SUBTITLE_INSETS ; gbc . anchor = GridBagConstraints . CENTER ; add ( titleLabel , gbc ) ; gbc . gridy ++ ; }
adds some centered text without a seperating line and with a slightly subdued color .
