BorderLayout.java (addLayoutComponent): Added missing `else'.
* java/awt/BorderLayout.java (addLayoutComponent): Added missing `else'. From-SVN: r49172
This commit is contained in:
parent
92bc8733c6
commit
619e2b8493
2 changed files with 4 additions and 1 deletions
|
@ -273,7 +273,7 @@ addLayoutComponent(Component component, Object constraints)
|
|||
|
||||
if (str == null || str.equals(CENTER))
|
||||
center = component;
|
||||
if (str.equals(NORTH))
|
||||
else if (str.equals(NORTH))
|
||||
north = component;
|
||||
else if (str.equals(SOUTH))
|
||||
south = component;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue