本文整理了Java中javax.swing.JEditorPane.setAutoscrolls()
方法的一些代码示例,展示了JEditorPane.setAutoscrolls()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JEditorPane.setAutoscrolls()
方法的具体详情如下:
包路径:javax.swing.JEditorPane
类名称:JEditorPane
方法名:setAutoscrolls
暂无
代码示例来源:origin: fr.ifremer/isis-fish
protected LogConsole(LogConsoleHandler handler, String title) {
super();
this.model = handler.model;
this.setTitle(title);
content.setAutoscrolls(false);
// we do not use scrollPane scrollbars, they are linked to editor conten
// we add a customized one not linked with the size of the editor content
// but with the nbLines
scroll.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
scroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_NEVER);
reset.setIcon(IconFactory.getIcon(IconFactory.RESET));
sendMail.setIcon(IconFactory.getIcon(IconFactory.MAIL));
if (sendMail.getIcon() != null) {
sendMail.setText("");
}
if (reset.getIcon() != null) {
reset.setText("");
}
initEvents(handler);
uiUpdater = new UpdateUI(this);
handler.setStatusBar(getStatusBar());
log.info(this);
}
代码示例来源:origin: de.sciss/scisslib
htmlPane.addHyperlinkListener(this);
htmlPane.setPreferredSize(new Dimension(320, 320));
htmlPane.setAutoscrolls(true);
htmlPane.addPropertyChangeListener(this);
ggScroll = new JScrollPane(htmlPane);
代码示例来源:origin: org.apache.oodt/oodt-profile
jEditorPane1.setAutoscrolls(true);
jPanel3.add(jEditorPane1);
jPanel3.setViewportView(jEditorPane1);
代码示例来源:origin: it.tidalwave.netbeans/it-tidalwave-netbeans-examples-nodes-example7
epEditor.setAutoscrolls(false);
epEditor.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
jScrollPane1.setViewportView(epEditor);
内容来源于网络,如有侵权,请联系作者删除!