/[classpath]/classpath/javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicInternalFrameTitlePane.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.9 by gnu_andrew, Tue Sep 20 18:46:33 2005 UTC revision 1.1.2.10 by gnu_andrew, Wed Nov 2 00:43:54 2005 UTC
# Line 100  public class BasicInternalFrameTitlePane Line 100  public class BasicInternalFrameTitlePane
100      {      {
101        if (frame.isClosable())        if (frame.isClosable())
102          {          {
103            try            try
104              {              {
105                frame.setClosed(true);                frame.setClosed(true);
106              }              }
107            catch (PropertyVetoException pve)            catch (PropertyVetoException pve)
108              {              {
109              }                // We do nothing if the attempt has been vetoed.
110                }
111          }          }
112      }      }
113    }    }
# Line 138  public class BasicInternalFrameTitlePane Line 139  public class BasicInternalFrameTitlePane
139      {      {
140        if (frame.isIconifiable() && ! frame.isIcon())        if (frame.isIconifiable() && ! frame.isIcon())
141          {          {
142            try            try
143              {              {
144                frame.setIcon(true);                frame.setIcon(true);
145              }              }
146            catch (PropertyVetoException pve)            catch (PropertyVetoException pve)
147              {              {
148              }                // We do nothing if the attempt has been vetoed.
149                }
150          }          }
151      }      }
152    }    }
# Line 175  public class BasicInternalFrameTitlePane Line 177  public class BasicInternalFrameTitlePane
177      {      {
178        try        try
179          {          {
180            if (frame.isMaximizable() && ! frame.isMaximum())            if (frame.isMaximizable() && ! frame.isMaximum())
181              frame.setMaximum(true);              frame.setMaximum(true);
182            else if (frame.isMaximum())            else if (frame.isMaximum())
183              frame.setMaximum(false);              frame.setMaximum(false);
184          }          }
185        catch (PropertyVetoException pve)        catch (PropertyVetoException pve)
186          {          {
187              // We do nothing if the attempt has been vetoed.
188          }          }
189      }      }
190    }    }
# Line 240  public class BasicInternalFrameTitlePane Line 243  public class BasicInternalFrameTitlePane
243      {      {
244        if (frame.isMaximum())        if (frame.isMaximum())
245          {          {
246            try            try
247              {              {
248                frame.setMaximum(false);                frame.setMaximum(false);
249              }              }
250            catch (PropertyVetoException pve)            catch (PropertyVetoException pve)
251              {              {
252              }                // We do nothing if the attempt has been vetoed.
253                }
254          }          }
255      }      }
256    }    }
# Line 481  public class BasicInternalFrameTitlePane Line 485  public class BasicInternalFrameTitlePane
485       */       */
486      public void removeLayoutComponent(Component c)      public void removeLayoutComponent(Component c)
487      {      {
488          // Nothing to do here.
489      }      }
490    }    }
491    

Legend:
Removed from v.1.1.2.9  
changed lines
  Added in v.1.1.2.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26