git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56b2e4e
)
JAL-3032 tidy AlignmentProperties display for JalviewJS
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 14 Aug 2018 13:04:06 +0000
(14:04 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 14 Aug 2018 13:04:06 +0000
(14:04 +0100)
src/jalview/gui/AlignFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignFrame.java
b/src/jalview/gui/AlignFrame.java
index
fb952b7
..
5b9df68
100644
(file)
--- a/
src/jalview/gui/AlignFrame.java
+++ b/
src/jalview/gui/AlignFrame.java
@@
-3309,8
+3309,7
@@
public class AlignFrame extends GAlignFrame implements DropTargetListener,
{ contents.toString() });
contents = null;
- if (/** @j2sNative true || */
- false)
+ if (Jalview.isJS())
{
JLabel textLabel = new JLabel();
textLabel.setText(content);
@@
-3318,7
+3317,8
@@
public class AlignFrame extends GAlignFrame implements DropTargetListener,
pane = new JPanel(new BorderLayout());
((JPanel) pane).setOpaque(true);
- ((JPanel) pane).add(textLabel, BorderLayout.CENTER);
+ pane.setBackground(Color.WHITE);
+ ((JPanel) pane).add(textLabel, BorderLayout.NORTH);
}
else
{