本文整理了Java中javax.swing.JTextArea.updateUI()
方法的一些代码示例,展示了JTextArea.updateUI()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTextArea.updateUI()
方法的具体详情如下:
包路径:javax.swing.JTextArea
类名称:JTextArea
方法名:updateUI
暂无
代码示例来源:origin: com.haulmont.thirdparty/swingx-core
/**
* Returns a shared {@link JTextArea}.
*/
@Override
protected JTextComponent createPromptComponent() {
txt.updateUI();
return txt;
}
}
代码示例来源:origin: org.swinglabs.swingx/swingx-core
/**
* Returns a shared {@link JTextArea}.
*/
@Override
protected JTextComponent createPromptComponent() {
txt.updateUI();
return txt;
}
}
代码示例来源:origin: org.swinglabs.swingx/swingx-all
/**
* Returns a shared {@link JTextArea}.
*/
@Override
protected JTextComponent createPromptComponent() {
txt.updateUI();
return txt;
}
}
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core
/**
* Returns a shared {@link JTextArea}.
*/
@Override
protected JTextComponent createPromptComponent() {
txt.updateUI();
return txt;
}
}
代码示例来源:origin: com.jidesoft/jide-oss
/**
* Reloads the pluggable UI. The key used to fetch the new interface is <code>getUIClassID()</code>. The type of
* the UI is <code>TextUI</code>. <code>invalidate</code> is called after setting the UI.
*/
@Override
public void updateUI() {
super.updateUI();
adjustUI();
}
代码示例来源:origin: igniterealtime/Spark
private void checkValidity() {
if (certControll.checkRevocation(certModel.getCertificate())) {
certStatusArea.setText(certModel.getCertStatusAll());
try {
certControll.addCertificateToBlackList(certModel.getCertificate());
} catch (HeadlessException | KeyStoreException | NoSuchAlgorithmException | CertificateException
| InvalidNameException | IOException ex) {
Log.warning("Couldn't add certificate to the blacklist", ex);
}
certStatusArea.updateUI();
}
}
}
代码示例来源:origin: jcoplien/trygve
private void displayObjectSnapshotRecur(final RTDynamicScope scopeArg) {
BTreeElement element = null;
if (null != scopeArg) {
RTDynamicScope scope = scopeArg;
final Map<String,RTObject> objectMembers = scope.objectMembers();
final Iterator<String> objectNameIter = objectMembers.keySet().iterator();
while (objectNameIter.hasNext()) {
final String identifierName = objectNameIter.next();
final RTObject instance = objectMembers.get(identifierName);
element = snapshotAnElement(identifierName, instance, 0);
tree_.addChild(element);
}
scope = scope.parentScope();
displayObjectSnapshotRecur(scope);
if (null == scope || scope.isARealMethodScope()) {
// Now dump it in the window
// old: objectOverviewPanelContent_ = tree_.toString();
objectOverviewPanelContent_ = tree_.filterTraverse(filterText_); // new
objectOverviewPanel_.setText(objectOverviewPanelContent_);
final JScrollBar vertical = objectScrollPane_.getVerticalScrollBar();
vertical.setValue( vertical.getMaximum() );
objectOverviewPanel_.updateUI();
}
}
}
代码示例来源:origin: cmu-phil/tetrad
progressTextArea.updateUI();
progressTextArea.updateUI();
progressTextArea.updateUI();
progressTextArea.updateUI();
} else {
progressTextArea.replaceRange("Skipped", progressTextLength, progressTextArea.getText().length());
progressTextArea.append(newline);
progressTextArea.updateUI();
progressTextArea.updateUI();
progressTextArea.updateUI();
progressTextArea.updateUI();
progressTextArea.updateUI();
内容来源于网络,如有侵权,请联系作者删除!