2012-03-28 18 views

回答

2

有一個在Form

沒有的getContent()方法,如果你的意思Panel.getContent方法再有就是這兩種方法之間沒有什麼區別。

+0

完美,謝謝!你對Form類是正確的,它只是面板類然後:-) – 2012-03-28 13:02:55

0

當您考慮WindowPanel組件時,this.getContent().addComponent();this.addComponent();之間沒有區別。通過任一呼叫將組件添加到內容中。然而,在Form中,沒有方法如addComponent()