-
- Downloads
LayoutManager2.java: Merged with Classpath.
* java/awt/LayoutManager2.java: Merged with Classpath. * java/awt/LayoutManager.java: Merged with Classpath. * java/awt/GridLayout.java: Updated copyright and javadoc. (getSize): Use `parent.ncomponents'. Handle insets. (layoutContainer): Use `parent.ncomponents'. Handle case where there are fewer children than columns. Correctly compute size of each cell in the grid. Handle case where there isn't enough space. * java/awt/CardLayout.java (tab): Renamed from `map'. Updated all users. (gotoComponent): Use parent.ncomponents. Ensure child exists before calling setVisible() on it. Last item is `num - 1', not `num'. (layoutContainer): Hoist invariants out of loop. From-SVN: r48898
Showing
- libjava/ChangeLog 15 additions, 0 deletionslibjava/ChangeLog
- libjava/java/awt/CardLayout.java 80 additions, 37 deletionslibjava/java/awt/CardLayout.java
- libjava/java/awt/GridLayout.java 86 additions, 27 deletionslibjava/java/awt/GridLayout.java
- libjava/java/awt/LayoutManager.java 88 additions, 13 deletionslibjava/java/awt/LayoutManager.java
- libjava/java/awt/LayoutManager2.java 90 additions, 13 deletionslibjava/java/awt/LayoutManager2.java
Loading
Please register or sign in to comment