/*
- * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
- * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
+ * Copyright (C) 2015 The Jalview Authors
*
* This file is part of Jalview.
*
JPanel panel = new JPanel();
bigpanel.add(panel, BorderLayout.CENTER);
bigpanel.add(
- new JLabel("<html>"+MessageManager.getString("label.select_dark_light_set_thereshold")+"</html>"),
- BorderLayout.NORTH);
+ new JLabel(
+ "<html>"
+ + MessageManager
+ .getString("label.select_dark_light_set_thereshold")
+ + "</html>"), BorderLayout.NORTH);
panel.add(col1);
panel.add(slider);
panel.add(col2);
public void mousePressed(MouseEvent e)
{
Color col = JColorChooser.showDialog(bigpanel,
- MessageManager.getString("label.select_colour_for_text"), col1.getBackground());
+ MessageManager.getString("label.select_colour_for_text"),
+ col1.getBackground());
if (col != null)
{
colour1Changed(col);
public void mousePressed(MouseEvent e)
{
Color col = JColorChooser.showDialog(bigpanel,
- MessageManager.getString("label.select_colour_for_text"), col2.getBackground());
+ MessageManager.getString("label.select_colour_for_text"),
+ col2.getBackground());
if (col != null)
{
colour2Changed(col);
}
});
- int reply = JOptionPane.showInternalOptionDialog(ap, bigpanel,
- MessageManager.getString("label.adjunst_foreground_text_colour_thereshold"),
- JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE,
- null, null, null);
+ int reply = JOptionPane
+ .showInternalOptionDialog(
+ ap,
+ bigpanel,
+ MessageManager
+ .getString("label.adjunst_foreground_text_colour_thereshold"),
+ JOptionPane.OK_CANCEL_OPTION,
+ JOptionPane.QUESTION_MESSAGE, null, null, null);
if (reply == JOptionPane.CANCEL_OPTION)
{