equal
deleted
inserted
replaced
651 GridBagConstraints c = (GridBagConstraints)super.clone(); |
651 GridBagConstraints c = (GridBagConstraints)super.clone(); |
652 c.insets = (Insets)insets.clone(); |
652 c.insets = (Insets)insets.clone(); |
653 return c; |
653 return c; |
654 } catch (CloneNotSupportedException e) { |
654 } catch (CloneNotSupportedException e) { |
655 // this shouldn't happen, since we are Cloneable |
655 // this shouldn't happen, since we are Cloneable |
656 throw new InternalError(); |
656 throw new InternalError(e); |
657 } |
657 } |
658 } |
658 } |
659 |
659 |
660 boolean isVerticallyResizable() { |
660 boolean isVerticallyResizable() { |
661 return (fill == BOTH || fill == VERTICAL); |
661 return (fill == BOTH || fill == VERTICAL); |