X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fappletgui%2FAnnotationColumnChooser.java;h=906765617f72c9694c98199adda5024bd2ea9a81;hb=838e4f91d4a53dd315640dbc9ff6ef7a815ee576;hp=e25ff8f0509df2e3942ba7b84d76d3728ec56d4c;hpb=61d7d669232e22adc47cac9fe8dd9db291d382fe;p=jalview.git diff --git a/src/jalview/appletgui/AnnotationColumnChooser.java b/src/jalview/appletgui/AnnotationColumnChooser.java index e25ff8f..9067656 100644 --- a/src/jalview/appletgui/AnnotationColumnChooser.java +++ b/src/jalview/appletgui/AnnotationColumnChooser.java @@ -1,8 +1,27 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1) + * Copyright (C) 2015 The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.appletgui; import jalview.datamodel.AlignmentAnnotation; import jalview.datamodel.ColumnSelection; -import jalview.gui.JvSwingUtils; import jalview.schemes.AnnotationColourGradient; import jalview.util.MessageManager; import jalview.viewmodel.annotationfilter.AnnotationFilterParameter; @@ -30,7 +49,7 @@ import java.awt.event.TextListener; import java.util.Iterator; import java.util.Vector; -import javax.swing.JPanel; +//import javax.swing.JPanel; //import net.miginfocom.swing.MigLayout; @@ -192,11 +211,11 @@ public class AnnotationColumnChooser extends AnnotationRowFilter implements slider.setPreferredSize(new Dimension(100, 32)); thresholdPanel.setBackground(Color.white); - thresholdPanel.setFont(JvSwingUtils.getLabelFont()); + // thresholdPanel.setFont(JvSwingUtils.getLabelFont()); // thresholdPanel.setLayout(new MigLayout("", "[left][right]", "[][]")); actionPanel.setBackground(Color.white); - actionPanel.setFont(JvSwingUtils.getLabelFont()); + // actionPanel.setFont(JvSwingUtils.getLabelFont()); graphFilterView.setLayout(gBorderLayout); graphFilterView.setBackground(Color.white); @@ -205,7 +224,7 @@ public class AnnotationColumnChooser extends AnnotationRowFilter implements noGraphFilterView.setBackground(Color.white); annotationComboBoxPanel.setBackground(Color.white); - annotationComboBoxPanel.setFont(JvSwingUtils.getLabelFont()); + // annotationComboBoxPanel.setFont(JvSwingUtils.getLabelFont()); gSearchPanel = new SearchPanel(this); ngSearchPanel = new SearchPanel(this); @@ -222,7 +241,7 @@ public class AnnotationColumnChooser extends AnnotationRowFilter implements actionPanel.add(ok); actionPanel.add(cancel); - JPanel staticPanel = new JPanel(); + Panel staticPanel = new Panel(); staticPanel.setLayout(new BorderLayout()); staticPanel.setBackground(Color.white); @@ -570,8 +589,7 @@ public class AnnotationColumnChooser extends AnnotationRowFilter implements updateView(); } - public class FurtherActionPanel extends Panel implements - ItemListener + public class FurtherActionPanel extends Panel implements ItemListener { private AnnotationColumnChooser aColChooser; @@ -657,7 +675,7 @@ public class AnnotationColumnChooser extends AnnotationRowFilter implements this.setBackground(Color.white); this.setTitle("Structure Filter"); - this.setFont(JvSwingUtils.getLabelFont()); + // this.setFont(JvSwingUtils.getLabelFont()); this.add(all); this.add(alphaHelix); @@ -784,7 +802,7 @@ public class AnnotationColumnChooser extends AnnotationRowFilter implements }); - displayName.setLabel(MessageManager.getString("label.display_name")); + displayName.setLabel(MessageManager.getString("label.label")); displayName.setEnabled(false); displayName.addItemListener(this); @@ -792,7 +810,7 @@ public class AnnotationColumnChooser extends AnnotationRowFilter implements description.setEnabled(false); description.addItemListener(this); this.setTitle("Search Filter"); - this.setFont(JvSwingUtils.getLabelFont()); + // this.setFont(JvSwingUtils.getLabelFont()); syncState(); this.add(searchBox);