JTextField preview = new JTextField("Test");
jf.getContentPane().add(preview, BorderLayout.NORTH);
FontChooserPanel fcp = new FontChooserPanel(null, null, preview);
fcp.setCurrentFont(preview.getFont());
jf.getContentPane().add(fcp, BorderLayout.SOUTH);
jf.pack();
jf.setVisible(true);
}
public Color getTextColor() {
return textColor;