lblFastConnect.setLabelFor(btnFindMain); lblFastConnect.setText("Connect to:"); lblFastConnect.setName(""); // NOI18N
labelTab.setName(keyLabel); labelTab.addMouseListener(new MouseAdapter() { @Override
private static JLabel createLabel(final String postfix) { final String completeName = DIALOG_NAME + "." + postfix; final JLabel newLabel = new JLabel(completeName); newLabel.setName(completeName); return newLabel; }
private static JLabel createLabel(final String name) { final JLabel newLabel = new JLabel(name); newLabel.setName(name); return newLabel; }
private JLabel createLabel(final String name) { final JLabel newLabel = new JLabel(name); newLabel.setName(name); return newLabel; } }
protected void createTitle() { $objectMap.put("title", title = new JLabel()); title.setName("title"); title.setHorizontalAlignment(0); }
protected void createTitle() { title = new javax.swing.JLabel(); $objectMap.put("title", title); title.setName("title"); title.setHorizontalAlignment(0); }
protected void createLabel() { $objectMap.put("label", label = new JLabel()); label.setName("label"); label.setOpaque(false); }
protected void createPopupSortLabel() { $objectMap.put("popupSortLabel", popupSortLabel = new JLabel()); popupSortLabel.setName("popupSortLabel"); popupSortLabel.setText(t("bean.sort.label")); }
protected void createLabelH() { $objectMap.put("labelH", labelH = new JLabel()); labelH.setName("labelH"); labelH.setHorizontalAlignment(0); labelH.setText(t("timeeditor.H")); }
protected void createLatitudeLabel() { $objectMap.put("latitudeLabel", latitudeLabel = new JLabel()); latitudeLabel.setName("latitudeLabel"); latitudeLabel.setText(t("jaxx.common.latitude")); }
/** * Sets the name of the title label to * <code><name>-{@value #TITLE_NAME}</code>, with <name> being * the name of the component. */ @Override public void setName(String name) { super.setName(name); titleLabel.setName(format("%s-%s", name, TITLE_NAME)); }
@ScriptFunction @Override public void setName(String name) { super.setName(name); }
protected void createPopupLabel() { popupLabel = new javax.swing.JLabel(); $objectMap.put("popupLabel", popupLabel); popupLabel.setName("popupLabel"); popupLabel.setEnabled(false); popupLabel.setText(_("i18neditor.empty.locales")); }
protected void createNumberOfTrips() { $objectMap.put("numberOfTrips", numberOfTrips = new JLabel()); numberOfTrips.setName("numberOfTrips"); numberOfTrips.putClientProperty("sensitivityBean", fr.ifremer.isisfish.entities.StrategyMonthInfoImpl.class); numberOfTrips.putClientProperty("sensitivityMethod", "NumberOfTrips"); }
/** * Initialize the GUI components and layout. */ private void init() { // WARNING: called from ctor so must not be overridden (i.e. must be private or final) setLayout(new BorderLayout(5, 0)); // The label for the text field. JLabel nameLabel = new JLabel(JMeterUtils.getResString("name")); // $NON-NLS-1$ nameLabel.setName("name"); nameLabel.setLabelFor(nameField); add(nameLabel, BorderLayout.WEST); add(nameField, BorderLayout.CENTER); }
public AttributeFormField(AttributeValueConversionService conversionService, AttributeDTO attribute) { this.conversionService = checkArgumentNotNull(conversionService, "ConversionService cannot be null"); this.attribute = checkArgumentNotNull(attribute, "Attribute cannot be null"); editor = newEditor(attribute); label = new JLabel(attribute.getName() + " (" + attribute.getId() + ")", JLabel.TRAILING); label.setToolTipText(attribute.getDescription()); label.setLabelFor(editor); label.setName("label.attribute." + attribute.getId()); editor.setName("editor.attribute." + attribute.getId()); }
private void initialize() { rowNumber.setName("rowNumber"); initializePickColorButton(); initializeMoveColorUpButton(); initializeMoveColorDownButton(); initializeAddButton(); initializeDeleteButton(); appendRowsToPanel(); addComponentsToPanel(); }