Removed additional addNotify() peer hacks.
From-SVN: r38367
This commit is contained in:
parent
2cb5082c1e
commit
be36b6d0dd
6 changed files with 13 additions and 9 deletions
|
@ -54,7 +54,7 @@ public class Scrollbar extends Component implements Adjustable
|
|||
public void addNotify ()
|
||||
{
|
||||
if (peer == null)
|
||||
peer = (ComponentPeer) getToolkit ().createScrollbar (this);
|
||||
peer = getToolkit ().createScrollbar (this);
|
||||
}
|
||||
|
||||
public int getOrientation ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue