diff options
author | Roman Kennke <roman@kennke.org> | 2006-01-27 15:51:21 +0000 |
---|---|---|
committer | Roman Kennke <roman@kennke.org> | 2006-01-27 15:51:21 +0000 |
commit | ff9f845460c4d5f4820d87beab62c4bd96d6ad19 (patch) | |
tree | ad552cfff77961889f46926e9a6e1e7d535944aa /java | |
parent | 2a8346d20ed6d56bb2126485dc9da7db799deda8 (diff) | |
download | classpath-ff9f845460c4d5f4820d87beab62c4bd96d6ad19.tar.gz |
2006-01-27 Roman Kennke <kennke@aicas.com>
* java/awt/Container.java
(swapComponents): Removed unspecified method.
* javax/swing/JLayeredPane.java
(setPosition): Reimplemented correctly.
(swapComponents): New helper method.
Diffstat (limited to 'java')
-rw-r--r-- | java/awt/Container.java | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/java/awt/Container.java b/java/awt/Container.java index edc9b0fff..e00dcfc1e 100644 --- a/java/awt/Container.java +++ b/java/awt/Container.java @@ -188,25 +188,6 @@ public class Container extends Component } /** - * Swaps the components at position i and j, in the container. - */ - - protected void swapComponents (int i, int j) - { - synchronized (getTreeLock ()) - { - if (i < 0 - || i >= component.length - || j < 0 - || j >= component.length) - throw new ArrayIndexOutOfBoundsException (); - Component tmp = component[i]; - component[i] = component[j]; - component[j] = tmp; - } - } - - /** * Returns the insets for this container, which is the space used for * borders, the margin, etc. * |