我创建了新的弹性表并在弹性表中添加了披露面板。但它只显示披露面板。
FlexTable flexTable = new FlexTable();
flexTable.setCellSpacing(5);
flexTable.setWidget(0, 0, w1);
flexTable.setWidget(0, 1, w2);
DisclosurePanel panel = new DisclosurePanel();
panel.setHeader(new Button("TEST"));
panel.setContent(new HTML("TEST"));
flexTable.setWidget(0, 2, panel);
这段代码有什么问题吗?