bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public AccessibleContext getAccessibleContext() { return null; } | public AccessibleContext getAccessibleContext() { return null; } | 14,898 |
public Component getComponentAt(int i) { Tab t = (Tab) tabs.elementAt(i); return t.tab; } | public Component getComponentAt(int i) { Tab t = (Tab) tabs.elementAt(i); return t.tab; } | 14,899 |
public void updateUI() { setUI((TabbedPaneUI)UIManager.getUI(this)); } | public void updateUI() { setUI((TabbedPaneUI)UIManager.getUI(this)); } | 14,900 |
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... | 14,901 |
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... | 14,902 |
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); } | 14,904 |
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... | 14,906 |
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... | 14,907 |
public RTFParseException(String message) { super(message); } | public RTFParseException() { super(message); } | 14,909 |
public RTFParseException(String message) { super(message); } | public RTFParseException(String message) { super(); } | 14,910 |
public SwingDialog(Dialog awtComponent) { this.awtComponent = awtComponent; } | public SwingDialog(Dialog awtComponent) { super(awtComponent); } | 14,911 |
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; } | 14,912 |
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; } | 14,913 |
public int getAccessibleIndexInParent() { return index; } | public int getAccessibleIndexInParent() { return indexInParent; } | 14,914 |
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; } | 14,915 |
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... | 14,916 |
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... | 14,917 |
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... | 14,918 |
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... | 14,919 |
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... | 14,920 |
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... | 14,921 |
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... | 14,922 |
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... | 14,923 |
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... | 14,924 |
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... | 14,925 |
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 ConnectException("connection failed to host: " + manager.serverName, e1); } //obj: useless? return (ne... | 14,926 |
public URI(String str) throws URISyntaxException { } | public URI(String str) throws URISyntaxException { parseURI(str); } | 14,927 |
public static URI create(String str) throws IllegalArgumentException { return null; } | public static URI create(String str) throws IllegalArgumentException { return null; } | 14,928 |
public String getAuthority() { return null; } | public String getAuthority() { return null; } | 14,929 |
public String getFragment() { return null; } | public String getFragment() { return null; } | 14,930 |
public String getPath() { return null; } | public String getPath() { return null; } | 14,931 |
public String getQuery() { return null; } | public String getQuery() { return null; } | 14,932 |
public String getRawAuthority() { return authority; } | public String getRawAuthority() { return authority; } | 14,933 |
public String getRawFragment() { return fragment; } | public String getRawFragment() { return fragment; } | 14,934 |
public String getRawPath() { return path; } | public String getRawPath() { return path; } | 14,935 |
public String getRawQuery() { return query; } | public String getRawQuery() { return query; } | 14,936 |
public String getRawSchemeSpecificPart() { return null; } | public String getRawSchemeSpecificPart() { return null; } | 14,937 |
public String getRawUserInfo() { return userInfo; } | public String getRawUserInfo() { return userInfo; } | 14,938 |
public String getSchemeSpecificPart() { return null; } | public String getSchemeSpecificPart() { return null; } | 14,939 |
public String getUserInfo() { return null; } | public String getUserInfo() { return null; } | 14,940 |
public boolean isAbsolute() { return false; } | public boolean isAbsolute() { return false; } | 14,941 |
public boolean isOpaque() { return false; } | public boolean isOpaque() { return false; } | 14,942 |
public URI resolve(URI uri) { return null; } | public URI resolve(URI uri) { if (uri.isAbsolute()) return uri; if (uri.isOpaque()) return uri; String scheme = uri.getScheme(); String schemeSpecificPart = uri.getSchemeSpecificPart(); String authority = uri.getAuthority(); String path = uri.getPath(); String query = uri.getQuery(); String fragment = uri.getFragment... | 14,943 |
public String toString() { return ""; } | public String toString() { return ""; } | 14,945 |
public URL toURL() throws IllegalArgumentException, MalformedURLException { return null; } | public URL toURL() throws IllegalArgumentException, MalformedURLException { return null; } | 14,946 |
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; } | 14,947 |
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 (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits)); } | 14,948 |
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 ... | 14,949 |
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... | 14,950 |
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.groupi... | 14,951 |
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; } | 14,954 |
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 alignmentX; } | 14,955 |
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 alignmentY; } | 14,956 |
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 autoscrolls; } | 14,957 |
public Object getClientProperty(Object key) { return get_prop_hash().get(key); } | public Object getClientProperty(Object key) { return getClientProperties().get(key); } | 14,958 |
protected Graphics getComponentGraphics(Graphics g) { return g; } | protected Graphics getComponentGraphics(Graphics g) { g.setFont(this.getFont()); g.setColor(this.getForeground()); return g; } | 14,959 |
public int getConditionForKeyStroke(KeyStroke aKeyStroke) { //Return the condition that determines whether a registered action occurs in response to the specified keystroke. return 0; } | public int getConditionForKeyStroke(KeyStroke aKeyStroke) { //Return the condition that determines whether a registered action occurs in response to the specified keystroke. return UNDEFINED_CONDITION; } | 14,960 |
public Insets getInsets() { // System.out.println("watch this border"); // DebugMe(border); // System.out.println("border = " + border); if (border == null) { //System.out.println("compares to null !"); return super.getInsets(); } // System.out.println("compare failed !"); return getBorder().getBorderInset... | public Insets getInsets() // System.out.println("watch this border"); // DebugMe(border); // System.out.println("border = " + border); if (border == null) //System.out.println("compares to null !"); return super.getInsets(); } // System.out.println("compare failed !"); return getBorder().getBorderInsets(... | 14,961 |
public Insets getInsets() { // System.out.println("watch this border"); // DebugMe(border); // System.out.println("border = " + border); if (border == null) { //System.out.println("compares to null !"); return super.getInsets(); } // System.out.println("compare failed !"); return getBorder().getBorderInset... | public Insets getInsets() { // System.out.println("watch this border"); // DebugMe(border); // System.out.println("border = " + border); if (border == null) { //System.out.println("compares to null !"); return super.getInsets(); // System.out.println("compare failed !"); return getBorder().getBorderInsets... | 14,962 |
public Point getLocation(Point rv) { //Store the x,y origin of this component into "return value" rv and return rv. if (rv == null) return new Point(getX(), getY()); rv.setLocation(getX(), getY()); return rv; } | public Point getLocation(Point rv) { //Store the x,y origin of this component into "return value" rv and return rv. if (rv == null) return new Point(getX(), getY()); rv.setLocation(getX(), getY()); return rv; } | 14,964 |
public Dimension getMaximumSize() { if (max != null) { //System.out.println("HAVE_MAX_SIZE = " + max); return max; } if (ui != null) { Dimension s = ui.getMaximumSize(this); if (s != null) { //System.out.println(" UI-MAX = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dim... | public Dimension getMaximumSize() { if (max != null) { //System.out.println("HAVE_MAX_SIZE = " + max); return max; } if (ui != null) { Dimension s = ui.getMaximumSize(this); if (s != null) { //System.out.println(" UI-MAX = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dim... | 14,965 |
public Dimension getMaximumSize() { if (max != null) { //System.out.println("HAVE_MAX_SIZE = " + max); return max; } if (ui != null) { Dimension s = ui.getMaximumSize(this); if (s != null) { //System.out.println(" UI-MAX = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dim... | public Dimension getMaximumSize() if (max != null) //System.out.println("HAVE_MAX_SIZE = " + max); return max; } if (ui != null) Dimension s = ui.getMaximumSize(this); if (s != null) //System.out.println(" UI-MAX = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dimensi... | 14,966 |
public Dimension getMaximumSize() { if (max != null) { //System.out.println("HAVE_MAX_SIZE = " + max); return max; } if (ui != null) { Dimension s = ui.getMaximumSize(this); if (s != null) { //System.out.println(" UI-MAX = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dim... | public Dimension getMaximumSize() { if (max != null) { //System.out.println("HAVE_MAX_SIZE = " + max); return max; if (ui != null) { Dimension s = ui.getMaximumSize(this); if (s != null) { //System.out.println(" UI-MAX = " + s + ", UI = " + ui + ", IM="+this); return s; Dimens... | 14,967 |
public Dimension getMinimumSize() { if (min != null) { //System.out.println("HAVE_MIN_SIZE = " + min); return min; } if (ui != null) { Dimension s = ui.getMinimumSize(this); if (s != null) { // System.out.println(" UI-MIN = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dimensio... | public Dimension getMinimumSize() { if (min != null) { //System.out.println("HAVE_MIN_SIZE = " + min); return min; } if (ui != null) { Dimension s = ui.getMinimumSize(this); if (s != null) { // System.out.println(" UI-MIN = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dimensio... | 14,968 |
public Dimension getMinimumSize() { if (min != null) { //System.out.println("HAVE_MIN_SIZE = " + min); return min; } if (ui != null) { Dimension s = ui.getMinimumSize(this); if (s != null) { // System.out.println(" UI-MIN = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dimensio... | public Dimension getMinimumSize() if (min != null) //System.out.println("HAVE_MIN_SIZE = " + min); return min; } if (ui != null) Dimension s = ui.getMinimumSize(this); if (s != null) // System.out.println(" UI-MIN = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dimension p ... | 14,969 |
public Dimension getMinimumSize() { if (min != null) { //System.out.println("HAVE_MIN_SIZE = " + min); return min; } if (ui != null) { Dimension s = ui.getMinimumSize(this); if (s != null) { // System.out.println(" UI-MIN = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dimensio... | public Dimension getMinimumSize() { if (min != null) { //System.out.println("HAVE_MIN_SIZE = " + min); return min; if (ui != null) { Dimension s = ui.getMinimumSize(this); if (s != null) { // System.out.println(" UI-MIN = " + s + ", UI = " + ui + ", IM="+this); return s; Dimension p... | 14,970 |
public Dimension getPreferredSize() { if (pref != null) { //System.out.println("HAVE_PREF_SIZE = " + pref); return pref; } if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) { //System.out.println(" UI-PREF = " + s + ", UI = " + ui + ", IM="+this); return s; } } ... | public Dimension getPreferredSize() { if (pref != null) { //System.out.println("HAVE_PREF_SIZE = " + pref); return pref; } if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) { //System.out.println(" UI-PREF = " + s + ", UI = " + ui + ", IM="+this); return s; } } ... | 14,971 |
public Dimension getPreferredSize() { if (pref != null) { //System.out.println("HAVE_PREF_SIZE = " + pref); return pref; } if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) { //System.out.println(" UI-PREF = " + s + ", UI = " + ui + ", IM="+this); return s; } } ... | public Dimension getPreferredSize() if (pref != null) //System.out.println("HAVE_PREF_SIZE = " + pref); return pref; } if (ui != null) Dimension s = ui.getPreferredSize(this); if (s != null) //System.out.println(" UI-PREF = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dime... | 14,972 |
public Dimension getPreferredSize() { if (pref != null) { //System.out.println("HAVE_PREF_SIZE = " + pref); return pref; } if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) { //System.out.println(" UI-PREF = " + s + ", UI = " + ui + ", IM="+this); return s; } } ... | public Dimension getPreferredSize() { if (pref != null) { //System.out.println("HAVE_PREF_SIZE = " + pref); return pref; if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) { //System.out.println(" UI-PREF = " + s + ", UI = " + ui + ", IM="+this); return s; Dim... | 14,973 |
public JRootPane getRootPane() { JRootPane p = SwingUtilities.getRootPane(this); System.out.println("root = " + p); return p; } | public JRootPane getRootPane() { JRootPane p = SwingUtilities.getRootPane(this); return p; } | 14,974 |
public String getToolTipText() { return tool_tip_text; } | public String getToolTipText() { return toolTipText; } | 14,975 |
public Container getTopLevelAncestor() { // Returns the top-level ancestor of this component (either the containing Window or Applet), or null if this component has not been added to any container. System.out.println("JComponent, getTopLevelAncestor()"); return null; } | public Container getTopLevelAncestor() { // Returns the top-level ancestor of this component (either the containing Window or Applet), or null if this component has not been added to any container. System.out.println("JComponent, getTopLevelAncestor()"); return null; } | 14,976 |
public Rectangle getVisibleRect() { /// Returns the Component's "visible rectangle" - the intersection of this components visible rectangle: System.out.println("JComponent, getVisibleRect()"); return null; } | public Rectangle getVisibleRect() { /// Returns the Component's "visible rectangle" - the intersection of this components visible rectangle: System.out.println("JComponent, getVisibleRect()"); return null; } | 14,977 |
public boolean isDoubleBuffered() { return use_double_buffer; } | public boolean isDoubleBuffered() { return doubleBuffered; } | 14,978 |
public boolean isRequestFocusEnabled() { // Return whether the receiving component can obtain the focus by calling requestFocus return false; } | public boolean isRequestFocusEnabled() { // Return whether the receiving component can obtain the focus by calling requestFocus return requestFocusEnabled; } | 14,979 |
public void paint(Graphics g) { Graphics g2 = g; Rectangle r = getBounds (); if (use_double_buffer) { if (doubleBuffer == null || doubleBufferWidth != r.width || doubleBufferHeight != r.height) { doubleBuffer = c... | public void paint(Graphics g) { Graphics g2 = g; Image doubleBuffer = null; RepaintManager rm = RepaintManager.currentManager(this); if (use_double_buffer) { if (doubleBuffer == null || doubleBufferWidth != r.width || doubleBufferHeight != r.height) ... | 14,980 |
public void paint(Graphics g) { Graphics g2 = g; Rectangle r = getBounds (); if (use_double_buffer) { if (doubleBuffer == null || doubleBufferWidth != r.width || doubleBufferHeight != r.height) { doubleBuffer = c... | public void paint(Graphics g) { Graphics g2 = g; Rectangle r = getBounds (); if (isDoubleBuffered() && (rm.isDoubleBufferingEnabled()) && (! Thread.holdsLock(paintLock))) { if (doubleBuffer == null || doubleBufferWidth != r.width || doubleBufferHeight ... | 14,981 |
public void paint(Graphics g) { Graphics g2 = g; Rectangle r = getBounds (); if (use_double_buffer) { if (doubleBuffer == null || doubleBufferWidth != r.width || doubleBufferHeight != r.height) { doubleBuffer = c... | public void paint(Graphics g) { Graphics g2 = g; Rectangle r = getBounds (); if (use_double_buffer) { if (doubleBuffer == null || doubleBufferWidth != r.width || doubleBufferHeight != r.height) { doubleBuffer = c... | 14,982 |
public void paint(Graphics g) { Graphics g2 = g; Rectangle r = getBounds (); if (use_double_buffer) { if (doubleBuffer == null || doubleBufferWidth != r.width || doubleBufferHeight != r.height) { doubleBuffer = c... | public void paint(Graphics g) { Graphics g2 = g; Rectangle r = getBounds (); if (use_double_buffer) { if (doubleBuffer == null || doubleBufferWidth != r.width || doubleBufferHeight != r.height) { doubleBuffer = c... | 14,983 |
public void paint(Graphics g) { Graphics g2 = g; Rectangle r = getBounds (); if (use_double_buffer) { if (doubleBuffer == null || doubleBufferWidth != r.width || doubleBufferHeight != r.height) { doubleBuffer = c... | public void paint(Graphics g) { Graphics g2 = g; Rectangle r = getBounds (); if (use_double_buffer) { if (doubleBuffer == null || doubleBufferWidth != r.width || doubleBufferHeight != r.height) { doubleBuffer = c... | 14,984 |
public void paint(Graphics g) { Graphics g2 = g; Rectangle r = getBounds (); if (use_double_buffer) { if (doubleBuffer == null || doubleBufferWidth != r.width || doubleBufferHeight != r.height) { doubleBuffer = c... | public void paint(Graphics g) { Graphics g2 = g; Rectangle r = getBounds (); if (use_double_buffer) { if (doubleBuffer == null || doubleBufferWidth != r.width || doubleBufferHeight != r.height) { doubleBuffer = c... | 14,985 |
public void paint(Graphics g) { Graphics g2 = g; Rectangle r = getBounds (); if (use_double_buffer) { if (doubleBuffer == null || doubleBufferWidth != r.width || doubleBufferHeight != r.height) { doubleBuffer = c... | public void paint(Graphics g) { Graphics g2 = g; Rectangle r = getBounds (); if (use_double_buffer) { if (doubleBuffer == null || doubleBufferWidth != r.width || doubleBufferHeight != r.height) { doubleBuffer = c... | 14,986 |
protected void paintBorder(Graphics g) { // System.out.println("PAINT_BORDER x XXXXXXX x x x x x x x x x x x x:" + getBorder() + ", THIS="+this); // Paint the component's border. if (getBorder() != null) { //System.out.println("PAINT_BORDER x XXXXXXX x x x x x x x x x x x x:" + getBorder() + ", ... | protected void paintBorder(Graphics g) { // System.out.println("PAINT_BORDER x XXXXXXX x x x x x x x x x x x x:" + getBorder() + ", THIS="+this); // Paint the component's border. if (getBorder() != null) { //System.out.println("PAINT_BORDER x XXXXXXX x x x x x x x x x x x x:" + getBorder() + ", ... | 14,987 |
protected void paintComponent(Graphics g) { // If the UI delegate is non-null, call its paint method. if (ui != null) { ui.paint(g, this); } } | protected void paintComponent(Graphics g) { // If the UI delegate is non-null, call its paint method. if (ui != null) { ui.paint(g, this); } } | 14,988 |
public void putClientProperty(Object key, Object value) { get_prop_hash().put(key, value); } | public void putClientProperty(Object key, Object value) { getClientProperties().put(key, value); } | 14,990 |
public void registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition) { registerKeyboardAction(anAction, null, aKeyStroke, aCondition); } | public void registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition) { registerKeyboardAction(anAction, null, aKeyStroke, aCondition); } | 14,991 |
public void registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition) { registerKeyboardAction(anAction, null, aKeyStroke, aCondition); } | public void registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition) { registerKeyboardAction(anAction, null, aKeyStroke, aCondition); } | 14,992 |
public void repaint(long tm, int x, int y, int width, int height) { // Adds the specified region to the dirty region list if the component is showing. //System.out.println("JC: repaint"); super.repaint(tm, x,y,width,height); } | public void repaint(long tm, int x, int y, int width, int height) { // Adds the specified region to the dirty region list if the component is showing. //System.out.println("JC: repaint"); Rectangle dirty = new Rectangle(x, y, width, height); Rectangle vis = getVisibleRect(); dirty = dirty.intersection(vis); Repai... | 14,993 |
public void revalidate() { // Support for deferred automatic layout. if (getParent() == null) invalidate(); } | public void revalidate() { // Support for deferred automatic layout. if (getParent() == null) invalidate(); } | 14,994 |
public void scrollRectToVisible(Rectangle aRect) { // Forwards the scrollRectToVisible() message to the JComponent's parent. } | public void scrollRectToVisible(Rectangle r) { // Forwards the scrollRectToVisible() message to the JComponent's parent. } | 14,995 |
public void setAlignmentX(float alignmentX) { // Set the the vertical alignment. } | public void setAlignmentX(float a) { // Set the the vertical alignment. } | 14,997 |
public void setAlignmentY(float alignmentY) { // Set the the horizontal alignment. } | public void setAlignmentY(float a) { // Set the the horizontal alignment. } | 14,999 |
public void setAutoscrolls(boolean autoscrolls) { // If true this component will automatically scroll its contents when dragged, if contained in a component that supports scrolling, such as JViewport } | public void setAutoscrolls(boolean a) { // If true this component will automatically scroll its contents when dragged, if contained in a component that supports scrolling, such as JViewport } | 15,001 |
public void setDoubleBuffered(boolean aFlag) { use_double_buffer = aFlag; } | public void setDoubleBuffered(boolean db) { use_double_buffer = aFlag; } | 15,004 |
public void setDoubleBuffered(boolean aFlag) { use_double_buffer = aFlag; } | public void setDoubleBuffered(boolean aFlag) { doubleBuffered = db; } | 15,005 |
public void setEnabled(boolean enabled) { // Sets whether or not this component is enabled. super.setEnabled(enabled); repaint(); } | public void setEnabled(boolean e) { // Sets whether or not this component is enabled. super.setEnabled(enabled); repaint(); } | 15,006 |
public void setEnabled(boolean enabled) { // Sets whether or not this component is enabled. super.setEnabled(enabled); repaint(); } | public void setEnabled(boolean enabled) { // Sets whether or not this component is enabled. super.setEnabled(e); revalidate(); repaint(); } | 15,007 |
public void setFont(Font font) { super.setFont(font); revalidate(); repaint(); } | public void setFont(Font f) { super.setFont(font); revalidate(); repaint(); } | 15,008 |
public void setFont(Font font) { super.setFont(font); revalidate(); repaint(); } | public void setFont(Font font) { super.setFont(f); revalidate(); repaint(); } | 15,009 |
public void setMaximumSize(Dimension maximumSize) { max = maximumSize; } | public void setMaximumSize(Dimension maximumSize) { max = maximumSize; } | 15,010 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.