/** * Overridden so we only start listening for parser notices when this * component (and presumably the text area) are visible. */ @Override public void addNotify() { super.addNotify(); textArea.addCaretListener(listener); textArea.addPropertyChangeListener( RSyntaxTextArea.PARSER_NOTICES_PROPERTY, listener); textArea.addPropertyChangeListener( RSyntaxTextArea.MARK_OCCURRENCES_PROPERTY, listener); textArea.addPropertyChangeListener( RSyntaxTextArea.MARKED_OCCURRENCES_CHANGED_PROPERTY, listener); textArea.addPropertyChangeListener( RSyntaxTextArea.MARK_ALL_OCCURRENCES_CHANGED_PROPERTY, listener); refreshMarkers(); }
@Override public void addNotify() { super.addNotify(); // This code overrides the behavior of table item such that the item immediately // enters the EDIT_MODE when users make a single click to the item panel. setCaretToTextField(); } };
@Override public void addNotify() { super.addNotify(); // same problem as in #31086, initial focus on Cancel button projectNameTextField.requestFocus(); }
@Override public void addNotify() { super.addNotify(); addHierarchyListener(this); }
public void addNotify() { super.addNotify(); Toolkit.getDefaultToolkit().addAWTEventListener(this, AWTEvent.CONTAINER_EVENT_MASK); } public void removeNotify() {
@Override public void addNotify() { super.addNotify(); setRootNode(); }
public void addNotify() { super.addNotify(); Container parent = getParent(); assert !(parent instanceof JViewport) : "BasicColumnView has its own scrollpane. " + "Do not place BasicColumnView in a scrollpane."; }
@Override public void addNotify() { visible = true; // validate data on focus validateFields(); super.addNotify(); }
@Override public void addNotify() { // rootNode.update(); super.addNotify(); treeView.expandAll(); }
@Override public void addNotify() { super.addNotify(); componentListener.componentResized(null); } }
public void addNotify() { super.addNotify(); Node oldSelection = null; if (storedNode != null) { oldSelection = (Node) storedNode.get(); } if (oldSelection != null) { setCurrentNode (oldSelection); } }
@Override public void addNotify() { super.addNotify(); componentListener.componentResized(null); } }
@Override public void addNotify() { super.addNotify(); //same problem as in 31086, initial focus on Cancel button projectNameTextField.requestFocus(); tblAdditionalProps.setVisible(false); lblAdditionalProps.setVisible(false); jScrollPane1.setVisible(false); }
@Override public void addNotify() { super.addNotify(); configCombo.setSelectedItem(manager.currentConfiguration().getName()); }
@Override public void addNotify() { qs.addChangeListener(this); qs.addChangeListener(listener); super.addNotify(); }
public void addNotify() { super.addNotify(); explorerManager = ExplorerManager.find(this); explorerManager.addPropertyChangeListener(listener); doChecks(); }
public void addNotify () { addMouseMotionListener ( getAdapter () ); addMouseListener ( getAdapter () ); super.addNotify (); }
@Override public void addNotify() { super.addNotify(); initLibraries(); initJsfComponentsLibraries(); if (!isFrameworkAddition) { preselectJsfLibrary(); enableComponents(false); } else { updateLibrary(); } }
@Override public void addNotify() { super.addNotify(); // System.out.println("WSClientCustomizer: addNotify (" + this.getComponentCount() + " subcomponents)"); JPanel component = wsCompileEditor.getComponent(); removeAll(); // !PW is this necessary? add(component); component.addPropertyChangeListener(WsCompileClientEditorSupport.PROP_FEATURES_CHANGED, this); component.addPropertyChangeListener(WsCompileClientEditorSupport.PROP_OPTIONS_CHANGED, this); }
public void addNotify() { super.addNotify(); // System.out.println("WSClientCustomizer: addNotify (" + this.getComponentCount() + " subcomponents)"); JPanel component = wsCompileEditor.getComponent(); removeAll(); // !PW is this necessary? add(component); component.addPropertyChangeListener(WsCompileClientEditorSupport.PROP_FEATURES_CHANGED, this); component.addPropertyChangeListener(WsCompileClientEditorSupport.PROP_OPTIONS_CHANGED, this); }