本文整理了Java中javax.swing.JEditorPane.setMinimumSize()
方法的一些代码示例,展示了JEditorPane.setMinimumSize()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JEditorPane.setMinimumSize()
方法的具体详情如下:
包路径:javax.swing.JEditorPane
类名称:JEditorPane
方法名:setMinimumSize
暂无
代码示例来源:origin: magefree/mage
((GridBagLayout) panel3.getLayout()).rowWeights = new double[]{1.0, 1.0E-4};
txtDeckList.setMinimumSize(new Dimension(250, 400));
txtDeckList.setPreferredSize(new Dimension(550, 400));
txtDeckList.setText(FORMAT_TEXT);
代码示例来源:origin: magefree/mage
((GridBagLayout) panel3.getLayout()).rowWeights = new double[]{1.0, 1.0E-4};
txtDeckList.setMinimumSize(new Dimension(250, 400));
txtDeckList.setPreferredSize(new Dimension(550, 400));
代码示例来源:origin: org.apache.airavata/airavata-xbaya-gui
private JEditorPane createEditorPane() {
JEditorPane editorPane = new JEditorPane();
editorPane.setMinimumSize(SwingUtil.MINIMUM_SIZE);
editorPane.setEditable(false);
editorPane.setBackground(Color.WHITE);
editorPane.setContentType(XmlConstants.CONTENT_TYPE_HTML);
return editorPane;
}
代码示例来源:origin: EngineHub/CommandHelper
inputDialog.setMinimumSize(new java.awt.Dimension(20, 10));
jScrollPane2.setViewportView(inputDialog);
代码示例来源:origin: de.sciss/jsyntaxpane
jEdtAbbr.setMinimumSize(new java.awt.Dimension(106, 400));
jScrollPane2.setViewportView(jEdtAbbr);
代码示例来源:origin: de.sciss/syntaxpane
jEdtAbbr.setMinimumSize(new java.awt.Dimension(106, 400));
jScrollPane2.setViewportView(jEdtAbbr);
代码示例来源:origin: omegat-org/omegat
sampleEditorPane.setMinimumSize(new java.awt.Dimension(400, 100));
sampleEditorPane.setName(""); // NOI18N
sampleEditorPane.setPreferredSize(new java.awt.Dimension(400, 100));
代码示例来源:origin: net.anwiba.commons/anwiba-commons-swing-core
final JEditorPane textArea = new JEditorPane("text/html", textString); //$NON-NLS-1$
textArea.setCaretPosition(0);
textArea.setMinimumSize(new Dimension(200, 100));
textArea.setPreferredSize(new Dimension(200, 100));
textArea.setEditable(false);
代码示例来源:origin: ontop/ontop
txtQueryEditor.setMinimumSize(new java.awt.Dimension(100, 20));
txtQueryEditor.setPreferredSize(new java.awt.Dimension(100, 20));
txtQueryEditor.addKeyListener(new java.awt.event.KeyAdapter() {
代码示例来源:origin: sc.fiji/TrakEM2_
this.annot_editor.setMinimumSize(new Dimension(200, 50));
this.annot_label = new JLabel("(No selected object)");
this.annot_panel = makeAnnotationsPanel(this.annot_editor, this.annot_label);
内容来源于网络,如有侵权,请联系作者删除!