本文整理了Java中javax.swing.JTextPane.validate()
方法的一些代码示例,展示了JTextPane.validate()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTextPane.validate()
方法的具体详情如下:
包路径:javax.swing.JTextPane
类名称:JTextPane
方法名:validate
暂无
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-kenai-ui
public void run() {
if (str != null) {
srcFeedPane.setText(String.format("<html><h2>%s</h2>%s</html>", NbBundle.getMessage(SourcesInformationPanel.class, "MSG_PROJECT_SOURCES"), str)); //NOI18N
srcFeedPane.validate();
srcFeedPane.setCaretPosition(0);
for (final String id : registeredButtonID) {
registerHTMLButton((HTMLDocument)srcFeedPane.getDocument(), id, new ActionListener() {
public void actionPerformed(ActionEvent e) {
new GetSourcesFromKenaiAction(new ProjectAndFeature(instProj, repoMap.get(id), null), null).actionPerformed(e);
}
});
}
}
}
代码示例来源:origin: stackoverflow.com
pane.validate();
代码示例来源:origin: MarginallyClever/Makelangelo-software
@Override
public void publish(LogRecord record) {
// TODO Auto-generated method stub
if (!isLoggable(record))
return;
String message = getFormatter().format(record);
try {
kit.insertHTML(doc, doc.getLength(), message, 0, 0, null);
} catch (BadLocationException | IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
logArea.validate();
}
代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable
m_PrintPane.validate();
代码示例来源:origin: Waikato/weka-trunk
m_PrintPane.validate();
内容来源于网络,如有侵权,请联系作者删除!