git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3446 reorganized JalviewJSApp (accidentally put that in jalview/api)
[jalview.git]
/
src
/
jalview
/
gui
/
AnnotationChooser.java
diff --git
a/src/jalview/gui/AnnotationChooser.java
b/src/jalview/gui/AnnotationChooser.java
index
84883d7
..
233f280
100644
(file)
--- a/
src/jalview/gui/AnnotationChooser.java
+++ b/
src/jalview/gui/AnnotationChooser.java
@@
-195,14
+195,7
@@
public class AnnotationChooser extends JPanel
{
setAnnotationVisibility(true);
{
setAnnotationVisibility(true);
- // copied from AnnotationLabel.actionPerformed (after show/hide row)...
- // TODO should drive this functionality into AlignmentPanel
ap.updateAnnotation();
ap.updateAnnotation();
- // this.ap.annotationPanel.adjustPanelHeight();
- // this.ap.alabels.setSize(this.ap.alabels.getSize().width,
- // this.ap.annotationPanel.getSize().height);
- // this.ap.validate();
- this.ap.paintAlignment(true, false);
}
/**
}
/**
@@
-229,11
+222,6
@@
public class AnnotationChooser extends JPanel
}
}
ap.updateAnnotation();
}
}
ap.updateAnnotation();
- // // this.ap.annotationPanel.adjustPanelHeight();
- // this.ap.alabels.setSize(this.ap.alabels.getSize().width,
- // this.ap.annotationPanel.getSize().height);
- // this.ap.validate();
- this.ap.paintAlignment(true, false);
}
/**
}
/**
@@
-249,9
+237,7
@@
public class AnnotationChooser extends JPanel
{
setAnnotationVisibility(false);
{
setAnnotationVisibility(false);
- this.ap.updateAnnotation();
- // this.ap.annotationPanel.adjustPanelHeight();
- this.ap.paintAlignment(true, false);
+ ap.updateAnnotation();
}
/**
}
/**
@@
-619,8
+605,8
@@
public class AnnotationChooser extends JPanel
frame.setContentPane(this);
frame.setLayer(JLayeredPane.PALETTE_LAYER);
Desktop.addInternalFrame(frame,
frame.setContentPane(this);
frame.setLayer(JLayeredPane.PALETTE_LAYER);
Desktop.addInternalFrame(frame,
- MessageManager.getString("label.choose_annotations"),
- MY_FRAME_WIDTH, MY_FRAME_HEIGHT, true);
+ MessageManager.getString("label.choose_annotations"), Desktop.FRAME_MAKE_VISIBLE,
+ MY_FRAME_WIDTH, MY_FRAME_HEIGHT, Desktop.FRAME_ALLOW_RESIZE, Desktop.FRAME_SET_MIN_SIZE_300);
}
protected void setShowSelected(boolean showSelected)
}
protected void setShowSelected(boolean showSelected)