Skip to content

Commit 2397a2f

Browse files
committed
Override Swing max panel height of 32767/2 for DataPanel. Fixes igvteam#981
1 parent b63b218 commit 2397a2f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/org/broad/igv/ui/panel/DataPanel.java

+5
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ public void paintComponent(final Graphics g) {
179179
}
180180
}
181181

182+
@Override
183+
public Dimension getMaximumSize() {
184+
return new Dimension(Short.MAX_VALUE, Integer.MAX_VALUE);
185+
}
186+
182187
@Override
183188
public void setBounds(int x, int y, int width, int height) {
184189
super.setBounds(x, y, width, height);

0 commit comments

Comments
 (0)