bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
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... | 24,815 |
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... | 24,816 |
setMaximum(int maximum){ setValues(value, visibleAmount, minimum, maximum);} | setMaximum(int maximum){ setValues(value, visibleAmount, minimum, maximum);} | 24,817 |
setMaximum(int maximum){ setValues(value, visibleAmount, minimum, maximum);} | setMaximum(int maximum){ setValues(value, visibleAmount, minimum, maximum);} | 24,818 |
setMinimum(int minimum){ setValues(value, visibleAmount, minimum, maximum);} | setMinimum(int minimum){ setValues(value, visibleAmount, minimum, maximum);} | 24,819 |
setMinimum(int minimum){ setValues(value, visibleAmount, minimum, maximum);} | setMinimum(int minimum){ setValues(value, visibleAmount, minimum, maximum);} | 24,820 |
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;} | 24,821 |
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;} | 24,822 |
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... | 24,823 |
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.page... | 24,824 |
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... | 24,825 |
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... | 24,826 |
setUnitIncrement(int unitIncrement){ setLineIncrement (unitIncrement);} | setUnitIncrement(int unitIncrement){ setLineIncrement (unitIncrement);} | 24,827 |
setValue(int value){ setValues(value, visibleAmount, minimum, maximum);} | setValue(int value){ setValues(value, visibleAmount, minimum, maximum);} | 24,828 |
setValue(int value){ setValues(value, visibleAmount, minimum, maximum);} | setValue(int value){ setValues(value, visibleAmount, minimum, maximum);} | 24,829 |
public void setValueIsAdjusting (boolean valueIsAdjusting) { this.valueIsAdjusting = valueIsAdjusting; } | public void setValueIsAdjusting(boolean valueIsAdjusting) { this.valueIsAdjusting = valueIsAdjusting; } | 24,830 |
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 ()... | 24,831 |
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();... | 24,832 |
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 ()... | 24,833 |
setVisibleAmount(int visibleAmount){ setValues(value, visibleAmount, minimum, maximum);} | setVisibleAmount(int visibleAmount){ setValues(value, visibleAmount, minimum, maximum);} | 24,834 |
setVisibleAmount(int visibleAmount){ setValues(value, visibleAmount, minimum, maximum);} | setVisibleAmount(int visibleAmount){ setValues(value, visibleAmount, minimum, maximum);} | 24,835 |
public long getLastModified() { return 0; } | public long getLastModified() { return 0; } | 24,838 |
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 ""; } | 24,840 |
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(isF... | 24,842 |
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.... | 24,843 |
private void paintThumbHorizontal(Graphics g, JComponent c, Rectangle thumbBounds) { int x = thumbBounds.x; int y = thumbBounds.y; int w = thumbBounds.width; int h = thumbBounds.height; // First we fill the background. MetalTheme theme = MetalLookAndFeel.getCurrentTheme(); if (the... | private void paintThumbHorizontal(Graphics g, JComponent c, Rectangle thumbBounds) { int x = thumbBounds.x; int y = thumbBounds.y; int w = thumbBounds.width; int h = thumbBounds.height; // First we fill the background. MetalTheme theme = MetalLookAndFeel.getCurrentTheme(); if (the... | 24,844 |
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; } | 24,845 |
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... | 24,846 |
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"... | 24,847 |
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"... | 24,848 |
public Dialog(Frame parent) { this(parent, "", false); } | public Dialog(Frame parent) { this(parent, "", false); } | 24,849 |
public Dialog(Frame parent) { this(parent, "", false); } | public Dialog(Frame parent) { this(parent, "", false); } | 24,850 |
public synchronized void addNotify() { if (peer == null) peer = getToolkit().createDialog(this); super.addNotify(); } | public synchronized void addNotify() { if (peer == null) peer = getToolkit().createDialog(this); super.addNotify(); } | 24,851 |
public synchronized void addNotify() { if (peer == null) peer = getToolkit().createDialog(this); super.addNotify(); } | public synchronized void addNotify() { if (peer == null) peer = getToolkit().createDialog(this); super.addNotify(); } | 24,852 |
public String getTitle() { return (title); } | public String getTitle() { return (title); } | 24,853 |
public boolean isModal() { return (modal); } | public boolean isModal() { return (modal); } | 24,854 |
public boolean isResizable() { return (resizable); } | public boolean isResizable() { return (resizable); } | 24,855 |
protected String paramString() { return ("title+" + title + ",modal=" + modal + ",resizable=" + resizable + "," + super.paramString()); } | protected String paramString() { return ("title+" + title + ",modal=" + modal + ",resizable=" + resizable + "," + super.paramString()); } | 24,856 |
public void setModal(boolean modal) { this.modal = modal; } | public void setModal(boolean modal) { this.modal = modal; } | 24,857 |
public void setModal(boolean modal) { this.modal = modal; } | public void setModal(boolean modal) { this.modal = modal; } | 24,858 |
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); } } | 24,859 |
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); } } | 24,860 |
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); } } | 24,861 |
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); } } | 24,863 |
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); } } | 24,864 |
public void show() { super.show(); } | public void show() { super.show(); } | 24,866 |
protected LightweightPeer createComponent(Component target) { return new GLightweightPeer(target); } | protected LightweightPeer createComponent(Component target) { return new GLightweightPeer(target); } | 24,869 |
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(); } | 24,870 |
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(); } | 24,871 |
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.... | 24,872 |
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; } | 24,873 |
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); } | 24,874 |
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... | 24,875 |
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... | 24,876 |
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... | 24,877 |
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()... | 24,878 |
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... | 24,879 |
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... | 24,880 |
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... | 24,881 |
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. ... | 24,882 |
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. ... | 24,883 |
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(), true); } catch (DeviceAlreadyRegisteredException ex) { log.error("Cannot rename device", ex); }... | 24,884 |
public AccessibleStateSet getAccessibleStateSet() { return null; } | public AccessibleStateSet getAccessibleStateSet() { AccessibleStateSet state = super.getAccessibleStateSet(); return state; } | 24,886 |
public void setOutputStream(OutputStream stream) { this.outputStream = stream; } | public void setOutputStream(OutputStream stream) { this.outputStream = stream; } | 24,887 |
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 ()); } } | 24,888 |
public void setWriter(Writer writer) { this.writer = writer; } | public void setWriter(Writer writer) { this.writer = writer; } | 24,889 |
public void removeNotify() { if (peer != null) peer.dispose(); peer = null; } | public void removeNotify() { if (peer != null) peer.dispose(); peer = null; } | 24,890 |
protected Item cloneConstant() { return createConst(getValue()); } | protected Item cloneConstant() { return createConst(getValue()); } | 24,892 |
protected AccessibleJMenu(JMenu component) { super(component); // TODO } // AccessibleJMenu() | protected AccessibleJMenu(JMenu component) { super(component); // TODO } // AccessibleJMenu() | 24,893 |
public void addAccessibleSelection(int value0) { // TODO } // addAccessibleSelection() | public void addAccessibleSelection(int value0) { // TODO } // addAccessibleSelection() | 24,894 |
public void clearAccessibleSelection() { // TODO } // clearAccessibleSelection() | public void clearAccessibleSelection() { // TODO } // clearAccessibleSelection() | 24,895 |
public Accessible getAccessibleChild(int value0) { return null; // TODO } // getAccessibleChild() | public Accessible getAccessibleChild(int value0) { return null; // TODO } // getAccessibleChild() | 24,896 |
public int getAccessibleChildrenCount() { return 0; // TODO } // getAccessibleChildrenCount() | public int getAccessibleChildrenCount() { return 0; // TODO } // getAccessibleChildrenCount() | 24,897 |
public AccessibleRole getAccessibleRole() { return AccessibleRole.MENU; } // getAccessibleRole() | public AccessibleRole getAccessibleRole() { return AccessibleRole.MENU; } // getAccessibleRole() | 24,898 |
public AccessibleSelection getAccessibleSelection() { return null; // TODO } // getAccessibleSelection() | public AccessibleSelection getAccessibleSelection() { return null; // TODO } // getAccessibleSelection() | 24,899 |
public int getAccessibleSelectionCount() { return 0; // TODO } // getAccessibleSelectionCount() | public int getAccessibleSelectionCount() { return 0; // TODO } // getAccessibleSelectionCount() | 24,900 |
public boolean isAccessibleChildSelected(int value0) { return false; // TODO } // isAccessibleChildSelected() | public boolean isAccessibleChildSelected(int value0) { return false; // TODO } // isAccessibleChildSelected() | 24,901 |
public void removeAccessibleSelection(int value0) { // TODO } // removeAccessibleSelection() | public void removeAccessibleSelection(int value0) { // TODO } // removeAccessibleSelection() | 24,902 |
public void selectAllAccessibleSelection() { // TODO } // selectAllAccessibleSelection() | public void selectAllAccessibleSelection() { // TODO } // selectAllAccessibleSelection() | 24,903 |
public WinListener(JMenu value0, JPopupMenu value1) { // TODO } // WinListener() | public WinListener(JMenu value0, JPopupMenu value1) { // TODO } // WinListener() | 24,904 |
public void windowClosing(WindowEvent value0) { // TODO } // windowClosing() | public void windowClosing(WindowEvent value0) { // TODO } // windowClosing() | 24,905 |
public JMenu() { // TODO } // JMenu() | public JMenu() { // TODO } // JMenu() | 24,906 |
public JMenuItem add(JMenuItem item) { return null; // TODO } // add() | public JMenuItem add(JMenuItem item) { return null; // TODO } // add() | 24,907 |
public void addMenuListener(MenuListener listener) { // TODO } // addMenuListener() | public void addMenuListener(MenuListener listener) { // TODO } // addMenuListener() | 24,908 |
public void addSeparator() { // TODO } // addSeparator() | public void addSeparator() { // TODO } // addSeparator() | 24,909 |
protected PropertyChangeListener createActionChangeListener(JMenuItem item) { return null; // TODO } // createActionChangeListener() | protected PropertyChangeListener createActionChangeListener(JMenuItem item) { return null; // TODO } // createActionChangeListener() | 24,910 |
protected JMenuItem createActionComponent(Action action) { return null; // TODO } // createActionComponent() | protected JMenuItem createActionComponent(Action action) { return null; // TODO } // createActionComponent() | 24,911 |
private ChangeListener createMenuChangeListener() { return null; // TODO } // createMenuChangeListener() | private ChangeListener createMenuChangeListener() { return null; // TODO } // createMenuChangeListener() | 24,912 |
protected JMenu.WinListener createWinListener(JPopupMenu popup) { return null; // TODO } // createWinListener() | protected JMenu.WinListener createWinListener(JPopupMenu popup) { return null; // TODO } // createWinListener() | 24,913 |
public void doClick(int time) { // TODO } // doClick() | public void doClick(int time) { // TODO } // doClick() | 24,914 |
protected void fireMenuCanceled() { // TODO } // fireMenuCanceled() | protected void fireMenuCanceled() { // TODO } // fireMenuCanceled() | 24,915 |
protected void fireMenuDeselected() { // TODO } // fireMenuDeselected() | protected void fireMenuDeselected() { // TODO } // fireMenuDeselected() | 24,916 |
protected void fireMenuSelected() { // TODO } // fireMenuSelected() | protected void fireMenuSelected() { // TODO } // fireMenuSelected() | 24,917 |
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() | 24,918 |
public Component getComponent() { return null; // TODO } // getComponent() | public Component getComponent() { return null; // TODO } // getComponent() | 24,919 |
public int getDelay() { return 0; // TODO } // getDelay() | public int getDelay() { return 0; // TODO } // getDelay() | 24,920 |
public JMenuItem getItem(int index) { return null; // TODO } // getItem() | public JMenuItem getItem(int index) { return null; // TODO } // getItem() | 24,921 |
public int getItemCount() { return 0; // TODO } // getItemCount() | public int getItemCount() { return 0; // TODO } // getItemCount() | 24,922 |
public Component getMenuComponent(int index) { return null; // TODO } // getMenuComponent() | public Component getMenuComponent(int index) { return null; // TODO } // getMenuComponent() | 24,923 |
public int getMenuComponentCount() { return 0; // TODO } // getMenuComponentCount() | public int getMenuComponentCount() { return 0; // TODO } // getMenuComponentCount() | 24,924 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.