Java记事本在打开文件后如何改变标签的名称如图,我要在打开一个文件后就改变Tab名称,该如何写呢?[解决办法
Java记事本在打开文件后如何改变标签的名称
如图,我要在打开一个文件后就改变Tab名称,该如何写呢?
[解决办法]
使用的是 JTabbedPane?
void setTitleAt(int index, String title) Sets the title at index to title which can be null.
Java记事本在打开文件后如何改变标签的名称
如图,我要在打开一个文件后就改变Tab名称,该如何写呢?
[解决办法]
使用的是 JTabbedPane?
void setTitleAt(int index, String title) Sets the title at index to title which can be null.