本文整理了Java中javax.swing.JInternalFrame.setToolTipText()
方法的一些代码示例,展示了JInternalFrame.setToolTipText()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JInternalFrame.setToolTipText()
方法的具体详情如下:
包路径:javax.swing.JInternalFrame
类名称:JInternalFrame
方法名:setToolTipText
暂无
代码示例来源:origin: pentaho/mondrian
public void setTitle() {
// Sets the title of Internal Frame within which this schema explorer is
// displayed. The title includes schema name and schema file name.
parentIFrame.setTitle(
getResourceConverter().getFormattedString(
"schemaExplorer.frame.title",
"Schema - {0} ({1}){2}",
schema.name,
schemaFile.getName(),
isDirty() ? "*" : ""));
parentIFrame.setToolTipText(schemaFile.toString());
}
代码示例来源:origin: net.sourceforge.mydoggy/mydoggy-plaf
public void propertyChange(PropertyChangeEvent evt) {
Content content = (Content) evt.getSource();
if (content.isMinimized())
return;
if (!content.isDetached()) {
JInternalFrame internalFrame = getInternalFrame(content);
if (internalFrame != null) {
internalFrame.setToolTipText((String) evt.getNewValue());
} else
throw new IllegalStateException("Invalid content ui state.");
}
}
}
内容来源于网络,如有侵权,请联系作者删除!