本文整理了Java中javax.swing.JTextArea.setRequestFocusEnabled()
方法的一些代码示例,展示了JTextArea.setRequestFocusEnabled()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTextArea.setRequestFocusEnabled()
方法的具体详情如下:
包路径:javax.swing.JTextArea
类名称:JTextArea
方法名:setRequestFocusEnabled
暂无
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-sun-appsrv
private void initDescriptionComponent() {
java.awt.GridBagConstraints gridBagConstraints;
descriptionTextArea = new javax.swing.JTextArea();
descriptionTextArea.setEditable(false);
descriptionTextArea.setFont(javax.swing.UIManager.getFont("Label.font")); //NOI18N
descriptionTextArea.setText(bundle.getString(this.resourceName + "_Description")); //NOI18N
descriptionTextArea.setDisabledTextColor(javax.swing.UIManager.getColor("Label.foreground")); //NOI18N
descriptionTextArea.setRequestFocusEnabled(false);
descriptionTextArea.setEnabled(false);
descriptionTextArea.setOpaque(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = this.y; this.y++;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.weighty = 0.0;
gridBagConstraints.insets = new java.awt.Insets(12, 12, 20, 11);
add(descriptionTextArea, gridBagConstraints);
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-dlight-nativeexecution-nb
jTextArea1.setWrapStyleWord(true);
jTextArea1.setMargin(new java.awt.Insets(5, 5, 5, 5));
jTextArea1.setRequestFocusEnabled(false);
jScrollPane1.setViewportView(jTextArea1);
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-sun-appsrv
private void initDescriptionComponent() {
java.awt.GridBagConstraints gridBagConstraints;
descriptionTextArea = new javax.swing.JTextArea();
descriptionTextArea.setEditable(false);
descriptionTextArea.setFont(javax.swing.UIManager.getFont("Label.font")); //NOI18N
descriptionTextArea.setText(bundle.getString(this.resourceName + "_Description")); //NOI18N
descriptionTextArea.setDisabledTextColor(javax.swing.UIManager.getColor("Label.foreground")); //NOI18N
descriptionTextArea.setRequestFocusEnabled(false);
descriptionTextArea.setEnabled(false);
descriptionTextArea.setOpaque(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = this.y; this.y++;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.weighty = 0.0;
gridBagConstraints.insets = new java.awt.Insets(12, 12, 20, 11);
add(descriptionTextArea, gridBagConstraints);
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-dlight-nativeexecution-nb
errorsArea.setRows(5);
errorsArea.setFocusable(false);
errorsArea.setRequestFocusEnabled(false);
jScrollPane1.setViewportView(errorsArea);
代码示例来源:origin: UNIVALI-LITE/Portugol-Studio
jTADescricao.setFocusable(false);
jTADescricao.setMinimumSize(new java.awt.Dimension(100, 50));
jTADescricao.setRequestFocusEnabled(false);
jTADescricao.setVerifyInputWhenFocusTarget(false);
jSPDescricao.setViewportView(jTADescricao);
代码示例来源:origin: igvteam/igv
textArea1.setRows(2);
textArea1.setMaximumSize(new Dimension(2147483647, 60));
textArea1.setRequestFocusEnabled(false);
textArea1.setEditable(false);
contentPanel.add(textArea1);
代码示例来源:origin: UNIVALI-LITE/Portugol-Studio
jTADescricao.setBorder(null);
jTADescricao.setFocusable(false);
jTADescricao.setRequestFocusEnabled(false);
jTADescricao.setVerifyInputWhenFocusTarget(false);
jSPDescricao.setViewportView(jTADescricao);
jTALicenca.setBorder(null);
jTALicenca.setFocusable(false);
jTALicenca.setRequestFocusEnabled(false);
jTALicenca.setVerifyInputWhenFocusTarget(false);
jSPLicenca.setViewportView(jTALicenca);
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-sun-appsrv
descriptionTextArea.setFocusable(false);
descriptionTextArea.setOpaque(false);
descriptionTextArea.setRequestFocusEnabled(false);
descriptionTextArea.setVerifyInputWhenFocusTarget(false);
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-cnd-debugger-common2
header.setRequestFocusEnabled(false);
header.setWrapStyleWord(true);
header.setLineWrap(true);
内容来源于网络,如有侵权,请联系作者删除!