box.setToolTipText(selectedItem.toString()); box.setToolTipText(box.getSelectedItem().toString());
lblRange.setText("Range of Influence"); cbRange.setToolTipText("<HTML>An option for multiplayer games.\nA player's range of influence is the maximum distance from that player, measured in player seats,<br>\nthat the player can affect. Players within that many seats of the player are within that player's range<br>\nof influence. Objects controlled by players within a player's range of influence are also within that<br>\nplayer's range of influence. Range of influence covers spells, abilities, effects, damage dealing, attacking,<nr>\nmaking choices, and winning the game."); cbAttackOption.setToolTipText("<HTML>An option for multiplayer games that defines<br>\nwhich opponents can be attacked from a player."); cbSkillLevel.setToolTipText("<HTML>This option can be used to make it easier to find matches<br>\nwith opponents of the appropriate skill level.");
baudCombo.setToolTipText("Select baudrate to use for the serial port.");
bindingGroup.addBinding(binding); cbTimeLimit.setToolTipText("The time a player has for the whole match. If a player runs out of time during a game, he loses the complete match. "); cbSkillLevel.setToolTipText("<HTML>This option can be used to make it easier to find matches<br>\nwith opponents of the appropriate skill level.");
cbSortBy.setToolTipText("Sort the cards if card view is active."); cbSortBy.setMaximumSize(new java.awt.Dimension(120, 20)); cbSortBy.setMinimumSize(new java.awt.Dimension(120, 20));
this.hashTypes.setToolTipText(I18n.valueByKey("BRUTEFORCE_HASH_TYPE_TOOLTIP"));
listEditor.setToolTipText(null); listEditor.removeActionListener(al); listEditor.setToolTipText(null); listEditor.removeActionListener(al); listEditor.setToolTipText(null); listEditor.removeActionListener(al); listEditor.setModel( listEditor.setToolTipText(null); listEditor.removeActionListener(al); listEditor.setModel( listEditor.setToolTipText(null); listEditor.removeActionListener(al); listEditor.setModel( listEditor.setToolTipText(null); listEditor.removeActionListener(al); listEditor.setModel( listEditor.setToolTipText(null); listEditor.removeActionListener(al); listEditor.setModel( listEditor.setToolTipText(null); listEditor.removeActionListener(al); listEditor.setModel(
"schemaExplorer.hierarchy.select.table", "Table") }); listEditor.setToolTipText( getResourceConverter().getString( "schemaExplorer.hierarchy.select.title",
/** * Registers the text to display in a tool tip. * The text displays when the cursor lingers over the component. * @param text the string to display; if the text is null, * the tool tip is turned off for this component */ @Override public void setToolTipText(String text) { choiceList.setToolTipText(text); }
baudrateSelectionComboBox.setToolTipText("Select baudrate to use for the serial port."); baudrateSelectionComboBox.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) {
cbBattlefieldFeedbackColorizingMode.setToolTipText("Battlefield feedback panel colorizing on your turn (e.g. use green color if you must select card or answer to request)"); cbBattlefieldFeedbackColorizingMode.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) {
protected void setLicense(License license) { if (license != null) licenseBox.setToolTipText("<html>" + license.getDescription() + "</html>"); else licenseBox.setToolTipText(null); }
private void updateToolTipText() { Version selectedVersion = (Version) componentVersionChoice .getSelectedItem(); componentVersionChoice.setToolTipText(selectedVersion.getDescription()); } }
@Override public void actionPerformed(ActionEvent e) { String selected = (String) m_combo.getSelectedItem(); try { selected = processSelected(selected); selected = m_env.substitute(selected); } catch (Exception ex) { // quietly ignore unresolved variables } m_combo.setToolTipText(selected); } });
protected void updateToolTipText() { Version chosenComponentVersion = getChosenComponentVersion(); if (chosenComponentVersion != null) componentVersionChoice.setToolTipText(chosenComponentVersion .getDescription()); else componentVersionChoice.setToolTipText(null); }
private void updatePaletteList() { PaletteListModel palette = (PaletteListModel) paletteCombo.getSelectedItem(); paletteList.setModel(palette); paletteCombo.setToolTipText(palette.getInfo()); updateChooser(); }
private void updateList() { familyMap.clear(); familyBox.removeAllItems(); familyBox.setToolTipText(null); notifyObservers(); familyBox.addItem(READING_MSG); familyBox.setEnabled(false); new FamilyUpdater().execute(); }
/** * Set component's tooltip text. * * @param toolTipText * Tooltip text */ @Override public void setToolTipText(String toolTipText) { super.setToolTipText(toolTipText); jsValue.setToolTipText(toolTipText); jcbType.setToolTipText(toolTipText); }
PluginPane () { final Collection<String> ids = PluginsManager.getInstance().getPluginIds(); box = new JComboBox<>(ids.toArray(new String[ids.size()])); box.setToolTipText("Default plugin to be launched"); box.setSelectedItem(PluginsManager.defaultPluginId.getValue()); PanelBuilder builder = new PanelBuilder(layout2, this); CellConstraints cst = new CellConstraints(); final int r = 1; builder.add(box, cst.xy(1, r)); builder.add(new JLabel("Plugin launched on MusicXML output"), cst.xy(3, r)); }
EarlyPane () { box = new JComboBox<>(Step.values()); box.setToolTipText("Which step to trigger on any image input"); box.setSelectedItem(StubsController.getEarlyStep()); box.addActionListener(this); PanelBuilder builder = new PanelBuilder(layout2, this); CellConstraints cst = new CellConstraints(); final int r = 1; builder.add(box, cst.xy(1, r)); builder.add(new JLabel("Step triggered on image input"), cst.xy(3, r)); }