Search in sources :

Example 1 with JTabbedPaneExt

use of com.haulmont.cuba.desktop.sys.vcl.JTabbedPaneExt in project cuba by cuba-platform.

the class DesktopWindow method setTabCaptionAndDescription.

protected void setTabCaptionAndDescription(JComponent tabWindow) {
    String formattedCaption = formatTabCaption(caption, description);
    JTabbedPaneExt jTabbedPaneExt = getJTabbedPaneExt();
    jTabbedPaneExt.setTitleAt(jTabbedPaneExt.getSelectedIndex(), formattedCaption);
    windowManager.getBreadCrumbs(tabWindow).update();
}
Also used : JTabbedPaneExt(com.haulmont.cuba.desktop.sys.vcl.JTabbedPaneExt)

Aggregations

JTabbedPaneExt (com.haulmont.cuba.desktop.sys.vcl.JTabbedPaneExt)1