no message
This commit is contained in:
@@ -79,5 +79,13 @@ public class UI_ {
|
||||
JOptionPane.YES_NO_OPTION,
|
||||
JOptionPane.WARNING_MESSAGE) == 0;
|
||||
}
|
||||
//-----
|
||||
public static void ShowTabsNames(JTabbedPane tabs, boolean flag) {
|
||||
ShowTabsNames(tabs, 0, flag);
|
||||
}
|
||||
public static void ShowTabsNames(JTabbedPane tabs, int startIndex, boolean flag) {
|
||||
for (int i = startIndex; i < tabs.getTabCount(); ++i)
|
||||
tabs.setTitleAt(i, flag ? tabs.getToolTipTextAt(i) : "");
|
||||
}
|
||||
//--
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user