折りたたみ可能に設定されたContentPanelがあります
ContentPanel bottomPanel = new ContentPanel();
BorderLayoutData layoutData = new BorderLayoutData(LayoutRegion.SOUTH);
layoutData.setSplit(true);
layoutData.setCollapsible(true);
// some code
add(bottomPanel, layoutData);
そのパネルの見出しを次のように設定します
bottomPanel.setHeading("title");
パネルが折りたたまれていない場合、見出しを設定すると、そのパネルの新しい見出しが設定されます。ただし、パネルが折りたたまれていると機能しません。見出しは、折りたたまれていない間は常に最後の見出しセットを表示します。折りたたまれた状態と折りたたまれていない状態の両方で、ゲッターは常に新しい見出しを返します
bottomPanel.getHeading(); // "old Heading"
bottomPanel.setHeading("new Heading");
bottomPanel.getHeading(); // "new Heading"
一種のレンダリングの問題だと思います