Removed additional addNotify() peer hacks.
From-SVN: r38367
This commit is contained in:
committed by
Bryce McKinlay
parent
2cb5082c1e
commit
be36b6d0dd
@@ -32,8 +32,8 @@ public class Panel extends Container
|
||||
|
||||
public void addNotify()
|
||||
{
|
||||
if (getPeer() == null)
|
||||
peer = (ComponentPeer) getToolkit().createPanel(this);
|
||||
if (peer == null)
|
||||
peer = getToolkit().createPanel(this);
|
||||
super.addNotify();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user