bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void setDataElements(int x, int y, Object obj, DataBuffer data) { int transferType = getTransferType(); if (getTransferType() != data.getDataType()) { throw new IllegalArgumentException("transfer type ("+ getTransferType()+"), "+ "does not match data "+ "buffer type (" + ...
public void setDataElements(int x, int y, Object obj, DataBuffer data) { int transferType = getTransferType(); if (getTransferType() != data.getDataType()) { throw new IllegalArgumentException("transfer type ("+ getTransferType()+"), "+ "does not match data "+ "buffer type (" + ...
19,478
public void setDataElements(int x, int y, Object obj, DataBuffer data) { int transferType = getTransferType(); if (getTransferType() != data.getDataType()) { throw new IllegalArgumentException("transfer type ("+ getTransferType()+"), "+ "does not match data "+ "buffer type (" + ...
public void setDataElements(int x, int y, Object obj, DataBuffer data) { int transferType = getTransferType(); if (getTransferType() != data.getDataType()) { throw new IllegalArgumentException("transfer type ("+ getTransferType()+"), "+ "does not match data "+ "buffer type (" + ...
19,479
public void setDataElements(int x, int y, Object obj, DataBuffer data) { int transferType = getTransferType(); if (getTransferType() != data.getDataType()) { throw new IllegalArgumentException("transfer type ("+ getTransferType()+"), "+ "does not match data "+ "buffer type (" + ...
public void setDataElements(int x, int y, Object obj, DataBuffer data) { int transferType = getTransferType(); if (getTransferType() != data.getDataType()) { throw new IllegalArgumentException("transfer type ("+ getTransferType()+"), "+ "does not match data "+ "buffer type (" + ...
19,480
public void setDataElements(int x, int y, Object obj, DataBuffer data) { int transferType = getTransferType(); if (getTransferType() != data.getDataType()) { throw new IllegalArgumentException("transfer type ("+ getTransferType()+"), "+ "does not match data "+ "buffer type (" + ...
public void setDataElements(int x, int y, Object obj, DataBuffer data) { int transferType = getTransferType(); if (getTransferType() != data.getDataType()) { throw new IllegalArgumentException("transfer type ("+ getTransferType()+"), "+ "does not match data "+ "buffer type (" + ...
19,481
public Exception getException() { return exception; } // getException()
public Exception getException() { return exception; } // getException()
19,482
public Exception getException() { return exception; } // getException()
public Exception getException() { return exception; } // getException()
19,483
public String getMessage() { return super.getMessage(); } // getMessage()
public String getMessage() { return super.getMessage(); } // getMessage()
19,484
public DateFormatSymbols (Locale locale) throws MissingResourceException { ResourceBundle res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", locale); ampms = res.getStringArray ("ampms"); eras = res.getStringArray ("eras"); localPatternChars = res.getString ("localPatternChars"); ...
public DateFormatSymbols (Locale locale) throws MissingResourceException { ResourceBundle res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", locale, ClassLoader.getSystemClassLoader()); ampms = res.getStringArray ("ampms"); eras = res.getStringArray ("eras"); localPatternChars = res...
19,485
public String group (int group) throws IllegalStateException { assertMatchOp(); return match.toString(group); }
public String group (int group) throws IllegalStateException { assertMatchOp(); return match.toString(group); }
19,486
public String group (int group) throws IllegalStateException { assertMatchOp(); return match.toString(group); }
public String group (int group) throws IllegalStateException { assertMatchOp(); return match.toString(); }
19,487
public boolean equals (Object obj) { if (! (obj instanceof DateFormatSymbols)) return false; DateFormatSymbols other = (DateFormatSymbols) obj; return (equals(ampms, other.ampms) && equals(eras, other.eras) && equals(localPatternChars, other.localPatternChars) && equals(months, other.months...
private static boolean equals (Object x, Object y) { if (! (obj instanceof DateFormatSymbols)) return false; DateFormatSymbols other = (DateFormatSymbols) obj; return (equals(ampms, other.ampms) && equals(eras, other.eras) && equals(localPatternChars, other.localPatternChars) && equals(mont...
19,488
public boolean equals (Object obj) { if (! (obj instanceof DateFormatSymbols)) return false; DateFormatSymbols other = (DateFormatSymbols) obj; return (equals(ampms, other.ampms) && equals(eras, other.eras) && equals(localPatternChars, other.localPatternChars) && equals(months, other.months...
public boolean equals (Object obj) { if (x == y) return true; if (x == null || y == null) return false; DateFormatSymbols other = (DateFormatSymbols) obj; return (equals(ampms, other.ampms) && equals(eras, other.eras) && equals(localPatternChars, other.localPatternChars) && equals(months, o...
19,489
public boolean equals (Object obj) { if (! (obj instanceof DateFormatSymbols)) return false; DateFormatSymbols other = (DateFormatSymbols) obj; return (equals(ampms, other.ampms) && equals(eras, other.eras) && equals(localPatternChars, other.localPatternChars) && equals(months, other.months...
public boolean equals (Object obj) { if (! (obj instanceof DateFormatSymbols)) return false; DateFormatSymbols other = (DateFormatSymbols) obj; return (equals(ampms, other.ampms) && equals(eras, other.eras) && equals(localPatternChars, other.localPatternChars) && equals(months, other.months...
19,490
public int hashCode () { return (hashCode(ampms) ^ hashCode(eras) ^ hashCode(localPatternChars) ^ hashCode(months) ^ hashCode(shortMonths) ^ hashCode(shortWeekdays) ^ hashCode(weekdays) ^ hashCode(zoneStrings)); }
private static int hashCode (Object x) { return (hashCode(ampms) ^ hashCode(eras) ^ hashCode(localPatternChars) ^ hashCode(months) ^ hashCode(shortMonths) ^ hashCode(shortWeekdays) ^ hashCode(weekdays) ^ hashCode(zoneStrings)); }
19,491
public int hashCode () { return (hashCode(ampms) ^ hashCode(eras) ^ hashCode(localPatternChars) ^ hashCode(months) ^ hashCode(shortMonths) ^ hashCode(shortWeekdays) ^ hashCode(weekdays) ^ hashCode(zoneStrings)); }
public int hashCode () { return (hashCode(ampms) ^ hashCode(eras) ^ hashCode(localPatternChars) ^ hashCode(months) ^ hashCode(shortMonths) ^ hashCode(shortWeekdays) ^ hashCode(weekdays) ^ hashCode(zoneStrings)); }
19,492
public void addSelectionPath(TreePath path) { if (! isPathSelected(path)) { if (selectionMode == SINGLE_TREE_SELECTION || isSelectionEmpty() || ! canPathBeAdded(path)) setSelectionPath(path); else { TreePath[] temp = new TreePath[selection.length + 1]; System.arraycopy(selection, 0,...
public void addSelectionPath(TreePath path) { if (! isPathSelected(path)) { if (selectionMode == SINGLE_TREE_SELECTION || isSelectionEmpty() || ! canPathBeAdded(path)) setSelectionPath(path); else { TreePath[] temp = new TreePath[selection.length + 1]; System.arraycopy(selection, 0,...
19,493
protected boolean arePathsContiguous(TreePath[] paths) { if (rowMapper == null || paths.length < 2) return true; int[] rows = rowMapper.getRowsForPaths(paths); // The patches may not be sorted. Arrays.sort(rows); for (int i = 1; i < rows.length; i++) { if (rows[i-1] != rows[i] - 1)...
protected boolean arePathsContiguous(TreePath[] paths) { if (rowMapper == null || paths.length < 2) return true; int[] rows = rowMapper.getRowsForPaths(paths); // The patches may not be sorted. Arrays.sort(rows); for (int i = 1; i < rows.length; i++) { if (rows[i - 1] != rows[i] - ...
19,494
public Object clone() throws CloneNotSupportedException { DefaultTreeSelectionModel cloned = (DefaultTreeSelectionModel) super.clone(); // Clone the selection and the list selection model. cloned.selection = (TreePath[]) selection.clone(); if (listSelectionModel!=null) cloned.listSelectionMo...
public Object clone() throws CloneNotSupportedException { DefaultTreeSelectionModel cloned = (DefaultTreeSelectionModel) super.clone(); // Clone the selection and the list selection model. cloned.selection = (TreePath[]) selection.clone(); if (listSelectionModel!=null) cloned.listSelectionMo...
19,495
public boolean isSelectionEmpty() { return ((selection == null) || (selection.length == 0)); }
public boolean isSelectionEmpty() { return (selection == null) || (selection.length == 0); }
19,496
public void removeSelectionPath(TreePath path) { if (isSelectionEmpty()) return; int index = - 1; if (isPathSelected(path)) { for (int i = 0; i < selection.length; i++) { if (selection[i].equals(path)) { index = i; break; } } TreePath[] temp = new TreePath[selection.length - ...
public void removeSelectionPath(TreePath path) { if (isSelectionEmpty()) return; int index = - 1; if (isPathSelected(path)) { for (int i = 0; i < selection.length; i++) { if (selection[i].equals(path)) { index = i; break; } } TreePath[] temp = new TreePath[selection.length - ...
19,497
private void selectOne() { if (leadIndex > 0 && leadIndex < selection.length) setSelectionPath(selection[leadIndex]); else setSelectionPath(selection[selection.length -1]); }
private void selectOne() { if (leadIndex > 0 && leadIndex < selection.length) setSelectionPath(selection[leadIndex]); else setSelectionPath(selection[selection.length - 1]); }
19,498
public String toString() { if (isSelectionEmpty()) return "[selection empty]"; else { StringBuffer b = new StringBuffer("selected rows: ["); for (int i = 0; i < selection.length; i++) { b.append(getRow(selection[i])); b.append(' '); } b.ap...
public String toString() { if (isSelectionEmpty()) return "[selection empty]"; else { StringBuffer b = new StringBuffer("selected rows: ["); for (int i = 0; i < selection.length; i++) { b.append(getRow(selection[i])); b.append(' '); } b.ap...
19,499
public static ComponentUI createUI(JComponent component) { if (instances == null) instances = new HashMap(); Object o = instances.get(component); MetalSplitPaneUI instance; if (o == null) { instance = new MetalSplitPaneUI(); instances.put(component, instance); } else instance ...
public static ComponentUI createUI(JComponent component) { if (instances == null) instances = new HashMap(); Object o = instances.get(component); MetalSplitPaneUI instance; if (o == null) { instance = new MetalSplitPaneUI(); instances.put(component, instance); } else instance ...
19,500
public String getDisplayName() { return displayName; }
public String getDisplayName() { return (displayName == null) ? name : displayName; }
19,501
public String getShortDescription() { return shortDescription; }
public String getShortDescription() { return (shortDescription == null) ? getDisplayName() : shortDescription; }
19,502
public static Policy narrow(org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof Policy) return (Policy) obj; else if (!obj._is_a(id())) throw new BAD_PARAM("Not a Policy"); else { Delegate delegate = ((ObjectImpl) obj)._get_delegate(); retur...
public static Policy narrow(org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof Policy) return (Policy) obj; else if (!obj._is_a(id())) throw new BAD_PARAM("Not a Policy"); else { Delegate delegate = ((ObjectImpl) obj)._get_delegate(); retur...
19,503
public PolicyHolder(Policy initialValue) { value = initialValue; }
public PolicyHolder() { value = initialValue; }
19,505
public PolicyHolder(Policy initialValue) { value = initialValue; }
public PolicyHolder(Policy initialValue) { }
19,506
public _PolicyStub(Delegate delegate) { _set_delegate(delegate); }
public _PolicyStub() { _set_delegate(delegate); }
19,507
public _PolicyStub(Delegate delegate) { _set_delegate(delegate); }
public _PolicyStub(Delegate delegate) { }
19,508
public void installUI(JComponent c) { super.installUI(c); }
public void installUI(JComponent c) { super.installUI(c); }
19,509
public static void main(String[] args) throws Exception { final ParsedArguments cmdLine = HELP_INFO.parse(args); final URL url = openURL(ARG_FILE.getValue(cmdLine)); final InputStream is = url.openStream(); if (is == null) { System.err.println("Not found " + ARG_FILE.getValue(...
public static void main(String[] args) throws Exception { final ParsedArguments cmdLine = HELP_INFO.parse(args); final URL url = openURL(ARG_FILE.getValue(cmdLine)); final InputStream is = url.openStream(); if (is == null) { System.err.println("Not found " + ARG_FILE.getValue(...
19,510
private static URL openURL(String fname) throws MalformedURLException { try { return new URL(fname); } catch (MalformedURLException ex) { return new File(fname).toURL(); } }
private URL openURL(String fname) throws MalformedURLException { try { return new URL(fname); } catch (MalformedURLException ex) { return new File(fname).toURL(); } }
19,511
public Preferences systemRoot() { return null; }
public Preferences systemRoot() { return systemPreferences; }
19,512
public Preferences userRoot() { return null; }
public Preferences userRoot() { return userPreferences; }
19,513
private Component findTarget(Component c) { Component target = c; while (target != null && target.getMouseListeners().length == 0) { target = target.getParent(); } return target; }
private Component findTarget(Container c, Point loc) { Component target = c; while (target != null && target.getMouseListeners().length == 0) { target = target.getParent(); } return target; }
19,514
private Component findTarget(Component c) { Component target = c; while (target != null && target.getMouseListeners().length == 0) { target = target.getParent(); } return target; }
private Component findTarget(Component c) { Component target = c; while (target != null && target.getMouseListeners().length == 0) { target = target.getParent(); } return target; }
19,515
private Component findTarget(Component c) { Component target = c; while (target != null && target.getMouseListeners().length == 0) { target = target.getParent(); } return target; }
private Component findTarget(Component c) { Component target = c; while (target != null && target.getMouseListeners().length == 0) { for (int i = 0; i < children.length; i++) { Component child = children[i]; if (child.isShowing()) { if (child.contains(loc.x - child.getX(), loc.y - child.getY()) && ...
19,516
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
19,517
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
19,518
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
19,519
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
19,520
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
19,521
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
19,522
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
lastTarget = target; lastTarget = target; private lastTarget = target; boolean lastTarget = target; handleMouseEvent(MouseEvent lastTarget = target; ev) lastTarget = target; lastTarget = target; { lastTarget = target; lastTarget = target; lastTarget = target; lastTarget = target; Window lastTarget = t...
19,523
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
19,524
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); Component target = window.findComponentAt(ev.getX(), ev.getY()); target = findTarget(target); if (target == null || target.isLightweight()) { // Dispatch additional MOUSE_EXITED and MOUSE_ENTERED if eve...
19,525
void set_value(byte[] a_value);
void set_value(byte[] a_value);
19,527
Object getOption(int option_id) throws SocketException;
Object getOption(int option_id) throws SocketException;
19,528
void setOption(int option_id, Object val) throws SocketException;
void setOption(int option_id, Object val) throws SocketException;
19,529
public Rectangle getBounds(TreePath value0, Rectangle value1) { return null; // TODO } // getBounds()
public Rectangle getBounds(TreePath value0, Rectangle value1) { return null; // TODO } // getBounds()
19,530
public boolean getExpandedState(TreePath value0) { return false; // TODO } // getExpandedState()
public boolean getExpandedState(TreePath value0) { return false; // TODO } // getExpandedState()
19,531
public TreePath getPathClosestTo(int value0, int value1) { return null; // TODO } // getPathClosestTo()
public TreePath getPathClosestTo(int value0, int value1) { return null; // TODO } // getPathClosestTo()
19,532
public TreePath getPathForRow(int value0) { return null; // TODO } // getPathForRow()
public TreePath getPathForRow(int value0) { return null; // TODO } // getPathForRow()
19,533
public int getRowCount() { return 0; // TODO } // getRowCount()
public int getRowCount() { return 0; // TODO } // getRowCount()
19,534
public int getRowForPath(TreePath value0) { return 0; // TODO } // getRowForPath()
public int getRowForPath(TreePath value0) { return 0; // TODO } // getRowForPath()
19,535
public int getVisibleChildCount(TreePath value0) { return 0; // TODO } // getVisibleChildCount()
public int getVisibleChildCount(TreePath value0) { return 0; // TODO } // getVisibleChildCount()
19,536
public Enumeration getVisiblePathsFrom(TreePath value0) { return null; // TODO } // getVisiblePathsFrom()
public Enumeration getVisiblePathsFrom(TreePath value0) { return null; // TODO } // getVisiblePathsFrom()
19,537
public void invalidatePathBounds(TreePath value0) { // TODO } // invalidatePathBounds()
public void invalidatePathBounds(TreePath value0) { // TODO } // invalidatePathBounds()
19,538
public void invalidateSizes() { // TODO } // invalidateSizes()
public void invalidateSizes() { // TODO } // invalidateSizes()
19,539
public boolean isExpanded(TreePath value0) { return false; // TODO } // isExpanded()
public boolean isExpanded(TreePath value0) { return false; // TODO } // isExpanded()
19,540
public void setExpandedState(TreePath value0, boolean value1) { // TODO } // setExpandedState()
public void setExpandedState(TreePath value0, boolean value1) { // TODO } // setExpandedState()
19,541
public void treeNodesChanged(TreeModelEvent value0) { // TODO } // treeNodesChanged()
public void treeNodesChanged(TreeModelEvent value0) { // TODO } // treeNodesChanged()
19,542
public void treeNodesInserted(TreeModelEvent value0) { // TODO } // treeNodesInserted()
public void treeNodesInserted(TreeModelEvent value0) { // TODO } // treeNodesInserted()
19,543
public void treeNodesRemoved(TreeModelEvent value0) { // TODO } // treeNodesRemoved()
public void treeNodesRemoved(TreeModelEvent value0) { // TODO } // treeNodesRemoved()
19,544
public void treeStructureChanged(TreeModelEvent value0) { // TODO } // treeStructureChanged()
public void treeStructureChanged(TreeModelEvent value0) { // TODO } // treeStructureChanged()
19,545
public String getName() { final Class<?> declClass = getDeclaringClass(); return declClass.getName(); }
public String getName() { final Class<?> declClass = getDeclaringClass(); return declClass.getName(); }
19,546
public InstantiationException(String s) { super(s); }
public InstantiationException(String s) { super(s); }
19,547
InputEvent(Component source, int id, long when, int modifiers) { super(source, id); this.when = when; this.modifiers = EventModifier.extend(modifiers); }
InputEvent(Component source, int id, long when, int modifiers) { super(source, id); this.when = when; this.modifiers = modifiers & EventModifier.OLD_MASK; this.modifiersEx = modifiers & EventModifier.NEW_MASK; }
19,548
public int getModifiers() { return EventModifier.revert(modifiers); }
public int getModifiers() { return modifiers; }
19,549
public int getModifiersEx() { return modifiers; }
public int getModifiersEx() { return modifiersEx; }
19,550
public boolean isAltDown() { return (modifiers & ALT_DOWN_MASK) != 0; }
public boolean isAltDown() { return ((modifiers & ALT_MASK) != 0) || ((modifiersEx & ALT_DOWN_MASK) != 0); }
19,551
public boolean isAltGraphDown() { return (modifiers & ALT_GRAPH_DOWN_MASK) != 0; }
public boolean isAltGraphDown() { return ((modifiers & ALT_GRAPH_MASK) != 0) || ((modifiersEx & ALT_GRAPH_DOWN_MASK) != 0); }
19,552
public boolean isControlDown() { return (modifiers & CTRL_DOWN_MASK) != 0; }
public boolean isControlDown() { return ((modifiers & CTRL_MASK) != 0) || ((modifiersEx & CTRL_DOWN_MASK) != 0); }
19,553
public boolean isMetaDown() { return (modifiers & META_DOWN_MASK) != 0; }
public boolean isMetaDown() { return ((modifiers & META_MASK) != 0) || ((modifiersEx & META_DOWN_MASK) != 0); }
19,554
public boolean isShiftDown() { return (modifiers & SHIFT_DOWN_MASK) != 0; }
public boolean isShiftDown() { return ((modifiers & SHIFT_MASK) != 0) || ((modifiersEx & SHIFT_DOWN_MASK) != 0); }
19,555
public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov...
private synchronized boolean registerServiceProvider(Object provider, int cat) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerService...
19,557
public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov...
public synchronized void registerServiceProvider(Object provider) { LinkedList provs; boolean result; Class category; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; ...
19,558
public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov...
public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov...
19,559
public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov...
public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov...
19,560
public AccessibleContext getAccessibleContext() { //Gets the AccessibleContext associated with this JCheckBox. return null; }
public AccessibleContext getAccessibleContext() { //Gets the AccessibleContext associated with this JCheckBox. return null; }
19,561
public String getUIClassID() { //Returns a string that specifies the name of the L&F class that renders this component. return "JCheckBox"; }
public String getUIClassID() { //Returns a string that specifies the name of the L&F class that renders this component. return "JCheckBox"; }
19,562
protected String paramString() { return "JCheckBox"; }
protected String paramString() { return "JCheckBox"; }
19,563
public int getLayoutFlags () throws NotImplementedException { throw new Error ("not implemented"); }
public int getLayoutFlags () throws NotImplementedException { throw new Error ("not implemented"); }
19,564
public int getLayoutFlags () throws NotImplementedException { throw new Error ("not implemented"); }
public int getLayoutFlags () throws NotImplementedException { return 0; }
19,565
public BindingHolder(Binding initialValue) { value = initialValue; }
public BindingHolder() { value = initialValue; }
19,566
public BindingHolder(Binding initialValue) { value = initialValue; }
public BindingHolder(Binding initialValue) { }
19,567
public void paint(Graphics g) { paintComponent(g); paintBorder(g); paintChildren(g); }
public void paint(Graphics g) { paintComponent(g); paintBorder(g); paintChildren(g); }
19,568
void paintDoubleBuffered(Rectangle r) { RepaintManager rm = RepaintManager.currentManager(this); // Paint on the offscreen buffer. Image buffer = rm.getOffscreenBuffer(this, getWidth(), getHeight()); Graphics g = buffer.getGraphics(); Graphics g2 = getComponentGraphics(g); g2.setClip(r.x, r.y, r.wi...
void paintDoubleBuffered(Graphics g) { RepaintManager rm = RepaintManager.currentManager(this); // Paint on the offscreen buffer. Image buffer = rm.getOffscreenBuffer(this, getWidth(), getHeight()); Graphics g = buffer.getGraphics(); Graphics g2 = getComponentGraphics(g); g2.setClip(r.x, r.y, r.wid...
19,569
void paintDoubleBuffered(Rectangle r) { RepaintManager rm = RepaintManager.currentManager(this); // Paint on the offscreen buffer. Image buffer = rm.getOffscreenBuffer(this, getWidth(), getHeight()); Graphics g = buffer.getGraphics(); Graphics g2 = getComponentGraphics(g); g2.setClip(r.x, r.y, r.wi...
void paintDoubleBuffered(Rectangle r) { RepaintManager rm = RepaintManager.currentManager(this); // Paint on the offscreen buffer. Image buffer = rm.getOffscreenBuffer(this, getWidth(), getHeight()); Graphics g = buffer.getGraphics(); Graphics g2 = getComponentGraphics(g); g2.setClip(r.x, r.y, r.wi...
19,570
void paintDoubleBuffered(Rectangle r) { RepaintManager rm = RepaintManager.currentManager(this); // Paint on the offscreen buffer. Image buffer = rm.getOffscreenBuffer(this, getWidth(), getHeight()); Graphics g = buffer.getGraphics(); Graphics g2 = getComponentGraphics(g); g2.setClip(r.x, r.y, r.wi...
void paintDoubleBuffered(Rectangle r) { RepaintManager rm = RepaintManager.currentManager(this); // Paint on the offscreen buffer. Image buffer = rm.getOffscreenBuffer(this, getWidth(), getHeight()); Graphics g = buffer.getGraphics(); Graphics g2 = getComponentGraphics(g); g2.setClip(r.x, r.y, r.wi...
19,571
void paintImmediately2(Rectangle r) { RepaintManager rm = RepaintManager.currentManager(this); if (rm.isDoubleBufferingEnabled() && isDoubleBuffered()) paintDoubleBuffered(r); else paintSimple(r); }
void paintImmediately2(Rectangle r) { RepaintManager rm = RepaintManager.currentManager(this); if (rm.isDoubleBufferingEnabled() && isDoubleBuffered()) paintDoubleBuffered(g); else paintSimple(r); }
19,572
void paintImmediately2(Rectangle r) { RepaintManager rm = RepaintManager.currentManager(this); if (rm.isDoubleBufferingEnabled() && isDoubleBuffered()) paintDoubleBuffered(r); else paintSimple(r); }
void paintImmediately2(Rectangle r) { RepaintManager rm = RepaintManager.currentManager(this); if (rm.isDoubleBufferingEnabled() && isDoubleBuffered()) paintDoubleBuffered(r); else paintSimple(g); g.dispose(); }
19,573
void paintSimple(Rectangle r) { Graphics g = getGraphics(); Graphics g2 = getComponentGraphics(g); paint(g2); g2.dispose(); g2.dispose(); }
void paintSimple(Graphics g) { Graphics g = getGraphics(); Graphics g2 = getComponentGraphics(g); paint(g2); g2.dispose(); g2.dispose(); }
19,574
void paintSimple(Rectangle r) { Graphics g = getGraphics(); Graphics g2 = getComponentGraphics(g); paint(g2); g2.dispose(); g2.dispose(); }
void paintSimple(Rectangle r) { Graphics g2 = getComponentGraphics(g); paint(g2); g2.dispose(); g2.dispose(); }
19,575
void paintSimple(Rectangle r) { Graphics g = getGraphics(); Graphics g2 = getComponentGraphics(g); paint(g2); g2.dispose(); g2.dispose(); }
void paintSimple(Rectangle r) { Graphics g = getGraphics(); Graphics g2 = getComponentGraphics(g); paint(g2); g2.dispose(); g2.dispose(); }
19,576
JRootPane createRootPane() { return new JRootPane(); }
public JRootPane createRootPane() { return new JRootPane(); }
19,577
int getDefaultCloseOperation() { return close_action; }
public int getDefaultCloseOperation() { return close_action; }
19,578
Component getGlassPane() { return getRootPane().getGlassPane(); }
public Component getGlassPane() { return getRootPane().getGlassPane(); }
19,579
JLayeredPane getLayeredPane() { return getRootPane().getLayeredPane(); }
public JLayeredPane getLayeredPane() { return getRootPane().getLayeredPane(); }
19,580