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
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue