* forgot to remove debugging message in previous commit.
This commit is contained in:
parent
60a67d670c
commit
6e37e1b4dd
|
@ -119,8 +119,6 @@ public class ProcessDialog extends CFrame
|
||||||
public Dimension getPreferredSize() {
|
public Dimension getPreferredSize() {
|
||||||
Dimension d = super.getPreferredSize();
|
Dimension d = super.getPreferredSize();
|
||||||
Dimension m = getMaximumSize();
|
Dimension m = getMaximumSize();
|
||||||
System.out.println("prefer: " + d);
|
|
||||||
System.out.println("max: " + m);
|
|
||||||
if ( d.height > m.height || d.width > m.width ) {
|
if ( d.height > m.height || d.width > m.width ) {
|
||||||
Dimension d1 = new Dimension();
|
Dimension d1 = new Dimension();
|
||||||
d1.height = Math.min(d.height, m.height);
|
d1.height = Math.min(d.height, m.height);
|
||||||
|
|
Loading…
Reference in New Issue