bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
35,825
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; ResourceBundle bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); Enumeration e = bundle.getKeys(); ArrayList tempList = new ArrayList(); tempList = ...
35,826
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
35,827
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
35,828
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
35,829
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
35,830
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
35,831
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
private static String[] getISOStrings(String tableName) List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName))...
35,832
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
private static String[] getISOStrings(String tableName) { List tempList; ResourceBundle bundle; Enumeration keys; int count = 0; String[] strings; tempList = new ArrayList(); bundle = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); keys = ((Hashtable) bundle.getObject(tableName...
35,833
public void updateUI() { setUI((DesktopPaneUI) UIManager.getUI(this)); invalidate(); }
public void updateUI() { setUI((DesktopPaneUI) UIManager.getUI(this)); }
35,834
protected AccessibleAWTComponentHandler() { }
protected AccessibleAWTComponentHandler() { }
35,835
public void componentHidden(ComponentEvent e) { AccessibleAWTComponent.this.firePropertyChange(ACCESSIBLE_STATE_PROPERTY, AccessibleState.VISIBLE, null); }
public void componentHidden(ComponentEvent e) { AccessibleAWTComponent.this.firePropertyChange(ACCESSIBLE_STATE_PROPERTY, AccessibleState.VISIBLE, null); }
35,836
public void componentMoved(ComponentEvent e) { }
public void componentMoved(ComponentEvent e) { }
35,837
public void componentResized(ComponentEvent e) { }
public void componentResized(ComponentEvent e) { }
35,838
public void componentShown(ComponentEvent e) { AccessibleAWTComponent.this.firePropertyChange(ACCESSIBLE_STATE_PROPERTY, null, AccessibleState.VISIBLE); }
public void componentShown(ComponentEvent e) { AccessibleAWTComponent.this.firePropertyChange(ACCESSIBLE_STATE_PROPERTY, null, AccessibleState.VISIBLE); }
35,839
protected AccessibleAWTFocusHandler() { }
protected AccessibleAWTFocusHandler() { }
35,840
public void focusGained(FocusEvent e) { AccessibleAWTComponent.this.firePropertyChange(ACCESSIBLE_STATE_PROPERTY, null, AccessibleState.FOCUSED); }
public void focusGained(FocusEvent e) { AccessibleAWTComponent.this.firePropertyChange(ACCESSIBLE_STATE_PROPERTY, null, AccessibleState.FOCUSED); }
35,841
public void focusLost(FocusEvent e) { AccessibleAWTComponent.this.firePropertyChange(ACCESSIBLE_STATE_PROPERTY, AccessibleState.FOCUSED, null); }
public void focusLost(FocusEvent e) { AccessibleAWTComponent.this.firePropertyChange(ACCESSIBLE_STATE_PROPERTY, AccessibleState.FOCUSED, null); }
35,842
protected AccessibleAWTComponent() { Component.this.addComponentListener(accessibleAWTComponentHandler); Component.this.addFocusListener(accessibleAWTFocusHandler); }
protected AccessibleAWTComponent() { Component.this.addComponentListener(accessibleAWTComponentHandler); Component.this.addFocusListener(accessibleAWTFocusHandler); }
35,843
public void addFocusListener(FocusListener l) { Component.this.addFocusListener(l); }
public void addFocusListener(FocusListener l) { Component.this.addFocusListener(l); }
35,844
public void addPropertyChangeListener(PropertyChangeListener l) { Component.this.addPropertyChangeListener(l); super.addPropertyChangeListener(l); }
public void addPropertyChangeListener(PropertyChangeListener l) { Component.this.addPropertyChangeListener(l); super.addPropertyChangeListener(l); }
35,845
public boolean contains(Point p) { return Component.this.contains(p.x, p.y); }
public boolean contains(Point p) { return Component.this.contains(p.x, p.y); }
35,846
public Accessible getAccessibleAt(Point p) { return null; }
public Accessible getAccessibleAt(Point p) { return null; }
35,847
public Accessible getAccessibleChild(int i) { return null; }
public Accessible getAccessibleChild(int i) { return null; }
35,848
public int getAccessibleChildrenCount() { return 0; }
public int getAccessibleChildrenCount() { return 0; }
35,849
public AccessibleComponent getAccessibleComponent() { return this; }
public AccessibleComponent getAccessibleComponent() { return this; }
35,850
public String getAccessibleDescription() { return accessibleDescription; }
public String getAccessibleDescription() { return accessibleDescription; }
35,851
public int getAccessibleIndexInParent() { if (getAccessibleParent() == null) return -1; AccessibleContext context = ((Component) accessibleParent).getAccessibleContext(); if (context == null) return -1; for (int i = context.getAccessibleChildrenCount(); --i >= 0;) if (context.getAccessibleChild(i) ==...
public int getAccessibleIndexInParent() { if (getAccessibleParent() == null) return -1; AccessibleContext context = ((Component) accessibleParent).getAccessibleContext(); if (context == null) return -1; for (int i = context.getAccessibleChildrenCount(); --i >= 0;) if (context.getAccessibleChild(i) ==...
35,852
public int getAccessibleIndexInParent() { if (getAccessibleParent() == null) return -1; AccessibleContext context = ((Component) accessibleParent).getAccessibleContext(); if (context == null) return -1; for (int i = context.getAccessibleChildrenCount(); --i >= 0;) if (context.getAccessibleChild(i) ==...
public int getAccessibleIndexInParent() { if (getAccessibleParent() == null) return -1; AccessibleContext context = ((Component) accessibleParent).getAccessibleContext(); if (context == null) return -1; for (int i = context.getAccessibleChildrenCount(); --i >= 0;) if (context.getAccessibleChild(i) ==...
35,853
public int getAccessibleIndexInParent() { if (getAccessibleParent() == null) return -1; AccessibleContext context = ((Component) accessibleParent).getAccessibleContext(); if (context == null) return -1; for (int i = context.getAccessibleChildrenCount(); --i >= 0;) if (context.getAccessibleChild(i) ==...
public int getAccessibleIndexInParent() { if (getAccessibleParent() == null) return -1; AccessibleContext context = ((Component) accessibleParent).getAccessibleContext(); if (context == null) return -1; for (int i = context.getAccessibleChildrenCount(); --i >= 0;) if (context.getAccessibleChild(i) ==...
35,854
public String getAccessibleName() { return accessibleName == null ? getName() : accessibleName; }
public String getAccessibleName() { return accessibleName == null ? getName() : accessibleName; }
35,855
public Accessible getAccessibleParent() { if (accessibleParent == null) { Container parent = getParent(); accessibleParent = parent instanceof Accessible ? (Accessible) parent : null; } return accessibleParent; }
public Accessible getAccessibleParent() { if (accessibleParent == null) { Container parent = getParent(); accessibleParent = parent instanceof Accessible ? (Accessible) parent : null; } return accessibleParent; }
35,856
public Accessible getAccessibleParent() { if (accessibleParent == null) { Container parent = getParent(); accessibleParent = parent instanceof Accessible ? (Accessible) parent : null; } return accessibleParent; }
public Accessible getAccessibleParent() { if (accessibleParent == null) { Container parent = getParent(); accessibleParent = parent instanceof Accessible ? (Accessible) parent : null; } return accessibleParent; }
35,857
public AccessibleRole getAccessibleRole() { return AccessibleRole.AWT_COMPONENT; }
public AccessibleRole getAccessibleRole() { return AccessibleRole.AWT_COMPONENT; }
35,858
public AccessibleStateSet getAccessibleStateSet() { AccessibleStateSet s = new AccessibleStateSet(); if (Component.this.isEnabled()) s.add(AccessibleState.ENABLED); if (isFocusable()) s.add(AccessibleState.FOCUSABLE); if (isFocusOwner()) s.add(AccessibleState.FOCUSED); if (isOpaque()) s.add(Acce...
public AccessibleStateSet getAccessibleStateSet() { AccessibleStateSet s = new AccessibleStateSet(); if (Component.this.isEnabled()) s.add(AccessibleState.ENABLED); if (isFocusable()) s.add(AccessibleState.FOCUSABLE); if (isFocusOwner()) s.add(AccessibleState.FOCUSED); if (isOpaque()) s.add(Acce...
35,859
public Color getBackground() { return Component.this.getBackground(); }
public Color getBackground() { return Component.this.getBackground(); }
35,860
public Rectangle getBounds() { return Component.this.isShowing() ? Component.this.getBounds() : null; }
public Rectangle getBounds() { return Component.this.isShowing() ? Component.this.getBounds() : null; }
35,861
public Cursor getCursor() { return Component.this.getCursor(); }
public Cursor getCursor() { return Component.this.getCursor(); }
35,862
public Font getFont() { return Component.this.getFont(); }
public Font getFont() { return Component.this.getFont(); }
35,863
public FontMetrics getFontMetrics(Font f) { return Component.this.getFontMetrics(f); }
public FontMetrics getFontMetrics(Font f) { return Component.this.getFontMetrics(f); }
35,864
public Color getForeground() { return Component.this.getForeground(); }
public Color getForeground() { return Component.this.getForeground(); }
35,865
public Locale getLocale() { return Component.this.getLocale(); }
public Locale getLocale() { return Component.this.getLocale(); }
35,866
public Point getLocation() { return Component.this.isShowing() ? Component.this.getLocation() : null; }
public Point getLocation() { return Component.this.isShowing() ? Component.this.getLocation() : null; }
35,867
public Point getLocationOnScreen() { return Component.this.isShowing() ? Component.this.getLocationOnScreen() : null; }
public Point getLocationOnScreen() { return Component.this.isShowing() ? Component.this.getLocationOnScreen() : null; }
35,868
public Dimension getSize() { return Component.this.isShowing() ? Component.this.getSize() : null; }
public Dimension getSize() { return Component.this.isShowing() ? Component.this.getSize() : null; }
35,869
public boolean isEnabled() { return Component.this.isEnabled(); }
public boolean isEnabled() { return Component.this.isEnabled(); }
35,870
public boolean isFocusTraversable() { return Component.this.isFocusTraversable(); }
public boolean isFocusTraversable() { return Component.this.isFocusTraversable(); }
35,871
public boolean isShowing() { return Component.this.isShowing(); }
public boolean isShowing() { return Component.this.isShowing(); }
35,872
public boolean isVisible() { return Component.this.isVisible(); }
public boolean isVisible() { return Component.this.isVisible(); }
35,873
public void removeFocusListener(FocusListener l) { Component.this.removeFocusListener(l); }
public void removeFocusListener(FocusListener l) { Component.this.removeFocusListener(l); }
35,874
public void removePropertyChangeListener(PropertyChangeListener l) { Component.this.removePropertyChangeListener(l); super.removePropertyChangeListener(l); }
public void removePropertyChangeListener(PropertyChangeListener l) { Component.this.removePropertyChangeListener(l); super.removePropertyChangeListener(l); }
35,875
public void requestFocus() { Component.this.requestFocus(); }
public void requestFocus() { Component.this.requestFocus(); }
35,876
public void setBackground(Color c) { Component.this.setBackground(c); }
public void setBackground(Color c) { Component.this.setBackground(c); }
35,877
public void setBounds(Rectangle r) { Component.this.setBounds(r.x, r.y, r.width, r.height); }
public void setBounds(Rectangle r) { Component.this.setBounds(r.x, r.y, r.width, r.height); }
35,878
public void setCursor(Cursor cursor) { Component.this.setCursor(cursor); }
public void setCursor(Cursor cursor) { Component.this.setCursor(cursor); }
35,879
public void setEnabled(boolean b) { Component.this.setEnabled(b); }
public void setEnabled(boolean b) { Component.this.setEnabled(b); }
35,880
public void setFont(Font f) { Component.this.setFont(f); }
public void setFont(Font f) { Component.this.setFont(f); }
35,881
public void setForeground(Color c) { Component.this.setForeground(c); }
public void setForeground(Color c) { Component.this.setForeground(c); }
35,882
public void setLocation(Point p) { Component.this.setLocation(p.x, p.y); }
public void setLocation(Point p) { Component.this.setLocation(p.x, p.y); }
35,883
public void setSize(Dimension d) { Component.this.setSize(d.width, d.height); }
public void setSize(Dimension d) { Component.this.setSize(d.width, d.height); }
35,884
public void setVisible(boolean b) { Component.this.setVisible(b); }
public void setVisible(boolean b) { Component.this.setVisible(b); }
35,885
protected BltBufferStrategy(int num, BufferCapabilities caps) { this.caps = caps; createBackBuffers(num); }
protected BltBufferStrategy(int num, BufferCapabilities caps) { this.caps = caps; createBackBuffers(num); }
35,886
public boolean contentsLost() { return false; }
public boolean contentsLost() { return false; }
35,887
public boolean contentsRestored() { return false; }
public boolean contentsRestored() { return false; }
35,888
protected void createBackBuffers(int num) { backBuffers = new VolatileImage[num]; }
protected void createBackBuffers(int num) { backBuffers = new VolatileImage[num]; }
35,889
public BufferCapabilities getCapabilities() { return caps; }
public BufferCapabilities getCapabilities() { return caps; }
35,890
public Graphics getDrawGraphics() { return null; }
public Graphics getDrawGraphics() { return null; }
35,891
protected void revalidate() { }
protected void revalidate() { }
35,892
public void show() { }
public void show() { }
35,893
protected FlipBufferStrategy(int num, BufferCapabilities caps) throws AWTException { this.caps = caps; createBuffers(num, caps); }
protected FlipBufferStrategy(int num, BufferCapabilities caps) throws AWTException { this.caps = caps; createBuffers(num, caps); }
35,894
public boolean contentsLost() { return false; }
public boolean contentsLost() { return false; }
35,895
public boolean contentsRestored() { return false; }
public boolean contentsRestored() { return false; }
35,896
protected void createBuffers(int num, BufferCapabilities caps) throws AWTException { }
protected void createBuffers(int num, BufferCapabilities caps) throws AWTException { }
35,897
protected void destroyBuffers() { }
protected void destroyBuffers() { }
35,898
protected void flip(BufferCapabilities.FlipContents flipAction) { }
protected void flip(BufferCapabilities.FlipContents flipAction) { }
35,899
protected Image getBackBuffer() { return drawBuffer; }
protected Image getBackBuffer() { return drawBuffer; }
35,900
public BufferCapabilities getCapabilities() { return caps; }
public BufferCapabilities getCapabilities() { return caps; }
35,901
public Graphics getDrawGraphics() { return null; }
public Graphics getDrawGraphics() { return null; }
35,902
protected void revalidate() { }
protected void revalidate() { }
35,903
public void show() { }
public void show() { }
35,904
protected Component() { }
protected Component() { }
35,905
public boolean action(Event evt, Object what) { // XXX Add backward compatibility handling. return false; }
public boolean action(Event evt, Object what) { // XXX Add backward compatibility handling. return false; }
35,906
public synchronized void add(PopupMenu popup) { if (popups == null) popups = new Vector(); popups.add(popup); }
public synchronized void add(PopupMenu popup) { if (popups == null) popups = new Vector(); popups.add(popup); }
35,907
public synchronized void addComponentListener(ComponentListener l) { componentListener = AWTEventMulticaster.add(componentListener, l); if (componentListener != null) enableEvents(AWTEvent.COMPONENT_EVENT_MASK); }
public synchronized void addComponentListener(ComponentListener l) { componentListener = AWTEventMulticaster.add(componentListener, l); if (componentListener != null) enableEvents(AWTEvent.COMPONENT_EVENT_MASK); }
35,909
public synchronized void addFocusListener(FocusListener l) { focusListener = AWTEventMulticaster.add(focusListener, l); if (focusListener != null) enableEvents(AWTEvent.FOCUS_EVENT_MASK); }
public synchronized void addFocusListener(FocusListener l) { focusListener = AWTEventMulticaster.add(focusListener, l); if (focusListener != null) enableEvents(AWTEvent.FOCUS_EVENT_MASK); }
35,910
public synchronized void addHierarchyBoundsListener(HierarchyBoundsListener l) { hierarchyBoundsListener = AWTEventMulticaster.add(hierarchyBoundsListener, l); if (hierarchyBoundsListener != null) enableEvents(AWTEvent.HIERARCHY_BOUNDS_EVENT_MASK); }
public synchronized void addHierarchyBoundsListener(HierarchyBoundsListener l) { hierarchyBoundsListener = AWTEventMulticaster.add(hierarchyBoundsListener, l); if (hierarchyBoundsListener != null) enableEvents(AWTEvent.HIERARCHY_BOUNDS_EVENT_MASK); }
35,911
public synchronized void addHierarchyListener(HierarchyListener l) { hierarchyListener = AWTEventMulticaster.add(hierarchyListener, l); if (hierarchyListener != null) enableEvents(AWTEvent.HIERARCHY_EVENT_MASK); }
public synchronized void addHierarchyListener(HierarchyListener l) { hierarchyListener = AWTEventMulticaster.add(hierarchyListener, l); if (hierarchyListener != null) enableEvents(AWTEvent.HIERARCHY_EVENT_MASK); }
35,912
public synchronized void addInputMethodListener(InputMethodListener l) { inputMethodListener = AWTEventMulticaster.add(inputMethodListener, l); if (inputMethodListener != null) enableEvents(AWTEvent.INPUT_METHOD_EVENT_MASK); }
public synchronized void addInputMethodListener(InputMethodListener l) { inputMethodListener = AWTEventMulticaster.add(inputMethodListener, l); if (inputMethodListener != null) enableEvents(AWTEvent.INPUT_METHOD_EVENT_MASK); }
35,913
public synchronized void addKeyListener(KeyListener l) { keyListener = AWTEventMulticaster.add(keyListener, l); if (keyListener != null) enableEvents(AWTEvent.KEY_EVENT_MASK); }
public synchronized void addKeyListener(KeyListener l) { keyListener = AWTEventMulticaster.add(keyListener, l); if (keyListener != null) enableEvents(AWTEvent.KEY_EVENT_MASK); }
35,914
public synchronized void addMouseListener(MouseListener l) { mouseListener = AWTEventMulticaster.add(mouseListener, l); if (mouseListener != null) enableEvents(AWTEvent.MOUSE_EVENT_MASK); }
public synchronized void addMouseListener(MouseListener l) { mouseListener = AWTEventMulticaster.add(mouseListener, l); if (mouseListener != null) enableEvents(AWTEvent.MOUSE_EVENT_MASK); }
35,915
public synchronized void addMouseMotionListener(MouseMotionListener l) { mouseMotionListener = AWTEventMulticaster.add(mouseMotionListener, l); if (mouseMotionListener != null) enableEvents(AWTEvent.MOUSE_EVENT_MASK); }
public synchronized void addMouseMotionListener(MouseMotionListener l) { mouseMotionListener = AWTEventMulticaster.add(mouseMotionListener, l); if (mouseMotionListener != null) enableEvents(AWTEvent.MOUSE_EVENT_MASK); }
35,916
public synchronized void addMouseWheelListener(MouseWheelListener l) { mouseWheelListener = AWTEventMulticaster.add(mouseWheelListener, l); if (mouseWheelListener != null) enableEvents(AWTEvent.MOUSE_WHEEL_EVENT_MASK); }
public synchronized void addMouseWheelListener(MouseWheelListener l) { mouseWheelListener = AWTEventMulticaster.add(mouseWheelListener, l); if (mouseWheelListener != null) enableEvents(AWTEvent.MOUSE_WHEEL_EVENT_MASK); }
35,917
public void addNotify() { if (peer == null) peer = getToolkit().createComponent(this); /* Now that all the children has gotten their peers, we should have the event mask needed for this component and its lightweight subcomponents. */ peer.setEventMask(eventMask); /* We do not invalidate here, but rather ...
public void addNotify() { if (peer == null) peer = getToolkit().createComponent(this); /* Now that all the children has gotten their peers, we should have the event mask needed for this component and its lightweight subcomponents. */ peer.setEventMask(eventMask); /* We do not invalidate here, but rather ...
35,918
public void addPropertyChangeListener(PropertyChangeListener listener) { if (changeSupport == null) changeSupport = new PropertyChangeSupport(this); changeSupport.addPropertyChangeListener(listener); }
public void addPropertyChangeListener(PropertyChangeListener listener) { if (changeSupport == null) changeSupport = new PropertyChangeSupport(this); changeSupport.addPropertyChangeListener(listener); }
35,919
public void applyComponentOrientation(ComponentOrientation o) { setComponentOrientation(o); }
public void applyComponentOrientation(ComponentOrientation o) { setComponentOrientation(o); }
35,920
public boolean areFocusTraversalKeysSet(int id) { if (id < KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS || id > KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS) throw new IllegalArgumentException(); return focusTraversalKeys != null && focusTraversalKeys[id] != null; }
public boolean areFocusTraversalKeysSet(int id) { if (id < KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS || id > KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS) throw new IllegalArgumentException(); return focusTraversalKeys != null && focusTraversalKeys[id] != null; }
35,921
public Rectangle bounds() { return getBounds(); }
public Rectangle bounds() { return getBounds(); }
35,922
public int checkImage(Image image, ImageObserver observer) { return checkImage(image, image.getWidth(observer), image.getHeight(observer), observer); }
public int checkImage(Image image, ImageObserver observer) { return checkImage(image, image.getWidth(observer), image.getHeight(observer), observer); }
35,923
protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent) { switch (existingEvent.id) { case MouseEvent.MOUSE_MOVED : case MouseEvent.MOUSE_DRAGGED : // Just drop the old (intermediate) event and return the new one. return newEvent; case PaintEvent.PAINT : case PaintEvent.UPDATE : ...
protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent) { switch (existingEvent.id) { case MouseEvent.MOUSE_MOVED : case MouseEvent.MOUSE_DRAGGED : // Just drop the old (intermediate) event and return the new one. return newEvent; case PaintEvent.PAINT : case PaintEvent.UPDATE : ...
35,924
protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent) { switch (existingEvent.id) { case MouseEvent.MOUSE_MOVED : case MouseEvent.MOUSE_DRAGGED : // Just drop the old (intermediate) event and return the new one. return newEvent; case PaintEvent.PAINT : case PaintEvent.UPDATE : ...
protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent) { switch (existingEvent.id) { case MouseEvent.MOUSE_MOVED : case MouseEvent.MOUSE_DRAGGED : // Just drop the old (intermediate) event and return the new one. return newEvent; case PaintEvent.PAINT : case PaintEvent.UPDATE : ...
35,925