bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public Object[] parse (String sourceStr, ParsePosition pos) { // Check initial text. int index = pos.getIndex(); if (! sourceStr.startsWith(leader, index)) { pos.setErrorIndex(index); return null; } index += leader.length(); Vector results = new Vector (elements.length, 1); // Now check e... | public Object[] parse (String sourceStr, ParsePosition pos) { // Check initial text. int index = pos.getIndex(); if (! sourceStr.startsWith(leader, index)) { pos.setErrorIndex(index); return null; } index += leader.length(); Vector results = new Vector (elements.length, 1); // Now check e... | 23,675 |
public final URL getResource(String resourceName) { try { final JarFile jarFile = getJar(null); final JarEntry entry = jarFile.getJarEntry(resourceName); if (entry == null) { return null; } else { final String id = descriptor.getId(); return new URL("plugin:" + id + "!" + resourceName); } } catch ... | public final URL getResource(String resourceName) { try { final JarFile jarFile = getJar(null); final JarEntry entry = jarFile.getJarEntry(resourceName); if (entry == null) { return null; } else { final String id = descriptor.getId(); return new URL("plugin:" + id + "!" + resourceName); } } catch ... | 23,676 |
public void setDefaultButton(JButton newButton) { if (defaultButton == newButton) return; JButton oldButton = defaultButton; defaultButton = newButton; firePropertyChange("defaultButton", oldButton, newButton); } | public void setDefaultButton(JButton newButton) { if (defaultButton == newButton) return; JButton oldButton = defaultButton; defaultButton = newButton; firePropertyChange("defaultButton", oldButton, newButton); } | 23,678 |
protected void installDefaults(JSlider slider) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); slider.setForeground(defaults.getColor("Slider.foreground")); slider.setBackground(defaults.getColor("Slider.background")); shadowColor = defaults.getColor("Slider.shadow"); highlightColor = defa... | protected void installDefaults(JSlider slider) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); slider.setForeground(defaults.getColor("Slider.foreground")); slider.setBackground(defaults.getColor("Slider.background")); shadowColor = defaults.getColor("Slider.shadow"); highlightColor = defa... | 23,680 |
protected void installDefaults(JSlider slider) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); slider.setForeground(defaults.getColor("Slider.foreground")); slider.setBackground(defaults.getColor("Slider.background")); shadowColor = defaults.getColor("Slider.shadow"); highlightColor = defa... | protected void installDefaults(JSlider slider) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); slider.setForeground(defaults.getColor("Slider.foreground")); slider.setBackground(defaults.getColor("Slider.background")); shadowColor = defaults.getColor("Slider.shadow"); highlightColor = defa... | 23,681 |
JRootPane createRootPane() { return new JRootPane(); } | public JRootPane createRootPane() { return new JRootPane(); } | 23,682 |
Container getContentPane() { return getRootPane().getContentPane(); } | public Container getContentPane() { return getRootPane().getContentPane(); } | 23,683 |
Component getGlassPane() { return getRootPane().getGlassPane(); } | public Component getGlassPane() { return getRootPane().getGlassPane(); } | 23,684 |
JLayeredPane getLayeredPane() { return getRootPane().getLayeredPane(); } | public JLayeredPane getLayeredPane() { return getRootPane().getLayeredPane(); } | 23,685 |
JRootPane getRootPane() { if (rootPane == null) setRootPane(createRootPane()); return rootPane; } | public JRootPane getRootPane() { if (rootPane == null) setRootPane(createRootPane()); return rootPane; } | 23,686 |
void setContentPane(Container contentPane) { getRootPane().setContentPane(contentPane); } | public void setContentPane(Container contentPane) { getRootPane().setContentPane(contentPane); } | 23,687 |
void setGlassPane(Component glassPane) { getRootPane().setGlassPane(glassPane); } | public void setGlassPane(Component glassPane) { getRootPane().setGlassPane(glassPane); } | 23,688 |
void setLayeredPane(JLayeredPane layeredPane) { getRootPane().setLayeredPane(layeredPane); } | public void setLayeredPane(JLayeredPane layeredPane) { getRootPane().setLayeredPane(layeredPane); } | 23,689 |
void setRootPane(JRootPane root) { if (rootPane != null) remove(rootPane); rootPane = root; add(rootPane, BorderLayout.CENTER); } | public void setRootPane(JRootPane root) { if (rootPane != null) remove(rootPane); rootPane = root; add(rootPane, BorderLayout.CENTER); } | 23,690 |
public RTFParseException(String message) { super(message); } | public RTFParseException() { super(message); } | 23,692 |
public RTFParseException(String message) { super(message); } | public RTFParseException(String message) { super(); } | 23,693 |
public SwingDialog(Dialog awtComponent) { this.awtComponent = awtComponent; } | public SwingDialog(Dialog awtComponent) { super(awtComponent); } | 23,694 |
public AccessibleAWTListChild(List parent, int indexInParent) { this.parent = parent; index = indexInParent; if (parent == null) index = -1; } | public AccessibleAWTListChild(List parent, int indexInParent) { this.parent = parent; this.indexInParent = indexInParent; if (parent == null) index = -1; } | 23,695 |
public AccessibleAWTListChild(List parent, int indexInParent) { this.parent = parent; index = indexInParent; if (parent == null) index = -1; } | public AccessibleAWTListChild(List parent, int indexInParent) { this.parent = parent; index = indexInParent; if (parent == null) this.indexInParent = -1; } | 23,696 |
public int getAccessibleIndexInParent() { return index; } | public int getAccessibleIndexInParent() { return indexInParent; } | 23,697 |
public AccessibleStateSet getAccessibleStateSet() { AccessibleStateSet states = super.getAccessibleStateSet(); if (parent.isIndexSelected(index)) states.add(AccessibleState.SELECTED); return states; } | public AccessibleStateSet getAccessibleStateSet() { AccessibleStateSet states = super.getAccessibleStateSet(); if (parent.isIndexSelected(indexInParent)) states.add(AccessibleState.SELECTED); return states; } | 23,698 |
private int indexOfCRLF(char[] b, int off, int len) throws IOException { doReset = false; int lm1 = len - 1; for (int i = off; i < len; i++) { if (b[i] == '\r') // CR { int d; if (i == lm1) { d = in.read(); doReset = tr... | private int indexOfCRLF(char[] b, int off, int len) throws IOException { doReset = false; int lm1 = len - 1; for (int i = off; i < len; i++) { if (b[i] == '\r') // CR { int d; if (i == lm1) { d = in.read(); doReset = tr... | 23,699 |
private int indexOfCRLF(char[] b, int off, int len) throws IOException { doReset = false; int lm1 = len - 1; for (int i = off; i < len; i++) { if (b[i] == '\r') // CR { int d; if (i == lm1) { d = in.read(); doReset = tr... | private int indexOfCRLF(char[] b, int off, int len) throws IOException { doReset = false; int lm1 = len - 1; for (int i = off; i < len; i++) { if (b[i] == '\r') // CR { int d; if (i == em1) { d = in.read(); doReset = tr... | 23,700 |
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities... | public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities... | 23,701 |
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities... | public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities... | 23,702 |
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities... | public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities... | 23,703 |
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities... | public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities... | 23,704 |
public void popupMenuWillBecomeVisible(PopupMenuEvent event) { // Adds topWindowListener to top-level window to listener to // ComponentEvents fired by it. We need to cancel this popup menu // if topWindow to which this popup belongs was resized or moved. Component invoker = popupMenu.getInv... | public void popupMenuWillBecomeVisible(PopupMenuEvent event) { // Adds topWindowListener to top-level window to listener to // ComponentEvents fired by it. We need to cancel this popup menu // if topWindow to which this popup belongs was resized or moved. Component invoker = popupMenu.getInv... | 23,705 |
public void popupMenuWillBecomeVisible(PopupMenuEvent event) { // Adds topWindowListener to top-level window to listener to // ComponentEvents fired by it. We need to cancel this popup menu // if topWindow to which this popup belongs was resized or moved. Component invoker = popupMenu.getInv... | public void popupMenuWillBecomeVisible(PopupMenuEvent event) { // Adds topWindowListener to top-level window to listener to // ComponentEvents fired by it. We need to cancel this popup menu // if topWindow to which this popup belongs was resized or moved. Component invoker = popupMenu.getInv... | 23,706 |
public void popupMenuWillBecomeVisible(PopupMenuEvent event) { // Adds topWindowListener to top-level window to listener to // ComponentEvents fired by it. We need to cancel this popup menu // if topWindow to which this popup belongs was resized or moved. Component invoker = popupMenu.getInv... | public void popupMenuWillBecomeVisible(PopupMenuEvent event) { // Adds topWindowListener to top-level window to listener to // ComponentEvents fired by it. We need to cancel this popup menu // if topWindow to which this popup belongs was resized or moved. Component invoker = popupMenu.getInv... | 23,707 |
public void popupMenuWillBecomeVisible(PopupMenuEvent event) { // Adds topWindowListener to top-level window to listener to // ComponentEvents fired by it. We need to cancel this popup menu // if topWindow to which this popup belongs was resized or moved. Component invoker = popupMenu.getInv... | public void popupMenuWillBecomeVisible(PopupMenuEvent event) { // Adds topWindowListener to top-level window to listener to // ComponentEvents fired by it. We need to cancel this popup menu // if topWindow to which this popup belongs was resized or moved. Component invoker = popupMenu.getInv... | 23,708 |
public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } //obj: useless? return (new... | public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } //obj: useless? return (new... | 23,709 |
public URI(String str) throws URISyntaxException { } | public URI(String str) throws URISyntaxException { } | 23,710 |
public int compareTo(Object obj) throws ClassCastException { return 0; } | public int compareTo(Object obj) throws ClassCastException { return 0; } | 23,711 |
public static URI create(String str) throws IllegalArgumentException { return null; } | public static URI create(String str) throws IllegalArgumentException { return null; } | 23,712 |
public boolean equals(Object obj) { return false; } | public boolean equals(Object obj) { return false; } | 23,713 |
public String getAuthority() { return null; } | public String getAuthority() { return null; } | 23,714 |
public String getFragment() { return null; } | public String getFragment() { return null; } | 23,715 |
public String getHost() { return host; } | public String getHost() { return host; } | 23,716 |
public String getPath() { return null; } | public String getPath() { return null; } | 23,717 |
public int getPort() { return port; } | public int getPort() { return port; } | 23,718 |
public String getQuery() { return null; } | public String getQuery() { return null; } | 23,719 |
public String getRawAuthority() { return authority; } | public String getRawAuthority() { return authority; } | 23,720 |
public String getRawFragment() { return fragment; } | public String getRawFragment() { return fragment; } | 23,721 |
public String getRawPath() { return path; } | public String getRawPath() { return path; } | 23,722 |
public String getRawQuery() { return query; } | public String getRawQuery() { return query; } | 23,723 |
public String getRawSchemeSpecificPart() { return null; } | public String getRawSchemeSpecificPart() { return null; } | 23,724 |
public String getRawUserInfo() { return userInfo; } | public String getRawUserInfo() { return userInfo; } | 23,725 |
public String getScheme() { return scheme; } | public String getScheme() { return scheme; } | 23,726 |
public String getSchemeSpecificPart() { return null; } | public String getSchemeSpecificPart() { return null; } | 23,727 |
public String getUserInfo() { return null; } | public String getUserInfo() { return null; } | 23,728 |
public int hashCode() { return 0; } | public int hashCode() { return 0; } | 23,729 |
public boolean isAbsolute() { return false; } | public boolean isAbsolute() { return false; } | 23,730 |
public boolean isOpaque() { return false; } | public boolean isOpaque() { return false; } | 23,731 |
public URI normalize() { return null; } | public URI normalize() { return null; } | 23,732 |
public URI parseServerAuthority() throws URISyntaxException { return null; } | public URI parseServerAuthority() throws URISyntaxException { return null; } | 23,733 |
private void readObject(ObjectInputStream is) throws ClassNotFoundException, IOException { } | private void readObject(ObjectInputStream is) throws ClassNotFoundException, IOException { } | 23,734 |
public URI relativize(URI uri) { return null; } | public URI relativize(URI uri) { return null; } | 23,735 |
public URI resolve(URI uri) { return null; } | public URI resolve(URI uri) { return null; } | 23,736 |
public String toASCIIString() { return ""; } | public String toASCIIString() { return ""; } | 23,738 |
public String toString() { return ""; } | public String toString() { return ""; } | 23,739 |
public URL toURL() throws IllegalArgumentException, MalformedURLException { return null; } | public URL toURL() throws IllegalArgumentException, MalformedURLException { return null; } | 23,740 |
private void writeObject(ObjectOutputStream is) throws IOException { } | private void writeObject(ObjectOutputStream is) throws IOException { } | 23,741 |
public final int getAlpha (int pixel) { if (pixel < map_size) return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits)); return 0; } | public final int getAlpha (int pixel) { if (pixel < map_size) return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits)); return 0; } | 23,742 |
public final int getAlpha (int pixel) { if (pixel < map_size) return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits)); return 0; } | public final int getAlpha (int pixel) { if (pixel < map_size) return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits)); return 0; } | 23,743 |
public StringBuffer format(Date date, StringBuffer buffer, FieldPosition pos) { String temp; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Enumeration e = tokens.elements(); while (e.hasMoreElements()) { Object o = e.nextElement(); if (o ... | public StringBuffer format(Date date, StringBuffer buffer, FieldPosition pos) { String temp; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Enumeration e = tokens.elements(); while (e.hasMoreElements()) { Object o = e.nextElement(); if (o ... | 23,744 |
AbstractNumberNode(TemplateNode children, TemplateNode next, TemplateNode format, String lang, int letterValue, String groupingSeparator, int groupingSize) { super(children, next); this.format = format; this.lang = lang; this.letterValue = lette... | AbstractNumberNode(TemplateNode children, TemplateNode next, TemplateNode format, String lang, int letterValue, String groupingSeparator, int groupingSize) { super(children, next); this.format = format; this.lang = lang; this.letterValue = lette... | 23,745 |
AbstractNumberNode(TemplateNode children, TemplateNode next, TemplateNode format, String lang, int letterValue, String groupingSeparator, int groupingSize) { super(children, next); this.format = format; this.lang = lang; this.letterValue = lette... | AbstractNumberNode(TemplateNode children, TemplateNode next, TemplateNode format, String lang, int letterValue, String groupingSeparator, int groupingSize) { this.format = format; this.lang = lang; this.letterValue = letterValue; this.groupin... | 23,746 |
protected AccessibleContainerHandler(AccessibleJComponent component) { // TODO } // AccessibleContainerHandler() | protected AccessibleContainerHandler(AccessibleJComponent component) { // TODO } // AccessibleContainerHandler() | 23,747 |
public void componentAdded(ContainerEvent event) { // TODO } // componentAdded() | public void componentAdded(ContainerEvent event) { // TODO } // componentAdded() | 23,748 |
public void componentRemoved(ContainerEvent valevent) { // TODO } // componentRemoved() | public void componentRemoved(ContainerEvent valevent) { // TODO } // componentRemoved() | 23,749 |
protected AccessibleFocusHandler(AccessibleJComponent component) { // TODO } // AccessibleFocusHandler() | protected AccessibleFocusHandler(AccessibleJComponent component) { // TODO } // AccessibleFocusHandler() | 23,750 |
public void focusGained(FocusEvent event) { // TODO } // focusGained() | public void focusGained(FocusEvent event) { // TODO } // focusGained() | 23,751 |
public void focusLost(FocusEvent valevent) { // TODO } // focusLost() | public void focusLost(FocusEvent valevent) { // TODO } // focusLost() | 23,752 |
protected AccessibleJComponent(JComponent component) {// super((Container)component); // TODO } // AccessibleJComponent() | protected AccessibleJComponent(JComponent component) {// super((Container)component); // TODO } // AccessibleJComponent() | 23,753 |
public void addPropertyChangeListener(PropertyChangeListener listener) { // TODO } // addPropertyChangeListener() | public void addPropertyChangeListener(PropertyChangeListener listener) { // TODO } // addPropertyChangeListener() | 23,754 |
public Accessible getAccessibleChild(int value0) { return null; // TODO } // getAccessibleChild() | public Accessible getAccessibleChild(int value0) { return null; // TODO } // getAccessibleChild() | 23,755 |
public int getAccessibleChildrenCount() { return 0; // TODO } // getAccessibleChildrenCount() | public int getAccessibleChildrenCount() { return 0; // TODO } // getAccessibleChildrenCount() | 23,756 |
public String getAccessibleDescription() { return null; // TODO } // getAccessibleDescription() | public String getAccessibleDescription() { return null; // TODO } // getAccessibleDescription() | 23,757 |
public String getAccessibleName() { return null; // TODO } // getAccessibleName() | public String getAccessibleName() { return null; // TODO } // getAccessibleName() | 23,758 |
public AccessibleRole getAccessibleRole() { return null; // TODO } // getAccessibleRole() | public AccessibleRole getAccessibleRole() { return null; // TODO } // getAccessibleRole() | 23,759 |
public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } // getAccessibleStateSet() | public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } // getAccessibleStateSet() | 23,760 |
protected String getBorderTitle(Border value0) { return null; // TODO } // getBorderTitle() | protected String getBorderTitle(Border value0) { return null; // TODO } // getBorderTitle() | 23,761 |
public void removePropertyChangeListener(PropertyChangeListener listener) { // TODO } // removePropertyChangeListener() | public void removePropertyChangeListener(PropertyChangeListener listener) { // TODO } // removePropertyChangeListener() | 23,762 |
public JComponent() { super(); super.setLayout(new FlowLayout()); //eventMask |= AWTEvent.COMP_KEY_EVENT_MASK; // enableEvents( AWTEvent.KEY_EVENT_MASK ); //updateUI(); // get a proper ui } | defaultLocale = Locale.getDefault(); debugGraphicsOptions = DebugGraphics.NONE_OPTION; public JComponent() { super(); super.setLayout(new FlowLayout()); //eventMask |= AWTEvent.COMP_KEY_EVENT_MASK; // enableEvents( AWTEvent.KEY_EVENT_MASK ); //updateUI(); // get a proper ui } | 23,763 |
public void computeVisibleRect(Rectangle rect) { //Returns the Component's "visible rect rectangle" - the intersection of the visible rectangles for this component and all of its ancestors. //super.computeVisibleRect(rect); } | public void computeVisibleRect(Rectangle rect) { //Returns the Component's "visible rect rectangle" - the intersection of the visible rectangles for this component and all of its ancestors. //super.computeVisibleRect(rect); } | 23,764 |
public JToolTip createToolTip() { if (tooltip == null) tooltip = new JToolTip(tool_tip_text); return tooltip; } | public JToolTip createToolTip() { if (tooltip == null) tooltip = new JToolTip(tool_tip_text); return tooltip; } | 23,765 |
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) { if (changeSupport != null) changeSupport.firePropertyChange(propertyName, new Boolean(oldValue), new Boolean(newValue)); } | public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) { if (changeSupport != null) changeSupport.firePropertyChange(propertyName, new Boolean(oldValue), new Boolean(newValue)); } | 23,766 |
protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws PropertyVetoException { // Support for reporting constrained property changes. } | protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws PropertyVetoException { // Support for reporting constrained property changes. } | 23,767 |
public AccessibleContext getAccessibleContext() { // Get the AccessibleContext associated with this JComponent return null; } | publicAccessibleContextgetAccessibleContext() { //GettheAccessibleContextassociatedwiththisJComponent returnnull; } | 23,768 |
public ActionListener getActionForKeyStroke(KeyStroke aKeyStroke) { //Return the object that will perform the action registered for a given keystroke. return null; } | publicActionListenergetActionForKeyStroke(KeyStrokeaKeyStroke) { //Returntheobjectthatwillperformtheactionregisteredforagivenkeystroke. returnnull; } | 23,769 |
public float getAlignmentX() { // Overrides Container.getAlignmentX to return the vertical alignment. return 0; } | public float getAlignmentX() { // Overrides Container.getAlignmentX to return the vertical alignment. return 0; } | 23,770 |
public float getAlignmentY() { // Overrides Container.getAlignmentY to return the horizontal alignment. return 0; } | public float getAlignmentY() { // Overrides Container.getAlignmentY to return the horizontal alignment. return 0; } | 23,771 |
public AncestorListener[] getAncestorListeners() { return (AncestorListener[]) getListeners (AncestorListener.class); } | public AncestorListener[] getAncestorListeners() { return (AncestorListener[]) getListeners(AncestorListener.class); } | 23,772 |
public boolean getAutoscrolls() { //Returns true if this component automatically scrolls its contents when dragged, (when contained in a component that supports scrolling, like JViewport return false; } | public boolean getAutoscrolls() { //Returns true if this component automatically scrolls its contents when dragged, (when contained in a component that supports scrolling, like JViewport return false; } | 23,773 |
public Border getBorder() { return border; } | public Border getBorder() { return border; } | 23,774 |
public Rectangle getBounds(Rectangle rv) { if (rv == null) return new Rectangle(getX(),getY(),getWidth(),getHeight()); else { rv.setBounds(getX(),getY(),getWidth(),getHeight()); return rv; } } | public Rectangle getBounds(Rectangle rv) { if (rv == null) return new Rectangle(getX(),getY(),getWidth(),getHeight()); else { rv.setBounds(getX(),getY(),getWidth(),getHeight()); return rv; } } | 23,775 |
public Rectangle getBounds(Rectangle rv) { if (rv == null) return new Rectangle(getX(),getY(),getWidth(),getHeight()); else { rv.setBounds(getX(),getY(),getWidth(),getHeight()); return rv; } } | public Rectangle getBounds(Rectangle rv) { if (rv == null) return new Rectangle(getX(),getY(),getWidth(),getHeight()); else { rv.setBounds(getX(),getY(),getWidth(),getHeight()); return rv; } } | 23,776 |
public Object getClientProperty(Object key) { return get_prop_hash().get(key); } | public Object getClientProperty(Object key) { return get_prop_hash().get(key); } | 23,777 |
protected Graphics getComponentGraphics(Graphics g) { return g; } | protected Graphics getComponentGraphics(Graphics g) { return g; } | 23,778 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.