Scrollbar.java (removeAdjustmentListener): Use remove', not
add'.
* java/awt/Scrollbar.java (removeAdjustmentListener): Use `remove', not `add'. From-SVN: r36650
This commit is contained in:
parent
dada8ffd5a
commit
a3f7444bf2
2 changed files with 6 additions and 1 deletions
|
@ -194,7 +194,7 @@ public class Scrollbar extends Component implements Adjustable
|
|||
|
||||
public void removeAdjustmentListener (AdjustmentListener l)
|
||||
{
|
||||
listeners = AWTEventMulticaster.add (listeners, l);
|
||||
listeners = AWTEventMulticaster.remove (listeners, l);
|
||||
}
|
||||
|
||||
protected void processEvent (AWTEvent e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue