[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: FlowLayout fixlet
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: FlowLayout fixlet |
Date: |
Mon, 15 Aug 2005 11:15:54 +0200 |
Hi,
FlowLayout.setAlignment used to check for illegal values. However, the
JDK does not throw an exception in this case and treats unknown values
as FlowLayout.LEFT instead. I fixed and committed this.
2005-08-15 Roman Kennke <address@hidden>
* java/awt/FlowLayout.java
(setAlignment): Removed check for illegal values. These values
are treated as LEFT alignment instead.
(layoutContainer): Treat unknown align values as LEFT in default
clause of if-else statement.
/Roman
FlowLayout.diff
Description: Text Data
- [cp-patches] FYI: FlowLayout fixlet,
Roman Kennke <=