本文整理了Java中javax.swing.JScrollPane.setToolTipText()
方法的一些代码示例,展示了JScrollPane.setToolTipText()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JScrollPane.setToolTipText()
方法的具体详情如下:
包路径:javax.swing.JScrollPane
类名称:JScrollPane
方法名:setToolTipText
暂无
代码示例来源:origin: magefree/mage
cardSelectorScrollPane.setToolTipText("<HTML>Double click to add the card to the main deck.<br/>\nALT + Double click to add the card to the sideboard.");
代码示例来源:origin: winder/Universal-G-Code-Sender
/**
* Updates all text labels in the GUI with localized labels.
*/
private void setLocalLabels() {
this.controlContextTabbedPane.setTitleAt(0, Localization.getString("mainWindow.swing.controlContextTabbedPane.machineControl"));
this.controlContextTabbedPane.setTitleAt(1, Localization.getString("mainWindow.swing.controlContextTabbedPane.macros"));
this.controlContextTabbedPane.setTitleAt(2, Localization.getString("mainWindow.swing.visualizeButton"));
this.firmwareSettingsMenu.setText(Localization.getString("mainWindow.swing.firmwareSettingsMenu"));
this.grblConnectionSettingsMenuItem.setText(Localization.getString("mainWindow.swing.grblConnectionSettingsMenuItem"));
this.grblFirmwareSettingsMenuItem.setText(Localization.getString("mainWindow.swing.grblFirmwareSettingsMenuItem"));
this.settingsMenu.setText(Localization.getString("mainWindow.swing.settingsMenu"));
this.macroEditPanel.setToolTipText(Localization.getString("mainWindow.swing.macroInstructions"));
this.pendantMenu.setText(Localization.getString("mainWindow.swing.pendant"));
this.gcodeProcessorSettings.setText(Localization.getString("settings.processors.header"));
}
代码示例来源:origin: senbox-org/snap-desktop
@Override
public void setToolTipText(String string) {
this.scrollPane.setToolTipText(string);
}
代码示例来源:origin: senbox-org/snap-desktop
@Override
public void setToolTipText(String string) {
this.scrollPane.setToolTipText(string);
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction
@Override
public void setToolTipText(String aValue) {
super.setToolTipText(aValue);
}
代码示例来源:origin: kaikramer/keystore-explorer
/**
* Set component's tooltip text.
*
* @param toolTipText
* Tooltip text
*/
@Override
public void setToolTipText(String toolTipText) {
super.setToolTipText(toolTipText);
jspPolicyMappings.setToolTipText(toolTipText);
jtPolicyMappings.setToolTipText(toolTipText);
}
代码示例来源:origin: kaikramer/keystore-explorer
/**
* Set component's tooltip text.
*
* @param toolTipText
* Tooltip text
*/
@Override
public void setToolTipText(String toolTipText) {
super.setToolTipText(toolTipText);
jspGeneralNames.setToolTipText(toolTipText);
jtGeneralNames.setToolTipText(toolTipText);
}
代码示例来源:origin: kaikramer/keystore-explorer
/**
* Set component's tooltip text.
*
* @param toolTipText
* Tooltip text
*/
@Override
public void setToolTipText(String toolTipText) {
super.setToolTipText(toolTipText);
jspPolicyInformation.setToolTipText(toolTipText);
jtPolicyInformation.setToolTipText(toolTipText);
}
代码示例来源:origin: kaikramer/keystore-explorer
/**
* Set component's tooltip text.
*
* @param toolTipText
* Tooltip text
*/
@Override
public void setToolTipText(String toolTipText) {
super.setToolTipText(toolTipText);
jspGeneralSubtrees.setToolTipText(toolTipText);
jtGeneralSubtrees.setToolTipText(toolTipText);
}
代码示例来源:origin: kaikramer/keystore-explorer
/**
* Set component's tooltip text.
*
* @param toolTipText
* Tooltip text
*/
@Override
public void setToolTipText(String toolTipText) {
super.setToolTipText(toolTipText);
jspAccessDescriptions.setToolTipText(toolTipText);
jtAccessDescriptions.setToolTipText(toolTipText);
}
代码示例来源:origin: kaikramer/keystore-explorer
/**
* Set component's tooltip text.
*
* @param toolTipText
* Tooltip text
*/
@Override
public void setToolTipText(String toolTipText) {
super.setToolTipText(toolTipText);
jspPolicyQualifierInfo.setToolTipText(toolTipText);
jtPolicyQualifierInfo.setToolTipText(toolTipText);
}
代码示例来源:origin: stackoverflow.com
_pane.setVerticalScrollBar(_pane.createVerticalScrollBar());
_pane.setBorder(new EmptyBorder(0,0,0,0));
_pane.setToolTipText(value != null ? value.toString() : "");
return _pane;
代码示例来源:origin: org.apache.geronimo.samples.daytrader.modules/wsappclient
/**
* This method initializes jScrollPane
*
* @return JScrollPane
*/
private JScrollPane getJScrollPane() {
if (jScrollPane == null) {
jScrollPane = new JScrollPane();
jScrollPane.setViewportView(getJTextArea());
jScrollPane.setBounds(310, 8, 351, 255);
jScrollPane.setBorder(
BorderFactory.createTitledBorder(
null,
"Results",
0,
0));
jScrollPane.setToolTipText("Result Output");
jScrollPane.setName("ResultPane");
}
return jScrollPane;
}
/**
代码示例来源:origin: org.apache.geronimo.daytrader.modules/wsappclient
/**
* This method initializes jScrollPane
*
* @return JScrollPane
*/
private JScrollPane getJScrollPane() {
if (jScrollPane == null) {
jScrollPane = new JScrollPane();
jScrollPane.setViewportView(getJTextArea());
jScrollPane.setBounds(310, 8, 351, 255);
jScrollPane.setBorder(
BorderFactory.createTitledBorder(
null,
"Results",
0,
0));
jScrollPane.setToolTipText("Result Output");
jScrollPane.setName("ResultPane");
}
return jScrollPane;
}
/**
代码示例来源:origin: org.apache.geronimo.daytrader/daytrader-wsappclient
/**
* This method initializes jScrollPane
*
* @return JScrollPane
*/
private JScrollPane getJScrollPane() {
if (jScrollPane == null) {
jScrollPane = new JScrollPane();
jScrollPane.setViewportView(getJTextArea());
jScrollPane.setBounds(310, 8, 351, 255);
jScrollPane.setBorder(
BorderFactory.createTitledBorder(
null,
"Results",
0,
0));
jScrollPane.setToolTipText("Result Output");
jScrollPane.setName("ResultPane");
}
return jScrollPane;
}
/**
代码示例来源:origin: net.sf.ingenias/editor
private void jbInit() throws Exception {
box1 = Box.createVerticalBox();
this.getContentPane().setLayout(borderLayout1);
close.setText("Close");
close.addActionListener(new CellHelpWindow_close_actionAdapter(this));
jLabel1.setText("Recommendation");
jLabel2.setText("Description");
jPanel1.setLayout(borderLayout2);
jPanel2.setLayout(borderLayout3);
description.setText("jTextPane1");
description.setContentType("text/html");
scp1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
scp1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
scp1.setToolTipText("");
recom.setText("");
recom.setContentType("text/html");
this.getContentPane().add(box1, BorderLayout.CENTER);
box1.add(jPanel1, null);
box1.add(jPanel2, null);
this.getContentPane().add(jPanel3, BorderLayout.SOUTH);
jPanel3.add(close, null);
jPanel2.add(jLabel1, BorderLayout.NORTH);
jPanel2.add(scp2, BorderLayout.CENTER);
scp2.getViewport().add(recom, null);
jPanel2.add(scp2, BorderLayout.CENTER);
jPanel1.add(jLabel2, BorderLayout.NORTH);
jPanel1.add(scp1, BorderLayout.CENTER);
scp1.getViewport().add(description, null);
}
代码示例来源:origin: org.apache.airavata/messenger-client
jScrollPane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
jScrollPane1.setAutoscrolls(true);
jScrollPane1.setToolTipText("Summary of the messages received.");
jScrollPane2.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
jScrollPane2.setAutoscrolls(true);
jScrollPane2.setToolTipText("Full content of the SOAP messages.");
jTabbedPane1.add(jScrollPane1, "Brief Messages");
jTabbedPane1.add(jScrollPane2, "Whole Messages");
代码示例来源:origin: LibraryOfCongress/bagger
JScrollPane manifestScrollPane = new JScrollPane();
manifestScrollPane.setViewportView(manifestPane);
manifestScrollPane.setToolTipText(parentView.getPropertyMessage("compositePane.tab.manifest.help"));
manifestScrollPane.setForeground(selectedColor);
manifestScrollPaneList.add(manifestScrollPane);
dataPane = new BagTextPane(dataContent);
dataScrollPane.setViewportView(dataPane);
dataScrollPane.setToolTipText(parentView.getPropertyMessage("compositePane.tab.data.help"));
dataScrollPane.setForeground(selectedColor);
if (!this.defaultBag.isHoley()) {
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t
accountNicknameTable.getTableHeader().setVisible(false);
JScrollPane accountNicknamesScrollPane = new JScrollPane(accountNicknameTable);
accountNicknamesScrollPane.setToolTipText(accountNicknameTooltipText);
JHtmlLabel passwordLabel = new JHtmlLabel(passwordLabelText, hyperlinkListener);
passwordPasswordField = new JPasswordField();
代码示例来源:origin: net.java.dev.jets3t/jets3t
accountNicknameTable.getTableHeader().setVisible(false);
JScrollPane accountNicknamesScrollPane = new JScrollPane(accountNicknameTable);
accountNicknamesScrollPane.setToolTipText(accountNicknameTooltipText);
JHtmlLabel passwordLabel = new JHtmlLabel(passwordLabelText, hyperlinkListener);
passwordPasswordField = new JPasswordField();
内容来源于网络,如有侵权,请联系作者删除!