bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void removeFocusListener(FocusListener listener) { /* Remove the focus listener from the chain */ focusListener = AWTEventMulticaster.remove(focusListener, listener); } | public void removeFocusListener(FocusListener listener) { focusListener = AWTEventMulticaster.remove(focusListener, listener); } | 10,636 |
public void requestFocus() { /* Ignored */ } | public void requestFocus() { } | 10,637 |
public void selectAllAccessibleSelection() { /* Simply call addAccessibleSelection() on all accessible children */ for (int a = 0; a < getAccessibleChildrenCount(); ++a) { addAccessibleSelection(a); } } | public void selectAllAccessibleSelection() { for (int a = 0; a < getAccessibleChildrenCount(); ++a) { addAccessibleSelection(a); } } | 10,638 |
public void setBackground(Color color) { /* Ignored */ } | public void setBackground(Color color) { } | 10,639 |
public void setBounds(Rectangle rectangle) { /* Ignored */ } | public void setBounds(Rectangle rectangle) { } | 10,640 |
public void setCursor(Cursor cursor) { /* Ignored */ } | public void setCursor(Cursor cursor) { } | 10,641 |
public void setFont(Font font) { /* Call the method of the enclosing component */ MenuComponent.this.setFont(font); } | public void setFont(Font font) { MenuComponent.this.setFont(font); } | 10,642 |
public void setForeground(Color color) { /* Ignored */ } | public void setForeground(Color color) { } | 10,643 |
public void setVisible(boolean visibility) { /* Ignored */ } | public void setVisible(boolean visibility) { } | 10,644 |
MenuComponent(){ if (GraphicsEnvironment.isHeadless()) throw new HeadlessException ();} | MenuComponent(){ if (GraphicsEnvironment.isHeadless()) throw new HeadlessException ();} | 10,645 |
MenuComponent(){ if (GraphicsEnvironment.isHeadless()) throw new HeadlessException ();} | MenuComponent(){ if (GraphicsEnvironment.isHeadless()) throw new HeadlessException ();} | 10,646 |
getFont(){ if (font != null) return font; if (parent != null) return parent.getFont (); return null;} | getFont(){ if (font != null) return font; if (parent != null) return parent.getFont (); return null;} | 10,647 |
getFont(){ if (font != null) return font; if (parent != null) return parent.getFont (); return null;} | getFont(){ if (font != null) return font; if (parent != null) return parent.getFont(); return null;} | 10,648 |
getFont(){ if (font != null) return font; if (parent != null) return parent.getFont (); return null;} | getFont(){ if (font != null) return font; if (parent != null) return parent.getFont (); return null;} | 10,649 |
getName(){ return(name);} | getName(){ return(name);} | 10,650 |
getTreeLock(){ return(tree_lock);} | getTreeLock(){ return(tree_lock);} | 10,651 |
postEvent(Event event){ // This is overridden by subclasses that support events. return false;} | postEvent(Event event){ // This is overridden by subclasses that support events. return false;} | 10,652 |
setFont(Font font){ this.font = font;} | setFont(Font font){ this.font = font;} | 10,653 |
setFont(Font font){ this.font = font;} | setFont(Font font){ this.font = font;} | 10,654 |
setName(String name){ this.name = name; nameExplicitlySet = true;} | setName(String name){ this.name = name; nameExplicitlySet = true;} | 10,655 |
setName(String name){ this.name = name; nameExplicitlySet = true;} | setName(String name){ this.name = name; nameExplicitlySet = true;} | 10,656 |
setParent(MenuContainer parent){ this.parent = parent;} | setParent(MenuContainer parent){ this.parent = parent;} | 10,657 |
setParent(MenuContainer parent){ this.parent = parent;} | setParent(MenuContainer parent){ this.parent = parent;} | 10,658 |
setTreeLock(Object tree_lock){ this.tree_lock = tree_lock;} | setTreeLock(Object tree_lock){ this.tree_lock = tree_lock;} | 10,659 |
toString(){ return this.getClass().getName() + "[" + paramString() + "]";} | toString(){ return this.getClass().getName() + "[" + paramString() + "]";} | 10,660 |
public void addAccessibleSelection(int value0) throws NotImplementedException { // TODO: Implement this properly. } | public void addAccessibleSelection(int value0) throws NotImplementedException { // TODO: Implement this properly. } | 10,661 |
public void addAccessibleSelection(int value0) throws NotImplementedException { // TODO: Implement this properly. } | Accessible child = getAccessibleChild(index); if (child != null && child instanceof JMenuItem) { JMenuItem mi = (JMenuItem) child; MenuSelectionManager msm = MenuSelectionManager.defaultManager(); msm.setSelectedPath(createPath(JMenu.this)); } Accessible child = getAccessibleChild(index); if (child != null && child ins... | 10,662 |
public void clearAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. } | public void clearAccessibleSelection() { // TODO: Implement this properly. } | 10,663 |
public void clearAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. } | MenuSelectionManager msm = MenuSelectionManager.defaultManager(); MenuElement[] oldSelection = msm.getSelectedPath(); for (int i = 0; i < oldSelection.length; i++) { if (oldSelection[i] == JMenu.this) { MenuElement[] newSel = new MenuElement[i]; System.arraycopy(oldSelection, 0, newSel, 0, i); msm.setSelectedPath(new... | 10,664 |
public Accessible getAccessibleChild(int value0) throws NotImplementedException { return null; } | public Accessible getAccessibleChild(int value0) throws NotImplementedException { return null; } | 10,665 |
public Accessible getAccessibleChild(int value0) throws NotImplementedException { return null; } | public Accessible getAccessibleChild(int value0) throws NotImplementedException { Component[] children = getMenuComponents(); int count = 0; Accessible found = null; for (int i = 0; i < children.length; i++) { if (children[i] instanceof Accessible) { if (count == index) { found = (Accessible) children[... | 10,666 |
public int getAccessibleChildrenCount() throws NotImplementedException { return 0; } | public int getAccessibleChildrenCount() { return 0; } | 10,667 |
public int getAccessibleChildrenCount() throws NotImplementedException { return 0; } | public int getAccessibleChildrenCount() throws NotImplementedException { Component[] children = getMenuComponents(); int count = 0; for (int i = 0; i < children.length; i++) { if (children[i] instanceof Accessible) count++; } return count; } | 10,668 |
public AccessibleSelection getAccessibleSelection() throws NotImplementedException { return null; } | public AccessibleSelection getAccessibleSelection() { return null; } | 10,669 |
public AccessibleSelection getAccessibleSelection() throws NotImplementedException { return null; } | public AccessibleSelection getAccessibleSelection() throws NotImplementedException { return this; } | 10,670 |
public int getAccessibleSelectionCount() throws NotImplementedException { return 0; } | public int getAccessibleSelectionCount() { return 0; } | 10,671 |
public int getAccessibleSelectionCount() throws NotImplementedException { return 0; } | public int getAccessibleSelectionCount() throws NotImplementedException { int count = 0; MenuSelectionManager msm = MenuSelectionManager.defaultManager(); MenuElement[] me = msm.getSelectedPath(); if (me != null) { for (int i = 0; i < me.length; i++) { if (me[i] == JMenu.this) { if (i + 1 < me.length) ... | 10,672 |
public boolean isAccessibleChildSelected(int value0) throws NotImplementedException { return false; } | public boolean isAccessibleChildSelected(int value0) throws NotImplementedException { return false; } | 10,673 |
public boolean isAccessibleChildSelected(int value0) throws NotImplementedException { return false; } | public boolean isAccessibleChildSelected(int value0) throws NotImplementedException { boolean selected = false; MenuSelectionManager msm = MenuSelectionManager.defaultManager(); MenuElement[] me = msm.getSelectedPath(); if (me != null) { Accessible toBeFound = getAccessibleChild(index); for (int i = 0;... | 10,674 |
public void removeAccessibleSelection(int value0) throws NotImplementedException { // TODO: Implement this properly. } | public void removeAccessibleSelection(int value0) throws NotImplementedException { // TODO: Implement this properly. } | 10,675 |
public void removeAccessibleSelection(int value0) throws NotImplementedException { // TODO: Implement this properly. } | Accessible child = getAccessibleChild(index); if (child != null) { MenuSelectionManager msm = MenuSelectionManager.defaultManager(); MenuElement[] oldSelection = msm.getSelectedPath(); for (int i = 0; i < oldSelection.length; i++) { if (oldSelection[i] == child) { MenuElement[] newSel = new MenuElement[i - 1]; System... | 10,676 |
public void selectAllAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. } | public void selectAllAccessibleSelection() { // TODO: Implement this properly. } | 10,677 |
public void selectAllAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. } | public void selectAllAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. } | 10,678 |
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The current x and y pixel coordinates. int pixelX = x; int pixelY = y; // The font... | public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The current x and y pixel coordinates. int pixelX = x; int pixelY = y; // The font... | 10,679 |
public LookAndFeelInfo(String name, String clazz) { this.name = name; this.clazz = clazz; } | public LookAndFeelInfo(String name, String clazz) { this.name = name; this.clazz = clazz; } | 10,682 |
public static String getCrossPlatformLookAndFeelClassName() { return "javax.swing.plaf.metal.MetalLookAndFeel"; } | public static String getCrossPlatformLookAndFeelClassName() { return "javax.swing.plaf.metal.MetalLookAndFeel"; } | 10,683 |
public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (auxLookAndFeels == null) return false; int count = auxLookAndFeels.length; if (count == 1 && auxLookAndFeels[0] == laf) { auxLookAndFeels = null; return true; } for (int i = 0; i < count; i++) { ... | public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (auxLookAndFeels == null) return false; int count = auxLookAndFeels.length; if (count == 1 && auxLookAndFeels[0] == laf) { auxLookAndFeels = null; return true; } for (int i = 0; i < count; i++) { ... | 10,684 |
public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (auxLookAndFeels == null) return false; int count = auxLookAndFeels.length; if (count == 1 && auxLookAndFeels[0] == laf) { auxLookAndFeels = null; return true; } for (int i = 0; i < count; i++) { ... | public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (auxLookAndFeels == null) return false; int count = auxLookAndFeels.length; if (count == 1 && auxLookAndFeels[0] == laf) { auxLookAndFeels = null; return true; } for (int i = 0; i < count; i++) { ... | 10,685 |
public synchronized void addNotify() { if (peer != null) { // This choice of toolkit seems unsatisfying, but I'm not sure // what else to do. peer = getToolkit().createCheckboxMenuItem(this); } super.addNotify(); } | public synchronized void addNotify() { if (peer != null) { // This choice of toolkit seems unsatisfying, but I'm not sure // what else to do. peer = getToolkit().createCheckboxMenuItem(this); } super.addNotify(); } | 10,686 |
public synchronized void addNotify() { if (peer != null) { // This choice of toolkit seems unsatisfying, but I'm not sure // what else to do. peer = getToolkit().createCheckboxMenuItem(this); } super.addNotify(); } | public synchronized void addNotify() { if (peer != null) { // This choice of toolkit seems unsatisfying, but I'm not sure // what else to do. peer = getToolkit().createCheckboxMenuItem(this); } super.addNotify(); } | 10,687 |
void dispatchEventImpl(AWTEvent e) { if (e.id <= ItemEvent.ITEM_LAST && e.id >= ItemEvent.ITEM_FIRST && (item_listeners != null || (eventMask & AWTEvent.ITEM_EVENT_MASK) != 0)) processEvent(e); else super.dispatchEventImpl(e); } | void dispatchEventImpl(AWTEvent e) { if (e.id <= ItemEvent.ITEM_LAST && e.id >= ItemEvent.ITEM_FIRST && (item_listeners != null || (eventMask & AWTEvent.ITEM_EVENT_MASK) != 0)) processEvent(e); else super.dispatchEventImpl(e); } | 10,688 |
void dispatchEventImpl(AWTEvent e) { if (e.id <= ItemEvent.ITEM_LAST && e.id >= ItemEvent.ITEM_FIRST && (item_listeners != null || (eventMask & AWTEvent.ITEM_EVENT_MASK) != 0)) processEvent(e); else super.dispatchEventImpl(e); } | void dispatchEventImpl(AWTEvent e) { if (e.id <= ItemEvent.ITEM_LAST && e.id >= ItemEvent.ITEM_FIRST && (item_listeners != null || (eventMask & AWTEvent.ITEM_EVENT_MASK) != 0)) processEvent(e); else super.dispatchEventImpl(e); } | 10,689 |
public Object[] getSelectedObjects() { if (state == false) return (null); Object[] obj = new Object[1]; obj[0] = getLabel(); return (obj); } | public Object[] getSelectedObjects() { if (state == false) return (null); Object[] obj = new Object[1]; obj[0] = getLabel(); return (obj); } | 10,690 |
public Object[] getSelectedObjects() { if (state == false) return (null); Object[] obj = new Object[1]; obj[0] = getLabel(); return (obj); } | public Object[] getSelectedObjects() { if (state == false) return (null); Object[] obj = new Object[1]; obj[0] = getLabel(); return (obj); } | 10,691 |
public Object[] getSelectedObjects() { if (state == false) return (null); Object[] obj = new Object[1]; obj[0] = getLabel(); return (obj); } | public Object[] getSelectedObjects() { if (state == false) return (null); Object[] obj = new Object[1]; obj[0] = getLabel(); return (obj); } | 10,692 |
public boolean getState() { return (state); } | public boolean getState() { return (state); } | 10,693 |
public String paramString() { return ("label=" + getLabel() + ",state=" + state + "," + super.paramString()); } | public String paramString() { return ("label=" + getLabel() + ",state=" + state + "," + super.paramString()); } | 10,694 |
protected void processEvent(AWTEvent event) { if (event instanceof ItemEvent) processItemEvent((ItemEvent) event); else super.processEvent(event); } | protected void processEvent(AWTEvent event) { if (event instanceof ItemEvent) processItemEvent((ItemEvent) event); else super.processEvent(event); } | 10,695 |
protected void processEvent(AWTEvent event) { if (event instanceof ItemEvent) processItemEvent((ItemEvent) event); else super.processEvent(event); } | protected void processEvent(AWTEvent event) { if (event instanceof ItemEvent) processItemEvent((ItemEvent) event); else super.processEvent(event); } | 10,696 |
protected void processEvent(AWTEvent event) { if (event instanceof ItemEvent) processItemEvent((ItemEvent) event); else super.processEvent(event); } | protected void processEvent(AWTEvent event) { if (event instanceof ItemEvent) processItemEvent((ItemEvent) event); else super.processEvent(event); } | 10,697 |
protected void processItemEvent(ItemEvent event) { if (item_listeners != null) item_listeners.itemStateChanged(event); } | protected void processItemEvent(ItemEvent event) { if (item_listeners != null) item_listeners.itemStateChanged(event); } | 10,698 |
protected void processItemEvent(ItemEvent event) { if (item_listeners != null) item_listeners.itemStateChanged(event); } | protected void processItemEvent(ItemEvent event) { if (item_listeners != null) item_listeners.itemStateChanged(event); } | 10,699 |
public synchronized void removeItemListener(ItemListener listener) { item_listeners = AWTEventMulticaster.remove(item_listeners, listener); } | public synchronized void removeItemListener(ItemListener listener) { item_listeners = AWTEventMulticaster.remove(item_listeners, listener); } | 10,700 |
public synchronized void removeItemListener(ItemListener listener) { item_listeners = AWTEventMulticaster.remove(item_listeners, listener); } | public synchronized void removeItemListener(ItemListener listener) { item_listeners = AWTEventMulticaster.remove(item_listeners, listener); } | 10,701 |
protected Object clone () throws CloneNotSupportedException { // Clone this formatter. AbstractFormatter newFormatter = (AbstractFormatter)super.clone(); // And remove the association to the JFormattedTextField. newFormatter.textField = null; return newFormatter; } | protected Object clone() throws CloneNotSupportedException { // Clone this formatter. AbstractFormatter newFormatter = (AbstractFormatter)super.clone(); // And remove the association to the JFormattedTextField. newFormatter.textField = null; return newFormatter; } | 10,702 |
protected Object clone () throws CloneNotSupportedException { // Clone this formatter. AbstractFormatter newFormatter = (AbstractFormatter)super.clone(); // And remove the association to the JFormattedTextField. newFormatter.textField = null; return newFormatter; } | protected Object clone () throws CloneNotSupportedException { // Clone this formatter. AbstractFormatter newFormatter = (AbstractFormatter) super.clone(); // And remove the association to the JFormattedTextField. newFormatter.textField = null; return newFormatter; } | 10,703 |
protected Action[] getActions () { return null; } | protected Action[] getActions() { return null; } | 10,704 |
protected DocumentFilter getDocumentFilter () { // Subclasses should override this if they want to install a // DocumentFilter. return null; } | protected DocumentFilter getDocumentFilter() { // Subclasses should override this if they want to install a // DocumentFilter. return null; } | 10,705 |
protected JFormattedTextField getFormattedTextField () { return textField; } | protected JFormattedTextField getFormattedTextField() { return textField; } | 10,706 |
protected NavigationFilter getNavigationFilter () { // This should be subclassed if the formatter wants to install // a NavigationFilter on the JFormattedTextField. return null; } | protected NavigationFilter getNavigationFilter() { // This should be subclassed if the formatter wants to install // a NavigationFilter on the JFormattedTextField. return null; } | 10,707 |
public void install(JFormattedTextField textField) { // Uninstall the current textfield. if (this.textField != null) uninstall(); this.textField = textField; // Install some state on the text field, including display text, // DocumentFilter, NavigationFilter, and formatter s... | public void install(JFormattedTextField textField) { // Uninstall the current textfield. if (this.textField != null) uninstall(); this.textField = textField; // Install some state on the text field, including display text, // DocumentFilter, NavigationFilter, and formatter s... | 10,708 |
protected void invalidEdit () { textField.invalidEdit(); } | protected void invalidEdit() { textField.invalidEdit(); } | 10,709 |
protected void setEditValid (boolean valid) { textField.editValid = valid; } | protected void setEditValid(boolean valid) { textField.editValid = valid; } | 10,710 |
public abstract Object stringToValue (String text) throws ParseException; | public abstract Object stringToValue(String text) throws ParseException; | 10,711 |
public void uninstall () { // Set the DocumentFilter for the field's Document. Document doc = textField.getDocument(); if (doc instanceof AbstractDocument) ((AbstractDocument)doc).setDocumentFilter(null); textField.setNavigationFilter(null); // FIXME: Have to remove the Actions fr... | public void uninstall() { // Set the DocumentFilter for the field's Document. Document doc = textField.getDocument(); if (doc instanceof AbstractDocument) ((AbstractDocument)doc).setDocumentFilter(null); textField.setNavigationFilter(null); // FIXME: Have to remove the Actions fro... | 10,712 |
public void uninstall () { // Set the DocumentFilter for the field's Document. Document doc = textField.getDocument(); if (doc instanceof AbstractDocument) ((AbstractDocument)doc).setDocumentFilter(null); textField.setNavigationFilter(null); // FIXME: Have to remove the Actions fr... | public void uninstall () { // Set the DocumentFilter for the field's Document. Document doc = textField.getDocument(); if (doc instanceof AbstractDocument) ((AbstractDocument) doc).setDocumentFilter(null); textField.setNavigationFilter(null); // FIXME: Have to remove the Actions f... | 10,713 |
public abstract String valueToString (Object value) throws ParseException; | public abstract String valueToString(Object value) throws ParseException; | 10,714 |
public AbstractFormatterFactory () { // Do nothing here. } | public AbstractFormatterFactory() { // Do nothing here. } | 10,715 |
public abstract AbstractFormatter getFormatter (JFormattedTextField tf); | public abstract AbstractFormatter getFormatter (JFormattedTextField tf); | 10,716 |
public JFormattedTextField () { this((AbstractFormatterFactory) null, null); } | public JFormattedTextField() { this((AbstractFormatterFactory) null, null); } | 10,717 |
public void commitEdit () throws ParseException { if (formatter == null) return; // Note: this code is a lot like setValue except that we don't want // to create a new formatter. Object oldValue = this.value; this.value = formatter.stringToValue(getText());; editValid = true; fir... | public void commitEdit() throws ParseException { if (formatter == null) return; // Note: this code is a lot like setValue except that we don't want // to create a new formatter. Object oldValue = this.value; this.value = formatter.stringToValue(getText());; editValid = true; fire... | 10,718 |
public Action[] getActions () { // FIXME: Add JFormattedTextField specific actions // These are related to committing or cancelling edits. return super.getActions(); } | public Action[] getActions() { // FIXME: Add JFormattedTextField specific actions // These are related to committing or cancelling edits. return super.getActions(); } | 10,719 |
private AbstractFormatterFactory getAppropriateFormatterFactory (Format format) { AbstractFormatter newFormatter; if (format instanceof DateFormat) newFormatter = new DateFormatter((DateFormat)format); else if (format instanceof NumberFormat) newFormatter = new NumberFormatter ((NumberFormat)forma... | private AbstractFormatterFactory getAppropriateFormatterFactory(Format format) { AbstractFormatter newFormatter; if (format instanceof DateFormat) newFormatter = new DateFormatter((DateFormat)format); else if (format instanceof NumberFormat) newFormatter = new NumberFormatter ((NumberFormat)format... | 10,720 |
private AbstractFormatterFactory getAppropriateFormatterFactory (Format format) { AbstractFormatter newFormatter; if (format instanceof DateFormat) newFormatter = new DateFormatter((DateFormat)format); else if (format instanceof NumberFormat) newFormatter = new NumberFormatter ((NumberFormat)forma... | private AbstractFormatterFactory getAppropriateFormatterFactory (Format format) { AbstractFormatter newFormatter; if (format instanceof DateFormat) newFormatter = new DateFormatter((DateFormat) format); else if (format instanceof NumberFormat) newFormatter = new NumberFormatter ((NumberFormat)form... | 10,721 |
private AbstractFormatterFactory getAppropriateFormatterFactory (Format format) { AbstractFormatter newFormatter; if (format instanceof DateFormat) newFormatter = new DateFormatter((DateFormat)format); else if (format instanceof NumberFormat) newFormatter = new NumberFormatter ((NumberFormat)forma... | private AbstractFormatterFactory getAppropriateFormatterFactory (Format format) { AbstractFormatter newFormatter; if (format instanceof DateFormat) newFormatter = new DateFormatter((DateFormat)format); else if (format instanceof NumberFormat) newFormatter = new NumberFormatter ((NumberFormat) form... | 10,722 |
public AbstractFormatter getFormatter () { return formatter; } | public AbstractFormatter getFormatter() { return formatter; } | 10,723 |
public AbstractFormatterFactory getFormatterFactory () { return formatterFactory; } | public AbstractFormatterFactory getFormatterFactory() { return formatterFactory; } | 10,724 |
public String getUIClassID () { return "FormattedTextFieldUI"; } | public String getUIClassID() { return "FormattedTextFieldUI"; } | 10,725 |
public Object getValue () { return value; } | public Object getValue() { return value; } | 10,726 |
protected void invalidEdit () { UIManager.getLookAndFeel().provideErrorFeedback(this); } | protected void invalidEdit() { UIManager.getLookAndFeel().provideErrorFeedback(this); } | 10,727 |
public boolean isEditValid () { return editValid; } | public boolean isEditValid() { return editValid; } | 10,728 |
protected void processFocusEvent (FocusEvent evt) { super.processFocusEvent(evt); // Let the formatterFactory change the formatter for this text field // based on whether or not it has focus. setFormatter (formatterFactory.getFormatter(this)); } | protected void processFocusEvent(FocusEvent evt) { super.processFocusEvent(evt); // Let the formatterFactory change the formatter for this text field // based on whether or not it has focus. setFormatter (formatterFactory.getFormatter(this)); } | 10,729 |
protected void setFormatter (AbstractFormatter formatter) { AbstractFormatter oldFormatter = null; oldFormatter = this.formatter; if (oldFormatter != null) oldFormatter.uninstall(); this.formatter = formatter; if (formatter != null) formatter.install(this); firePropertyChange(... | protected void setFormatter(AbstractFormatter formatter) { AbstractFormatter oldFormatter = null; oldFormatter = this.formatter; if (oldFormatter != null) oldFormatter.uninstall(); this.formatter = formatter; if (formatter != null) formatter.install(this); firePropertyChange("... | 10,730 |
public void setFormatterFactory (AbstractFormatterFactory factory) { if (formatterFactory == factory) return; AbstractFormatterFactory oldFactory = formatterFactory; formatterFactory = factory; firePropertyChange("formatterFactory", oldFactory, factory); // Now set the formatter according... | public void setFormatterFactory(AbstractFormatterFactory factory) { if (formatterFactory == factory) return; AbstractFormatterFactory oldFactory = formatterFactory; formatterFactory = factory; firePropertyChange("formatterFactory", oldFactory, factory); // Now set the formatter according ... | 10,731 |
public void setValue (Object newValue) { if (value == newValue) return; Object oldValue = value; value = newValue; // If there is no formatterFactory then make one. if (formatterFactory == null) setFormatterFactory(createFormatterFactory(newValue)); // Set the formatter approp... | public void setValue(Object newValue) { if (value == newValue) return; Object oldValue = value; value = newValue; // If there is no formatterFactory then make one. if (formatterFactory == null) setFormatterFactory(createFormatterFactory(newValue)); // Set the formatter appropr... | 10,732 |
private void doExecute() throws BuildException, ClassNotFoundException, IllegalAccessException, IOException { final VmArchitecture arch = getArchitecture(); final int slotSize = arch.getReferenceSize(); VmSystemClassLoader cl = new VmSystemClassLoader(classesURL, arch); final Vm vm = new Vm(arch, null, cl.getStati... | private void doExecute() throws BuildException, ClassNotFoundException, IllegalAccessException, IOException { final VmArchitecture arch = getArchitecture(); final int slotSize = arch.getReferenceSize(); VmSystemClassLoader cl = new VmSystemClassLoader(classesURL, arch); final Vm vm = new Vm(arch, null, cl.getStati... | 10,733 |
public void actionPerformed(ActionEvent e) { doConnections(); } | public void actionPerformed(ActionEvent e) { doConnections(); } | 10,735 |
public void actionPerformed(ActionEvent e) { changeConnection(); getFocusForMe(); } | public void actionPerformed(ActionEvent e) { changeConnection(); getFocusForMe(); } | 10,736 |
public void actionPerformed(ActionEvent e) { closeSession(); } | public void actionPerformed(ActionEvent e) { closeSession(); } | 10,737 |
private void sendMeToFile() { new SendScreenToFile(screen); } | privatevoidsendMeToFile(){newSendScreenToFile(screen);} | 10,738 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.