X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FTextColourChooser.java;h=6bac6dfba094d640fe318491b0defc087d560321;hb=4d7f98a6dd54d9863ba449ec79dcd95d25ed863d;hp=c8a4a083ce3d9887dadea7d8bb7dc544db250d43;hpb=619cc880371f3228e6a1fb33c6bfb6e7a7e2622c;p=jalview.git diff --git a/src/jalview/gui/TextColourChooser.java b/src/jalview/gui/TextColourChooser.java index c8a4a08..6bac6df 100644 --- a/src/jalview/gui/TextColourChooser.java +++ b/src/jalview/gui/TextColourChooser.java @@ -78,8 +78,11 @@ public class TextColourChooser JPanel panel = new JPanel(); bigpanel.add(panel, BorderLayout.CENTER); bigpanel.add( - new JLabel(""+MessageManager.getString("label.select_dark_light_set_thereshold")+""), - BorderLayout.NORTH); + new JLabel( + "" + + MessageManager + .getString("label.select_dark_light_set_thereshold") + + ""), BorderLayout.NORTH); panel.add(col1); panel.add(slider); panel.add(col2); @@ -89,7 +92,8 @@ public class TextColourChooser 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); @@ -103,7 +107,8 @@ public class TextColourChooser 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); @@ -120,10 +125,14 @@ public class TextColourChooser } }); - 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) {