|
6 | 6 | import static javax.swing.GroupLayout.Alignment.LEADING;
|
7 | 7 | import static javax.swing.GroupLayout.Alignment.TRAILING;
|
8 | 8 | import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.EM_ICON_COLORS;
|
9 |
| -import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.STRING_ICON_COLORS; |
10 | 9 | import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.GENEMANIA_ICON;
|
11 | 10 | import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.GENEMANIA_ICON_COLOR;
|
12 | 11 | import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.LAYERED_EM_ICON;
|
13 | 12 | import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.LAYERED_STRING_ICON;
|
| 13 | +import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.STRING_ICON_COLORS; |
14 | 14 | import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.getIconFont;
|
15 | 15 | import static org.baderlab.csplugins.enrichmentmap.view.util.SwingUtil.makeSmall;
|
16 | 16 | import static org.cytoscape.util.swing.IconManager.ICON_BARS;
|
@@ -464,8 +464,7 @@ protected void init() {
|
464 | 464 |
|
465 | 465 | JScrollPane getScrollPane() {
|
466 | 466 | if (scrollPane == null) {
|
467 |
| - scrollPane = new JScrollPane(getContentPane(), JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, |
468 |
| - JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); |
| 467 | + scrollPane = new JScrollPane(getContentPane(), JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); |
469 | 468 | scrollPane.setOpaque(false);
|
470 | 469 | scrollPane.getViewport().setOpaque(false);
|
471 | 470 | scrollPane.setBorder(BorderFactory.createLineBorder(UIManager.getColor(BORDER_COLOR_KEY)));
|
@@ -841,8 +840,8 @@ JPanel getContentPane() {
|
841 | 840 | layout.setAutoCreateGaps(!LookAndFeelUtil.isAquaLAF());
|
842 | 841 |
|
843 | 842 | layout.setHorizontalGroup(layout.createParallelGroup(CENTER, true)
|
844 |
| - .addComponent(filterPanel, DEFAULT_SIZE, DEFAULT_SIZE, Short.MAX_VALUE) |
845 |
| - .addComponent(stylePanel, DEFAULT_SIZE, DEFAULT_SIZE, Short.MAX_VALUE) |
| 843 | + .addComponent(filterPanel, 100, 100, Short.MAX_VALUE) |
| 844 | + .addComponent(stylePanel, 100, 100, Short.MAX_VALUE) |
846 | 845 | );
|
847 | 846 | layout.setVerticalGroup(layout.createSequentialGroup()
|
848 | 847 | .addComponent(filterPanel, DEFAULT_SIZE, DEFAULT_SIZE, Short.MAX_VALUE)
|
|
0 commit comments