本文整理了Java中javax.swing.JTextArea.putClientProperty()
方法的一些代码示例,展示了JTextArea.putClientProperty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTextArea.putClientProperty()
方法的具体详情如下:
包路径:javax.swing.JTextArea
类名称:JTextArea
方法名:putClientProperty
暂无
代码示例来源:origin: BashSupport/BashSupport
/**
* Method generated by IntelliJ IDEA GUI Designer
* >>> IMPORTANT!! <<<
* DO NOT edit this method OR call it in your code!
*
* @noinspection ALL
*/
private void $$$setupUI$$$() {
settingsPanel = new JPanel();
settingsPanel.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));
final JScrollPane scrollPane1 = new JScrollPane();
scrollPane1.setVerticalScrollBarPolicy(22);
settingsPanel.add(scrollPane1, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));
scrollPane1.setBorder(BorderFactory.createTitledBorder("List of valid commands:"));
validCommandsEdit = new JTextArea();
validCommandsEdit.setText("");
validCommandsEdit.putClientProperty("html.disable", Boolean.TRUE);
scrollPane1.setViewportView(validCommandsEdit);
}
代码示例来源:origin: BashSupport/BashSupport
stacktraceField.setEnabled(true);
stacktraceField.setLineWrap(false);
stacktraceField.putClientProperty("html.disable", Boolean.TRUE);
scrollPane1.setViewportView(stacktraceField);
final JLabel label5 = new JLabel();
代码示例来源:origin: kaikramer/keystore-explorer
jtaEncoded.putClientProperty("JTextArea.infoBackground", Boolean.TRUE);
jtaEncoded.setToolTipText(res.getString("DViewSecretKey.jtfEncoded.tooltip"));
代码示例来源:origin: kaikramer/keystore-explorer
jtaPem.setFont(new Font(Font.MONOSPACED, Font.PLAIN, LnfUtil.getDefaultFontSize()));
jtaPem.putClientProperty("JTextArea.infoBackground", Boolean.TRUE);
代码示例来源:origin: kaikramer/keystore-explorer
jtaPem.setFont(new Font(Font.MONOSPACED, Font.PLAIN, LnfUtil.getDefaultFontSize()));
jtaPem.putClientProperty("JTextArea.infoBackground", Boolean.TRUE);
代码示例来源:origin: kaikramer/keystore-explorer
jtaFingerprint.setLineWrap(true);
jtaFingerprint.putClientProperty("JTextArea.infoBackground", Boolean.TRUE);
jtaFingerprint.setToolTipText(MessageFormat.format(
res.getString("DViewCertificateFingerprint.jtaFingerprint.tooltip"), fingerprintAlg.friendly()));
代码示例来源:origin: kaikramer/keystore-explorer
jtaFieldValue.setToolTipText(res.getString("DViewAsymmetricKeyFields.jtaFieldValue.tooltip"));
jtaFieldValue.putClientProperty("JTextArea.infoBackground", Boolean.TRUE);
代码示例来源:origin: kaikramer/keystore-explorer
jtaPolicy.setTabSize(4);
jtaPolicy.putClientProperty("JTextArea.infoBackground", Boolean.TRUE);
jtaPolicy.setToolTipText(res.getString("DViewJcePolicy.jtaPolicy.tooltip"));
代码示例来源:origin: kaikramer/keystore-explorer
jtaAsn1Dump.setFont(new Font(Font.MONOSPACED, Font.PLAIN, LnfUtil.getDefaultFontSize()));
jtaAsn1Dump.putClientProperty("JTextArea.infoBackground", Boolean.TRUE);
代码示例来源:origin: antlr/codebuff
scope.getFormattedTextPane().setText(formattedText);
scope.injectNLConsole.putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES, Boolean.TRUE);
scope.injectNLConsole.setFont(docFont);
scope.alignConsole.putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES, Boolean.TRUE);
scope.alignConsole.setFont(docFont);
代码示例来源:origin: BashSupport/BashSupport
globalVarList.setMargin(new Insets(5, 5, 5, 5));
globalVarList.setText("");
globalVarList.putClientProperty("html.disable", Boolean.TRUE);
scrollPane1.setViewportView(globalVarList);
globalFunctionVarDefs = new JCheckBox();
代码示例来源:origin: jsettlers/settlers-remake
private void setStyle() {
mapNameLabel.putClientProperty(ELFStyle.KEY, ELFStyle.LABEL_LONG);
numberOfPlayersLabel.putClientProperty(ELFStyle.KEY, ELFStyle.LABEL_SHORT);
startResourcesLabel.putClientProperty(ELFStyle.KEY, ELFStyle.LABEL_SHORT);
peaceTimeLabel.putClientProperty(ELFStyle.KEY, ELFStyle.LABEL_SHORT);
titleLabel.putClientProperty(ELFStyle.KEY, ELFStyle.LABEL_HEADER);
cancelButton.putClientProperty(ELFStyle.KEY, ELFStyle.BUTTON_MENU);
startGameButton.putClientProperty(ELFStyle.KEY, ELFStyle.BUTTON_MENU);
slotsHeadlinePlayerNameLabel.putClientProperty(ELFStyle.KEY, ELFStyle.LABEL_DYNAMIC);
slotsHeadlineCivilisation.putClientProperty(ELFStyle.KEY, ELFStyle.LABEL_DYNAMIC);
slotsHeadlineType.putClientProperty(ELFStyle.KEY, ELFStyle.LABEL_DYNAMIC);
slotsHeadlineMapSlot.putClientProperty(ELFStyle.KEY, ELFStyle.LABEL_DYNAMIC);
slotsHeadlineTeam.putClientProperty(ELFStyle.KEY, ELFStyle.LABEL_DYNAMIC);
sendChatMessageButton.putClientProperty(ELFStyle.KEY, ELFStyle.BUTTON_MENU);
chatInputField.putClientProperty(ELFStyle.KEY, ELFStyle.TEXT_DEFAULT);
chatArea.putClientProperty(ELFStyle.KEY, ELFStyle.PANEL_DARK);
startResourcesComboBox.putClientProperty(ELFStyle.KEY, ELFStyle.COMBOBOX);
numberOfPlayersComboBox.putClientProperty(ELFStyle.KEY, ELFStyle.COMBOBOX);
peaceTimeComboBox.putClientProperty(ELFStyle.KEY, ELFStyle.COMBOBOX);
chatArea.putClientProperty(ELFStyle.KEY, ELFStyle.TEXT_DEFAULT);
SwingUtilities.updateComponentTreeUI(this);
}
内容来源于网络,如有侵权,请联系作者删除!