Removed additional addNotify() peer hacks.
From-SVN: r38367
This commit is contained in:
committed by
Bryce McKinlay
parent
2cb5082c1e
commit
be36b6d0dd
@@ -42,7 +42,7 @@ public class Label extends Component
|
||||
public void addNotify ()
|
||||
{
|
||||
if (peer == null)
|
||||
peer = (ComponentPeer) getToolkit ().createLabel (this);
|
||||
peer = getToolkit ().createLabel (this);
|
||||
}
|
||||
|
||||
public int getAlignment ()
|
||||
|
||||
Reference in New Issue
Block a user