bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
getMaximum(){ return(maximum);} | getMaximum(){ return(maximum);} | 15,750 |
getMinimum(){ return(minimum);} | getMinimum(){ return(minimum);} | 15,751 |
getOrientation(){ return(orientation);} | getOrientation(){ return(orientation);} | 15,752 |
getPageIncrement(){ return pageIncrement;} | getPageIncrement(){ return pageIncrement;} | 15,753 |
getUnitIncrement(){ return getLineIncrement ();} | getUnitIncrement(){ return getLineIncrement ();} | 15,754 |
getValue(){ return(value);} | getValue(){ return(value);} | 15,755 |
getVisible(){ return visibleAmount;} | getVisible(){ return visibleAmount;} | 15,756 |
getVisibleAmount(){ return getVisible ();} | getVisibleAmount(){ return getVisible ();} | 15,757 |
paramString(){ return("value=" + getValue() + ",visibleAmount=" + getVisibleAmount() + ",minimum=" + getMinimum() + ",maximum=" + getMaximum() + ",pageIncrement=" + pageIncrement + ",lineIncrement=" + lineIncrement + ",orientation=" + (orientation == HORIZONTAL ? "HORIZONTAL" : "VERTICAL") + sup... | paramString(){ return("value=" + getValue() + ",visibleAmount=" + getVisibleAmount() + ",minimum=" + getMinimum() + ",maximum=" + getMaximum() + ",pageIncrement=" + pageIncrement + ",lineIncrement=" + lineIncrement + ",orientation=" + (orientation == HORIZONTAL ? "HORIZONTAL" : "VERTICAL") + sup... | 15,758 |
processAdjustmentEvent(AdjustmentEvent event){ value = event.getValue(); if (adjustment_listeners != null) adjustment_listeners.adjustmentValueChanged(event);} | processAdjustmentEvent(AdjustmentEvent event){ value = event.getValue(); if (adjustment_listeners != null) adjustment_listeners.adjustmentValueChanged(event);} | 15,759 |
processEvent(AWTEvent event){ if (event instanceof AdjustmentEvent) processAdjustmentEvent((AdjustmentEvent)event); else super.processEvent(event);} | processEvent(AWTEvent event){ if (event instanceof AdjustmentEvent) processAdjustmentEvent((AdjustmentEvent)event); else super.processEvent(event);} | 15,760 |
removeAdjustmentListener(AdjustmentListener listener){ adjustment_listeners = AWTEventMulticaster.remove(adjustment_listeners, listener);} | removeAdjustmentListener(AdjustmentListener listener){ adjustment_listeners = AWTEventMulticaster.remove(adjustment_listeners, listener);} | 15,761 |
setBlockIncrement(int blockIncrement){ setPageIncrement (blockIncrement);} | setBlockIncrement(int blockIncrement){ setPageIncrement (blockIncrement);} | 15,762 |
setLineIncrement(int lineIncrement){ if (lineIncrement < 0) throw new IllegalArgumentException ("Unit increment less than zero."); int range = maximum - minimum; if (lineIncrement > range) { if (range == 0) lineIncrement = 1; else lineIncrement = range; } if (lineIncrement == this.line... | setLineIncrement(int lineIncrement){ if (lineIncrement < 0) throw new IllegalArgumentException ("Unit increment less than zero."); int range = maximum - minimum; if (lineIncrement > range) { if (range == 0) lineIncrement = 1; else lineIncrement = range; } if (lineIncrement == this.line... | 15,763 |
setMaximum(int maximum){ setValues(value, visibleAmount, minimum, maximum);} | setMaximum(int maximum){ setValues(value, visibleAmount, minimum, maximum);} | 15,764 |
setMinimum(int minimum){ setValues(value, visibleAmount, minimum, maximum);} | setMinimum(int minimum){ setValues(value, visibleAmount, minimum, maximum);} | 15,765 |
setOrientation(int orientation){ if ((orientation != HORIZONTAL) && (orientation != VERTICAL)) throw new IllegalArgumentException("Bad orientation value: " + orientation); // FIXME: Communicate to peer? Or must this be called before peer creation? this.orientation = orientation;} | setOrientation(int orientation){ if ((orientation != HORIZONTAL) && (orientation != VERTICAL)) throw new IllegalArgumentException("Bad orientation value: " + orientation); // FIXME: Communicate to peer? Or must this be called before peer creation? this.orientation = orientation;} | 15,766 |
setPageIncrement(int pageIncrement){ if (pageIncrement < 0) throw new IllegalArgumentException ("Block increment less than zero."); int range = maximum - minimum; if (pageIncrement > range) { if (range == 0) pageIncrement = 1; else pageIncrement = range; } if (pageIncrement == this.pag... | setPageIncrement(int pageIncrement){ if (pageIncrement < 0) throw new IllegalArgumentException ("Block increment less than zero."); int range = maximum - minimum; if (pageIncrement > range) { if (range == 0) pageIncrement = 1; else pageIncrement = range; } if (pageIncrement == this.pag... | 15,767 |
setUnitIncrement(int unitIncrement){ setLineIncrement (unitIncrement);} | setUnitIncrement(int unitIncrement){ setLineIncrement (unitIncrement);} | 15,768 |
setValue(int value){ setValues(value, visibleAmount, minimum, maximum);} | setValue(int value){ setValues(value, visibleAmount, minimum, maximum);} | 15,769 |
setValues(int value, int visibleAmount, int minimum, int maximum){ if (maximum < minimum) maximum = minimum; if (value < minimum) value = minimum; if (value > maximum) value = maximum; if (visibleAmount > maximum - minimum) visibleAmount = maximum - minimum; ScrollbarPeer peer = (ScrollbarPeer) getPeer ()... | setValues(int value, int visibleAmount, int minimum, int maximum){ if (maximum < minimum) maximum = minimum; if (value < minimum) value = minimum; if (value > maximum) value = maximum; if (visibleAmount > maximum - minimum) visibleAmount = maximum - minimum; ScrollbarPeer peer = (ScrollbarPeer) getPeer ()... | 15,770 |
setVisibleAmount(int visibleAmount){ setValues(value, visibleAmount, minimum, maximum);} | setVisibleAmount(int visibleAmount){ setValues(value, visibleAmount, minimum, maximum);} | 15,771 |
public long getLastModified() { return 0; } | public long getLastModified() throws IOException { return 0; } | 15,774 |
public String paramString() { // TODO: this is completely legal, but it would possibly be nice // to return some more content, like the tree structure, some properties // etc ... return ""; } | protected String paramString() { // TODO: this is completely legal, but it would possibly be nice // to return some more content, like the tree structure, some properties // etc ... return ""; } | 15,776 |
public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals(FREE_STANDING_PROP)) { Boolean prop = (Boolean) e.getNewValue(); isFreeStanding = (prop == null ? true : prop.booleanValue()); if (increaseButton != null) increaseButton.setFreeStanding(isF... | public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals(FREE_STANDING_PROP)) { Boolean prop = (Boolean) e.getNewValue(); isFreeStanding = prop == null ? true : prop.booleanValue(); if (increaseButton != null) increaseButton.setFreeStanding(isFre... | 15,778 |
protected void installDefaults() { // need to initialise isFreeStanding before calling the super class, // so that the value is set when createIncreaseButton() and // createDecreaseButton() are called (unless there is somewhere earlier // that we can do this). Boolean prop = (Boolean) scrollbar.... | protected void installDefaults() { // need to initialise isFreeStanding before calling the super class, // so that the value is set when createIncreaseButton() and // createDecreaseButton() are called (unless there is somewhere earlier // that we can do this). Boolean prop = (Boolean) scrollbar.... | 15,779 |
protected Document createDefaultModel() { PlainDocument doc = new PlainDocument(); doc.putProperty("filterNewlines", Boolean.TRUE); return doc; } | protected Document createDefaultModel() { PlainDocument doc = new PlainDocument(); doc.putProperty("filterNewlines", Boolean.TRUE); return doc; } | 15,780 |
public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize) { Rectangle filterBounds = new Rectangle(this.x, this.y, this.width, this.height); Rectangle pixelBounds = new Rectangle(x, y, w, h); if (filterBounds.intersects... | public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize) { Rectangle filterBounds = new Rectangle(this.x, this.y, this.width, this.height); Rectangle pixelBounds = new Rectangle(x, y, w, h); if (filterBounds.intersects... | 15,781 |
public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"... | public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"... | 15,782 |
public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"... | public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"... | 15,783 |
public Dialog(Frame parent) { this(parent, "", false); } | Dialog(Frame parent) { this(parent, "", false); } | 15,784 |
public synchronized void addNotify() { if (peer == null) peer = getToolkit().createDialog(this); super.addNotify(); } | addNotify() { if (peer == null) peer = getToolkit().createDialog(this); super.addNotify(); } | 15,785 |
public boolean isModal() { return (modal); } | public boolean isModal() { return (modal); } | 15,786 |
protected String paramString() { return ("title+" + title + ",modal=" + modal + ",resizable=" + resizable + "," + super.paramString()); } | protected String paramString() { return ("title+" + title + ",modal=" + modal + ",resizable=" + resizable + "," + super.paramString()); } | 15,787 |
public void setModal(boolean modal) { this.modal = modal; } | setModal(boolean modal) { this.modal = modal; } | 15,788 |
public synchronized void setResizable(boolean resizable) { this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable(resizable); } } | setResizable(boolean resizable) { this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable(resizable); } } | 15,789 |
public synchronized void setResizable(boolean resizable) { this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable(resizable); } } | public synchronized void setResizable(boolean resizable) { this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable(resizable); } } | 15,790 |
public synchronized void setTitle(String title) { this.title = title; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setTitle(title); } } | public synchronized void setTitle(String title) { this.title = title; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setTitle(title); } } | 15,792 |
public synchronized void setTitle(String title) { this.title = title; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setTitle(title); } } | public synchronized void setTitle(String title) { this.title = title; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setTitle(title); } } | 15,793 |
public void show() { super.show(); } | show() { super.show(); } | 15,795 |
protected LightweightPeer createComponent(Component target) { return new GLightweightPeer(target); } | protected LightweightPeer createComponent(Component target) { if (lightweightPeer == null) lightweightPeer = new GLightweightPeer(); return lightweightPeer; } | 15,798 |
public synchronized void send_deferred() { waitWhileBusy(); new Thread() { public void run() { invoke(); } }.run(); } | public synchronized void send_deferred() { waitWhileBusy(); new Thread() { public void run() { invoke(); } }.start(); } | 15,799 |
public void send_oneway() { final gnuRequest cloned = Clone(); cloned.oneWay = true; new Thread() { public void run() { cloned.invoke(); } }.run(); } | public void send_oneway() { final gnuRequest cloned = Clone(); cloned.oneWay = true; new Thread() { public void run() { cloned.invoke(); } }.start(); } | 15,800 |
protected void assertContainsOnly(String errorMessage, Iterator<FSEntry> it, String[] requiredNames) { boolean ok = true; List<String> reqNames = (requiredNames == null) ? new ArrayList<String>() : new ArrayList<String>(Arrays.asList(requiredNames)); List<String> names = TestUtils.getEntryNa... | protected void assertContainsOnly(String errorMessage, Iterator<? extends FSEntry> it, String[] requiredNames) { boolean ok = true; List<String> reqNames = (requiredNames == null) ? new ArrayList<String>() : new ArrayList<String>(Arrays.asList(requiredNames)); List<String> names = TestUtils.... | 15,801 |
public static double[] read(InputStream input) { DoubleSeqHolder h = new DoubleSeqHolder(); h._read(input); return h.value; } | public static double[] read(InputStream input) { DoubleSeqHolder h = new DoubleSeqHolder(); h._read(input); return h.value; } | 15,802 |
public static void write(OutputStream output, double[] value) { DoubleSeqHolder h = new DoubleSeqHolder(value); h._write(output); } | public static void write(OutputStream output, double[] value) { DoubleSeqHolder h = new DoubleSeqHolder(value); h._write(output); } | 15,803 |
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); toolBar.setBorder(defaults.getBorder("ToolBar.border")); toolBar.setBackground(defaults.getColor("ToolBar.background")); toolBar.setForeground(defaults.getColor("ToolBar.foreground")); toolBar.setFont(defaults... | protected void installDefaults() { LookAndFeel.installBorder(toolBar, "ToolBar.border"); LookAndFeel.installColorsAndFont(toolBar, "ToolBar.background", "ToolBar.foreground", "ToolBar.font"); toolBar.setBorder(defaults.getBorder("ToolBar.border")); toolBar.setBackground(defaults.getColor("ToolBar.background... | 15,804 |
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); toolBar.setBorder(defaults.getBorder("ToolBar.border")); toolBar.setBackground(defaults.getColor("ToolBar.background")); toolBar.setForeground(defaults.getColor("ToolBar.foreground")); toolBar.setFont(defaults... | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); toolBar.setBorder(defaults.getBorder("ToolBar.border")); toolBar.setBackground(defaults.getColor("ToolBar.background")); toolBar.setForeground(defaults.getColor("ToolBar.foreground")); toolBar.setFont(defaults... | 15,805 |
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); toolBar.setBorder(defaults.getBorder("ToolBar.border")); toolBar.setBackground(defaults.getColor("ToolBar.background")); toolBar.setForeground(defaults.getColor("ToolBar.foreground")); toolBar.setFont(defaults... | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); toolBar.setBorder(defaults.getBorder("ToolBar.border")); toolBar.setBackground(defaults.getColor("ToolBar.background")); toolBar.setForeground(defaults.getColor("ToolBar.foreground")); toolBar.setFont(defaults... | 15,806 |
private void calculatePreferredSize() { // System.err.println(this + ".calculatePreferredSize()"); int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().ge... | void calculatePreferredSize() { // System.err.println(this + ".calculatePreferredSize()"); int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth()... | 15,807 |
protected void configureScrollBarColors() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); trackColor = defaults.getColor("ScrollBar.track"); trackHighlightColor = defaults.getColor("ScrollBar.trackHighlight"); thumbColor = defaults.getColor("ScrollBar.thumb"); thumbHighlightColor = defau... | protected void configureScrollBarColors() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); trackColor = defaults.getColor("ScrollBar.track"); trackHighlightColor = defaults.getColor("ScrollBar.trackHighlight"); thumbColor = defaults.getColor("ScrollBar.thumb"); thumbHighlightColor = defau... | 15,808 |
protected Rectangle getThumbBounds() { int max = scrollbar.getMaximum(); int min = scrollbar.getMinimum(); int value = scrollbar.getValue(); int extent = scrollbar.getVisibleAmount(); // System.err.println(this + ".getThumbBounds()"); if (max == min) { thumbRect.x = trackRect.x; thumbR... | protected Rectangle getThumbBounds() { int max = scrollbar.getMaximum(); int min = scrollbar.getMinimum(); int value = scrollbar.getValue(); int extent = scrollbar.getVisibleAmount(); // System.err.println(this + ".getThumbBounds()"); if (max == min) { thumbRect.x = trackRect.x; thumbR... | 15,809 |
protected Rectangle getThumbBounds() { int max = scrollbar.getMaximum(); int min = scrollbar.getMinimum(); int value = scrollbar.getValue(); int extent = scrollbar.getVisibleAmount(); // System.err.println(this + ".getThumbBounds()"); if (max == min) { thumbRect.x = trackRect.x; thumbR... | protected Rectangle getThumbBounds() { int max = scrollbar.getMaximum(); int min = scrollbar.getMinimum(); int value = scrollbar.getValue(); int extent = scrollbar.getVisibleAmount(); // System.err.println(this + ".getThumbBounds()"); if (max == min) { thumbRect.x = trackRect.x; thumbR... | 15,810 |
private int valueForXPosition(int xPos) { int min = scrollbar.getMinimum(); int max = scrollbar.getMaximum(); int len = trackRect.width; int value; // If the length is 0, you shouldn't be able to even see where the slider is. // This really shouldn't ever happen, but just in case, we'll return the ... | int valueForXPosition(int xPos) { int min = scrollbar.getMinimum(); int max = scrollbar.getMaximum(); int len = trackRect.width; int value; // If the length is 0, you shouldn't be able to even see where the slider is. // This really shouldn't ever happen, but just in case, we'll return the middle. ... | 15,811 |
private int valueForYPosition(int yPos) { int min = scrollbar.getMinimum(); int max = scrollbar.getMaximum(); int len = trackRect.height; int value; // If the length is 0, you shouldn't be able to even see where the thumb is. // This really shouldn't ever happen, but just in case, we'll return the ... | int valueForYPosition(int yPos) { int min = scrollbar.getMinimum(); int max = scrollbar.getMaximum(); int len = trackRect.height; int value; // If the length is 0, you shouldn't be able to even see where the thumb is. // This really shouldn't ever happen, but just in case, we'll return the middle. ... | 15,812 |
protected void startDevice() throws DriverException { final Device device = getDevice(); try { final DeviceManager dm = (DeviceManager)InitialNaming.lookup(DeviceManager.NAME); dm.rename(device, getDevicePrefix(), true); } catch (DeviceAlreadyRegisteredException ex) { log.error("Cannot rename device", ex); }... | protected void startDevice() throws DriverException { final Device device = getDevice(); try { final DeviceManager dm = (DeviceManager)InitialNaming.lookup(DeviceManager.NAME); dm.rename(device, getDevicePrefix() + "-" + device.getId(), false); } catch (DeviceAlreadyRegisteredException ex) { log.error("Cannot... | 15,813 |
public AccessibleStateSet getAccessibleStateSet() { return null; } | public AccessibleStateSet getAccessibleStateSet() { AccessibleStateSet state = super.getAccessibleStateSet(); return state; } | 15,815 |
public void setOutputStream(OutputStream stream) { this.outputStream = stream; } | public void setOutputStream(OutputStream stream) { this.outputStream = stream; } | 15,816 |
public void setSystemId(File file) { try { this.systemId = StreamSource.fileToURL (file).toString (); } catch (IOException e) { // can't happen throw new RuntimeException (e.getMessage ()); } } | public void setSystemId(File file) { try { this.systemId = StreamSource.fileToURL (file).toString (); } catch (IOException e) { // can't happen throw new RuntimeException (e.getMessage ()); } } | 15,817 |
public void removeNotify() { if (peer != null) peer.dispose(); peer = null; } | public void removeNotify() { if (peer != null) peer.dispose(); peer = null; } | 15,818 |
public JMenu() { // TODO } // JMenu() | public JMenu() { // TODO } // JMenu() | 15,820 |
public JMenuItem add(JMenuItem item) { return null; // TODO } // add() | public JMenuItem add(JMenuItem item) { return null; // TODO } // add() | 15,821 |
public void addMenuListener(MenuListener listener) { // TODO } // addMenuListener() | public void addMenuListener(MenuListener listener) { // TODO } // addMenuListener() | 15,822 |
protected void fireMenuCanceled() { // TODO } // fireMenuCanceled() | protected void fireMenuCanceled() { // TODO } // fireMenuCanceled() | 15,823 |
protected void fireMenuDeselected() { // TODO } // fireMenuDeselected() | protected void fireMenuDeselected() { // TODO } // fireMenuDeselected() | 15,824 |
protected void fireMenuSelected() { // TODO } // fireMenuSelected() | protected void fireMenuSelected() { // TODO } // fireMenuSelected() | 15,825 |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJMenu(this); } // if return accessibleContext; } // getAccessibleContext() | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJMenu(this); } // if return accessibleContext; } // getAccessibleContext() | 15,826 |
public int getDelay() { return 0; // TODO } // getDelay() | public int getDelay() { return 0; // TODO } // getDelay() | 15,827 |
public JMenuItem getItem(int index) { return null; // TODO } // getItem() | public JMenuItem getItem(int index) { return null; // TODO } // getItem() | 15,828 |
public Component getMenuComponent(int index) { return null; // TODO } // getMenuComponent() | public Component getMenuComponent(int index) { return null; // TODO } // getMenuComponent() | 15,829 |
public int getMenuComponentCount() { return 0; // TODO } // getMenuComponentCount() | public int getMenuComponentCount() { return 0; // TODO } // getMenuComponentCount() | 15,830 |
public Component[] getMenuComponents() { return null; // TODO } // getMenuComponents() | public Component[] getMenuComponents() { return null; // TODO } // getMenuComponents() | 15,831 |
public JPopupMenu getPopupMenu() { return null; // TODO } // getPopupMenu() | public JPopupMenu getPopupMenu() { return null; // TODO } // getPopupMenu() | 15,832 |
protected Point getPopupMenuOrigin() { return null; // TODO } // getPopupMenuOrigin() | protected Point getPopupMenuOrigin() { return null; // TODO } // getPopupMenuOrigin() | 15,833 |
public MenuElement[] getSubElements() { return null; // TODO } // getSubElements() | public MenuElement[] getSubElements() { return null; // TODO } // getSubElements() | 15,834 |
public void insert(String text, int index) { // TODO } // insert() | public void insert(String text, int index) { // TODO } // insert() | 15,835 |
public boolean isPopupMenuVisible() { return false; // TODO } // isPopupMenuVisible() | public boolean isPopupMenuVisible() { return false; // TODO } // isPopupMenuVisible() | 15,836 |
public boolean isSelected() { return false; // TODO } // isSelected() | public boolean isSelected() { return false; // TODO } // isSelected() | 15,837 |
public boolean isTopLevelMenu() { return false; // TODO } // isTopLevelMenu() | public boolean isTopLevelMenu() { return false; // TODO } // isTopLevelMenu() | 15,838 |
protected String paramString() { return null; // TODO } // paramString() | protected String paramString() { return null; // TODO } // paramString() | 15,839 |
public void remove(JMenuItem item) { // TODO } // remove() | public void remove(JMenuItem item) { // TODO } // remove() | 15,840 |
public void removeAll() { // TODO } // removeAll() | public void removeAll() { // TODO } // removeAll() | 15,841 |
public void removeMenuListener(MenuListener listener) { // TODO } // removeMenuListener() | public void removeMenuListener(MenuListener listener) { // TODO } // removeMenuListener() | 15,842 |
public void setAccelerator(KeyStroke keystroke) { // TODO } // setAccelerator() | public void setAccelerator(KeyStroke keystroke) { // TODO } // setAccelerator() | 15,843 |
public void setDelay(int delay) { // TODO } // setDelay() | public void setDelay(int delay) { // TODO } // setDelay() | 15,844 |
public void setMenuLocation(int x, int y) { // TODO } // setMenuLocation() | public void setMenuLocation(int x, int y) { // TODO } // setMenuLocation() | 15,845 |
public void setModel(ButtonModel model) { // TODO } // setModel() | public void setModel(ButtonModel model) { // TODO } // setModel() | 15,846 |
public void setPopupMenuVisible(boolean popup) { // TODO } // setPopupMenuVisible() | public void setPopupMenuVisible(boolean popup) { // TODO } // setPopupMenuVisible() | 15,847 |
public void setSelected(boolean selected) { // TODO } // setSelected() | public void setSelected(boolean selected) { // TODO } // setSelected() | 15,848 |
public void updateUI() { //setUI((MenuUI) UIManager.get(this)); invalidate(); } // updateUI() | public void updateUI() { //setUI((MenuUI) UIManager.get(this)); invalidate(); } // updateUI() | 15,849 |
public boolean hasNext() throws XMLStreamException { return peekEvent != null || reader.hasNext(); } | public boolean hasNext() { return peekEvent != null || reader.hasNext(); } | 15,850 |
public boolean hasNext() throws XMLStreamException { return peekEvent != null || reader.hasNext(); } | public boolean hasNext() throws XMLStreamException { if (peekEvent != null) return true; try { return reader.hasNext(); } catch (XMLStreamException e) { return false; } } | 15,851 |
public XMLEvent next() throws XMLStreamException { XMLEvent ret = peek(); peekEvent = null; return ret; } | public XMLEvent next() throws XMLStreamException { XMLEvent ret = peek(); peekEvent = null; return ret; } | 15,852 |
public XMLEvent next() throws XMLStreamException { XMLEvent ret = peek(); peekEvent = null; return ret; } | public XMLEvent next() throws XMLStreamException { XMLEvent ret = peek(); peekEvent = null; return ret; } | 15,853 |
public String getUIClassID() { return "JTabbedPane"; } | public String getUIClassID() { return "JTabbedPane"; } | 15,855 |
public Dimension preferredLayoutSize(Container c) { Dimension p = super.preferredLayoutSize(c); System.out.println(" PREF-SIZE from RootLayout = " + p); return p; } | public Dimension preferredLayoutSize(Container c) { Dimension p = super.preferredLayoutSize(c); System.out.println(" PREF-SIZE from RootLayout = " + p); return p; } | 15,856 |
public String getUIClassID() { return "JPanel"; } | public String getUIClassID() { return "JPanel"; } | 15,857 |
private Runtime() { if (current != null) throw new InternalError("Attempt to recreate Runtime"); String path = SystemProperties.getProperty("java.library.path", "."); String pathSep = SystemProperties.getProperty("path.separator", ":"); String fileSep = SystemProperties.getProperty("file.separator",... | private Runtime() { if (current != null) throw new InternalError("Attempt to recreate Runtime"); String path = SystemProperties.getProperty("java.library.path", "."); String pathSep = SystemProperties.getProperty("path.separator", ":"); String fileSep = SystemProperties.getProperty("file.separator",... | 15,858 |
public SwingWindow(Window awtComponent) { this.awtComponent = awtComponent; } | public SwingWindow(Window awtComponent) { super(awtComponent); } | 15,860 |
public AccessibleContext getAccessibleContext() { return null; } | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJLabel(); return accessibleContext; } | 15,861 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.