+
+ defaultButton.setFont(JvSwingUtils.getLabelFont());
+ defaultButton.setText(MessageManager.getString("label.set_as_default"));
+ defaultButton.addActionListener(new ActionListener()
+ {
+ @Override
+ public void actionPerformed(ActionEvent e)
+ {
+ defaultButton_actionPerformed();
+ }
+ });
+
+ smoothFont.setFont(JvSwingUtils.getLabelFont());
+ smoothFont.setOpaque(false);
+ smoothFont.setText(MessageManager.getString("label.anti_alias_fonts"));
+ smoothFont.setBounds(new Rectangle(1, 65, 300, 23));
+ smoothFont.addActionListener(new ActionListener()
+ {
+ @Override
+ public void actionPerformed(ActionEvent e)
+ {
+ smoothFont_actionPerformed();
+ }
+ });
+
+ /*
+ * Scale protein as cDNA is only visible in SplitFrame
+ */
+ scaleAsCdna.setVisible(false);
+ scaleAsCdna.setFont(JvSwingUtils.getLabelFont());
+ scaleAsCdna.setOpaque(false);
+ scaleAsCdna.setText(MessageManager.getString("label.scale_as_cdna"));
+ scaleAsCdna.setBounds(new Rectangle(1, 85, 300, 23));
+ scaleAsCdna.addActionListener(new ActionListener()
+ {
+ @Override
+ public void actionPerformed(ActionEvent e)
+ {
+ scaleAsCdna_actionPerformed();
+ }
+ });
+
+ /*
+ * Same font for cDNA/peptide is only visible in SplitFrame
+ */
+ fontAsCdna.setVisible(false);
+ fontAsCdna.setFont(JvSwingUtils.getLabelFont());
+ fontAsCdna.setOpaque(false);
+ fontAsCdna.setText(MessageManager.getString("label.font_as_cdna"));
+ fontAsCdna.setBounds(new Rectangle(1, 105, 350, 23));
+ fontAsCdna.addActionListener(new ActionListener()
+ {
+ @Override
+ public void actionPerformed(ActionEvent e)
+ {
+ mirrorFonts_actionPerformed();
+ }
+ });
+
+ monospaced.setEnabled(false);
+ monospaced.setFont(JvSwingUtils.getLabelFont());
+ monospaced.setOpaque(false);
+ monospaced.setToolTipText(MessageManager
+ .getString("label.monospaced_fonts_faster_to_render"));
+ monospaced.setText(MessageManager.getString("label.monospaced_font"));
+
+ /*
+ * jPanel1: Font dropdown, Monospaced checkbox
+ */
+ JPanel jPanel1 = new JPanel();