Parent Directory | Revision Log | Patch
revision 1.86 by rabbit78, Tue Nov 15 23:07:23 2005 UTC | revision 1.87 by trebligd, Thu Nov 17 23:27:24 2005 UTC | |
---|---|---|
# | Line 2530 public abstract class JComponent extends | Line 2530 public abstract class JComponent extends |
2530 | public void setMaximumSize(Dimension max) | public void setMaximumSize(Dimension max) |
2531 | { | { |
2532 | Dimension oldMaximumSize = maximumSize; | Dimension oldMaximumSize = maximumSize; |
2533 | maximumSize = new Dimension(max); | if (max != null) |
2534 | maximumSize = new Dimension(max); | |
2535 | else | |
2536 | maximumSize = null; | |
2537 | firePropertyChange("maximumSize", oldMaximumSize, maximumSize); | firePropertyChange("maximumSize", oldMaximumSize, maximumSize); |
2538 | } | } |
2539 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |