bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public static void setFlashColor(Color color) { // TODO } // setFlashColor() | public static void setFlashColor(Color color) { // TODO } // setFlashColor() | 28,843 |
public static void setFlashColor(Color color) { // TODO } // setFlashColor() | public static void setFlashColor(Color color) { // TODO } // setFlashColor() | 28,844 |
public static void setFlashCount(int count) { // TODO } // setFlashCount() | public static void setFlashCount(int count) { // TODO } // setFlashCount() | 28,845 |
public static void setFlashCount(int count) { // TODO } // setFlashCount() | public static void setFlashCount(int count) { // TODO } // setFlashCount() | 28,846 |
public static void setFlashTime(int time) { // TODO } // setFlashTime() | public static void setFlashTime(int time) { // TODO } // setFlashTime() | 28,847 |
public static void setFlashTime(int time) { // TODO } // setFlashTime() | public static void setFlashTime(int time) { // TODO } // setFlashTime() | 28,848 |
public void setFont(Font font) { // TODO } // setFont() | public void setFont(Font font) { // TODO } // setFont() | 28,849 |
public void setFont(Font font) { // TODO } // setFont() | public void setFont(Font font) { // TODO } // setFont() | 28,850 |
public static void setLogStream(PrintStream stream) { // TODO } // setLogStream() | public static void setLogStream(PrintStream stream) { // TODO } // setLogStream() | 28,851 |
public static void setLogStream(PrintStream stream) { // TODO } // setLogStream() | public static void setLogStream(PrintStream stream) { // TODO } // setLogStream() | 28,852 |
public void setPaintMode() { // TODO } // setPaintMode() | public void setPaintMode() { // TODO } // setPaintMode() | 28,853 |
public void setPaintMode() { // TODO } // setPaintMode() | public void setPaintMode() { // TODO } // setPaintMode() | 28,854 |
public void setXORMode(Color color) { // TODO } // setXORMode() | public void setXORMode(Color color) { // TODO } // setXORMode() | 28,855 |
public void setXORMode(Color color) { // TODO } // setXORMode() | public void setXORMode(Color color) { // TODO } // setXORMode() | 28,856 |
String toShortString() { return null; // TODO } // toShortString() | String toShortString() { return null; // TODO } // toShortString() | 28,857 |
public void translate(int x, int y) { // TODO } // translate() | public void translate(int x, int y) { // TODO } // translate() | 28,858 |
public void translate(int x, int y) { // TODO } // translate() | public void translate(int x, int y) { // TODO } // translate() | 28,859 |
public static void installColors(JComponent c, String defaultBgName, String defaultFgName) { //Convenience method for initializing a component's foreground and background color properties with values from the current defaults table. } | publicstaticvoidinstallColors(JComponentc,StringdefaultBgName,StringdefaultFgName){ //Conveniencemethodforinitializingacomponent'sforegroundandbackgroundcolorpropertieswithvaluesfromthecurrentdefaultstable.} | 28,863 |
public UID() { synchronized (lock) { if (count == Short.MAX_VALUE) { long newtime; for (;;) { newtime = System.currentTimeMillis(); if (newtime - baseTime > 1000) { break; } try { Thread.sleep(1000); } catch (InterruptedException _) { } } baseTime = newtime; nextCount = Short.MIN... | public UID() { synchronized (lock) { if (count == Short.MAX_VALUE) { long newtime; for (;;) { newtime = System.currentTimeMillis(); if (newtime - baseTime > 1000) { break; } try { Thread.sleep(1000); } catch (InterruptedException _) { } } baseTime = newtime; nextCount = Short.MIN... | 28,864 |
public void doPass2(BootableHashMap liveVariables) { refs[0] = refs[0].simplify(); if (refs[0] instanceof Variable) { Variable v = (Variable) refs[0]; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } } | public void doPass2(BootableHashMap liveVariables) { refs[0] = refs[0].simplify(); if (refs[0] instanceof Variable) { Variable v = (Variable) refs[0]; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } } | 28,865 |
public void doPass2(BootableHashMap liveVariables) { refs[0] = refs[0].simplify(); if (refs[0] instanceof Variable) { Variable v = (Variable) refs[0]; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } } | public void doPass2(BootableHashMap liveVariables) { refs[0] = refs[0].simplify(); if (refs[0] instanceof Variable) { Variable v = (Variable) refs[0]; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } } | 28,866 |
public Operand propagate(Variable operand) { Quad quad = foldConstants(); if (quad instanceof ConstantRefAssignQuad) { setDeadCode(true); ConstantRefAssignQuad cop = (ConstantRefAssignQuad) quad; return cop.getRHS(); } return operand; } | public Operand propagate(Variable operand) { Quad quad = foldConstants(); if (quad instanceof ConstantRefAssignQuad) { setDeadCode(true); ConstantRefAssignQuad cop = (ConstantRefAssignQuad) quad; return cop.getRHS(); } return operand; } | 28,867 |
public final Class getCategory() { return OrientationRequested.class; } | public Class getCategory() { return OrientationRequested.class; } | 28,868 |
public final String getName() { return "orientation-requested"; } | public String getName() { return "orientation-requested"; } | 28,869 |
public ZipFile(String name) throws ZipException, IOException { this.raf = new RandomAccessFile(name, "r"); this.name = name; checkZipFile(); } | public ZipFile(String name) throws ZipException, IOException { this.raf = new RandomAccessFile(name, "r"); this.name = name; checkZipFile(); } | 28,870 |
ZipEntry(ZipEntry e, String name) { this.name = name; known = e.known; size = e.size; compressedSize = e.compressedSize; crc = e.crc; dostime = e.dostime; method = e.method; extra = e.extra; comment = e.comment; } | public ZipEntry(String name) { this.name = name; known = e.known; size = e.size; compressedSize = e.compressedSize; crc = e.crc; dostime = e.dostime; method = e.method; extra = e.extra; comment = e.comment; } | 28,871 |
ZipEntry(ZipEntry e, String name) { this.name = name; known = e.known; size = e.size; compressedSize = e.compressedSize; crc = e.crc; dostime = e.dostime; method = e.method; extra = e.extra; comment = e.comment; } | ZipEntry(ZipEntry e, String name) { this.name = name; known = e.known; size = e.size; compressedSize = e.compressedSize; crc = e.crc; dostime = e.dostime; method = e.method; extra = e.extra; comment = e.comment; } | 28,872 |
public BasicRadioButtonMenuItemUI() { super(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); checkIcon = defaults.getIcon("RadioButtonMenuItem.checkIcon"); } | public BasicRadioButtonMenuItemUI() { super(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); checkIcon = defaults.getIcon("RadioButtonMenuItem.checkIcon"); } | 28,873 |
public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | 28,875 |
public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | publicvoidprocessMouseEvent(MouseEventevent,MenuElement[]path,MenuSelectionManagermanager){switch(event.getID()){caseMouseEvent.MOUSE_CLICKED: doClick(); break;caseMouseEvent.MOUSE_ENTERED: if(event.getSource()instanceofJMenuItem) { JMenuItemitem=(JMenuItem)event.getSource(); ButtonModelmodel=item.getModel(); if(item.... | 28,876 |
public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | 28,877 |
public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | 28,878 |
public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | 28,879 |
public static void dispatch(UnicastConnection conn) throws Exception { switch (conn.getDataInputStream().readUnsignedByte()) { case MESSAGE_CALL: incomingMessageCall(conn); break; case MESSAGE_PING: // jdk sends a ping before each method call -> answer it! DataOutputStream out = conn.getDataOutputStream(); out.w... | public static void dispatch(UnicastConnection conn) throws Exception { switch (conn.getDataInputStream().readUnsignedByte()) { case MESSAGE_CALL: incomingMessageCall(conn); break; case MESSAGE_PING: // jdk sends a ping before each method call -> answer it! DataOutputStream out = conn.getDataOutputStream(); out.w... | 28,880 |
public static void dispatch(UnicastConnection conn) throws Exception { switch (conn.getDataInputStream().readUnsignedByte()) { case MESSAGE_CALL: incomingMessageCall(conn); break; case MESSAGE_PING: // jdk sends a ping before each method call -> answer it! DataOutputStream out = conn.getDataOutputStream(); out.w... | public static void dispatch(UnicastConnection conn) throws Exception { switch (conn.getDataInputStream().readUnsignedByte()) { case MESSAGE_CALL: incomingMessageCall(conn); break; case MESSAGE_PING: // jdk sends a ping before each method call -> answer it! DataOutputStream out = conn.getDataOutputStream(); out.w... | 28,881 |
public static void exportObject(UnicastServerRef obj) { startDGC(); objects.put(obj.objid, obj); refcache.put(obj.myself, obj); obj.manager.startServer();} | public static void exportObject(UnicastServerRef obj) { startDGC(); objects.put(obj.objid, obj); refcache.put(obj.myself, obj); obj.manager.startServer();} | 28,882 |
public static void exportObject(UnicastServerRef obj) { startDGC(); objects.put(obj.objid, obj); refcache.put(obj.myself, obj); obj.manager.startServer();} | public static void exportObject(UnicastServerRef obj) { startDGC(); objects.put(obj.objid, obj); refcache.put(obj.myself, obj); obj.manager.startServer();} | 28,883 |
public static UnicastServerRef getExportedRef(Remote remote){ return (UnicastServerRef)refcache.get(remote);} | public static UnicastServerRef getExportedRef(Remote remote){ return (UnicastServerRef)refcache.get(remote);} | 28,884 |
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | 28,885 |
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid ... | 28,886 |
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | 28,887 |
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid ... | 28,888 |
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | 28,889 |
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | 28,890 |
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | 28,891 |
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | 28,892 |
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | 28,893 |
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | 28,894 |
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | 28,895 |
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | 28,896 |
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.startObjectInputStream(); // (re)start ObjectInputStream ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + "... | 28,897 |
private static synchronized void startDGC() { if (dgc == null) { try { dgc = new DGCImpl(); // Changed DGCImpl to inherit UnicastServerRef directly //((UnicastServerRef)dgc.getRef()).exportObject(dgc); dgc.exportObject(dgc); } catch (RemoteException e) { e.printStackTrace(); } }} | private static synchronized void startDGC() { if (dgc == null) { try { dgc = new DGCImpl(); // Changed DGCImpl to inherit UnicastServerRef directly //((UnicastServerRef)dgc.getRef()).exportObject(dgc); dgc.exportObject(dgc); } catch (RemoteException e) { e.printStackTrace(); } }} | 28,898 |
private static synchronized void startDGC() { if (dgc == null) { try { dgc = new DGCImpl(); // Changed DGCImpl to inherit UnicastServerRef directly //((UnicastServerRef)dgc.getRef()).exportObject(dgc); dgc.exportObject(dgc); } catch (RemoteException e) { e.printStackTrace(); } }} | private static synchronized void startDGC() { if (dgc == null) { try { dgc = new DGCImpl(); // Changed DGCImpl to inherit UnicastServerRef directly //((UnicastServerRef)dgc.getRef()).exportObject(dgc); dgc.exportObject(dgc); } catch (RemoteException e) { e.printStackTrace(); } }} | 28,899 |
private static synchronized void startDGC() { if (dgc == null) { try { dgc = new DGCImpl(); // Changed DGCImpl to inherit UnicastServerRef directly //((UnicastServerRef)dgc.getRef()).exportObject(dgc); dgc.exportObject(dgc); } catch (RemoteException e) { e.printStackTrace(); } }} | private static synchronized void startDGC() { if (dgc == null) { try { dgc = new DGCImpl(); // Changed DGCImpl to inherit UnicastServerRef directly //((UnicastServerRef)dgc.getRef()).exportObject(dgc); dgc.exportObject(dgc); } catch (RemoteException e) { e.printStackTrace(); } }} | 28,900 |
private static synchronized void startDGC() { if (dgc == null) { try { dgc = new DGCImpl(); // Changed DGCImpl to inherit UnicastServerRef directly //((UnicastServerRef)dgc.getRef()).exportObject(dgc); dgc.exportObject(dgc); } catch (RemoteException e) { e.printStackTrace(); } }} | private static synchronized void startDGC() { if (dgc == null) { try { dgc = new DGCImpl(); // Changed DGCImpl to inherit UnicastServerRef directly //((UnicastServerRef)dgc.getRef()).exportObject(dgc); dgc.exportObject(dgc); } catch (RemoteException e) { e.printStackTrace(); } }} | 28,901 |
public static boolean unexportObject(UnicastServerRef obj, boolean force) { objects.remove(obj.objid); refcache.remove(obj.myself); obj.manager.stopServer(); return true;} | public static boolean unexportObject(UnicastServerRef obj, boolean force) { objects.remove(obj.objid); refcache.remove(obj.myself); obj.manager.stopServer(); return true;} | 28,902 |
public static boolean unexportObject(UnicastServerRef obj, boolean force) { objects.remove(obj.objid); refcache.remove(obj.myself); obj.manager.stopServer(); return true;} | public static boolean unexportObject(UnicastServerRef obj, boolean force) { objects.remove(obj.objid); refcache.remove(obj.myself); obj.manager.stopServer(); return true;} | 28,903 |
public boolean equals(Object other) { if( other instanceof X509CRLEntry ) { try { X509CRLEntry xe = (X509CRLEntry) other; if( getEncoded().length != xe.getEncoded().length ) return false; byte b1[] = getEncoded(); byte b2[] = xe.getEncoded(); for( int i = 0; i < b1.length; i++ ) if( b1[i] != b2[i] ) ... | public boolean equals(Object other) { if( other instanceof X509CRLEntry ) { try { X509CRLEntry xe = (X509CRLEntry) other; if( getEncoded().length != xe.getEncoded().length ) return false; byte b1[] = getEncoded(); byte b2[] = xe.getEncoded(); for( int i = 0; i < b1.length; i++ ) if( b1[i] != b2[i] ) ... | 28,904 |
public static TypeCode type() { return new primitiveArrayTypeCode(TCKind.tk_ulong); } | public static TypeCode type() { return new ArrayTypeCode(TCKind.tk_ulong); } | 28,905 |
public void updateUI() { setUI((TabbedPaneUI) UIManager.getUI(this)); invalidate(); } | public void updateUI() { setUI((TabbedPaneUI) UIManager.getUI(this)); } | 28,906 |
public String getToolTipText(MouseEvent event) { return toolTipText; } | public String getToolTipText(MouseEvent event) { return toolTipText; } | 28,907 |
public String getToolTipText(MouseEvent event) { return toolTipText; } | public String getToolTipText(MouseEvent event) { return toolTipText; } | 28,908 |
public Icon getDisabledIcon() { if (disabledIcon == null && activeIcon instanceof ImageIcon) disabledIcon = new ImageIcon(GrayFilter.createDisabledImage(((ImageIcon) activeIcon).getImage())); return disabledIcon; } | public Icon getDisabledIcon() { if (disabledIcon == null && activeIcon instanceof ImageIcon) disabledIcon = new ImageIcon(GrayFilter.createDisabledImage(((ImageIcon) activeIcon).getImage())); return disabledIcon; } | 28,909 |
public int getDisplayedMnemonic() { return (int) mnemonicKey; } | public int getDisplayedMnemonic() { return (int) displayedMnemonic; } | 28,910 |
public int getDisplayedMnemonicIndex() { return underlinedChar; } | public int getDisplayedMnemonicIndex() { return displayedMnemonicIndex; } | 28,911 |
public Icon getIcon() { return activeIcon; } | public Icon getIcon() { return icon; } | 28,912 |
public String getText() { return labelText; } | public String getText() { return text; } | 28,913 |
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h) { Icon currIcon = (isEnabled()) ? activeIcon : disabledIcon; //Is this the correct way to check for image equality? if (currIcon != null && currIcon instanceof ImageIcon) return (((ImageIcon) cu... | public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h) { Icon currIcon = isEnabled() ? icon : disabledIcon; //Is this the correct way to check for image equality? if (currIcon != null && currIcon instanceof ImageIcon) return (((ImageIcon) currIcon).... | 28,914 |
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h) { Icon currIcon = (isEnabled()) ? activeIcon : disabledIcon; //Is this the correct way to check for image equality? if (currIcon != null && currIcon instanceof ImageIcon) return (((ImageIcon) cu... | public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h) { Icon currIcon = (isEnabled()) ? activeIcon : disabledIcon; //Is this the correct way to check for image equality? if (currIcon != null && currIcon instanceof ImageIcon) return (((ImageIcon) cu... | 28,915 |
public void setDisabledIcon(Icon disabledIcon) { if (disabledIcon != this.disabledIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | public void setDisabledIcon(Icon newIcon) { if (disabledIcon != this.disabledIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | 28,917 |
public void setDisabledIcon(Icon disabledIcon) { if (disabledIcon != this.disabledIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | public void setDisabledIcon(Icon disabledIcon) { if (disabledIcon != newIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | 28,918 |
public void setDisabledIcon(Icon disabledIcon) { if (disabledIcon != this.disabledIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | public void setDisabledIcon(Icon disabledIcon) { if (disabledIcon != this.disabledIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | 28,919 |
public void setDisplayedMnemonic(int key) { setDisplayedMnemonic((char) key); } | public void setDisplayedMnemonic(int mnemonic) { setDisplayedMnemonic((char) key); } | 28,920 |
public void setDisplayedMnemonic(int key) { setDisplayedMnemonic((char) key); } | public void setDisplayedMnemonic(int key) { if (displayedMnemonic != mnemonic) { firePropertyChange(DISPLAYED_MNEMONIC_CHANGED_PROPERTY, displayedMnemonic, mnemonic); displayedMnemonic = mnemonic; if (text != null) setDisplayedMnemonicIndex(text.indexOf(mnemonic)); } } | 28,921 |
public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | public void setDisplayedMnemonicIndex(int newIndex) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index ... | 28,922 |
public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (newIndex < -1 || (text != null && newIndex >= text.length())) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -1;... | 28,923 |
public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | 28,924 |
public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | 28,925 |
public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | 28,926 |
public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | 28,927 |
public void setIcon(Icon icon) { if (icon != activeIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | public void setIcon(Icon newIcon) { if (icon != activeIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | 28,928 |
public void setIcon(Icon icon) { if (icon != activeIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | public void setIcon(Icon icon) { if (icon != newIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | 28,929 |
public void setIcon(Icon icon) { if (icon != activeIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | public void setIcon(Icon icon) { if (icon != activeIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | 28,930 |
public void setIconTextGap(int iconTextGap) { if (iconTextGap != this.iconTextGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | public void setIconTextGap(int newGap) { if (iconTextGap != this.iconTextGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | 28,931 |
public void setIconTextGap(int iconTextGap) { if (iconTextGap != this.iconTextGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | public void setIconTextGap(int iconTextGap) { if (iconTextGap != newGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | 28,932 |
public void setIconTextGap(int iconTextGap) { if (iconTextGap != this.iconTextGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | public void setIconTextGap(int iconTextGap) { if (iconTextGap != this.iconTextGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | 28,933 |
public void setLabelFor(Component c) { if (c != labelFor) { Component oldLabelFor = labelFor; labelFor = c; firePropertyChange(LABEL_FOR_CHANGED_PROPERTY, oldLabelFor, labelFor); } } | public void setLabelFor(Component c) { if (c != labelFor) { Component oldLabelFor = labelFor; labelFor = c; firePropertyChange(LABEL_FOR_CHANGED_PROPERTY, oldLabelFor, labelFor); } } | 28,934 |
public void setLabelFor(Component c) { if (c != labelFor) { Component oldLabelFor = labelFor; labelFor = c; firePropertyChange(LABEL_FOR_CHANGED_PROPERTY, oldLabelFor, labelFor); } } | public void setLabelFor(Component c) { if (c != labelFor) { Component oldLabelFor = labelFor; labelFor = c; } } | 28,935 |
public void setText(String text) { if (text != labelText) { String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText != null && labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); } } | public void setText(String newText) { if (text != labelText) { String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText != null && labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); } } | 28,936 |
public void setText(String text) { if (text != labelText) { String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText != null && labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); } } | public void setText(String text) { if (text != newText) { String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText != null && labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); } } | 28,937 |
public void setText(String text) { if (text != labelText) { String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText != null && labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); } } | public void setText(String text) { if (text != labelText) { String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText != null && labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); } } | 28,938 |
public streamRequest getParameterStream() { m_parameter_buffer = new streamRequest(); m_parameter_buffer.request = this; m_parameter_buffer.setVersion(ior.Internet.version); m_parameter_buffer.setCodeSet(cxCodeSet.negotiate(ior.CodeSets)); m_parameter_buffer.setOrb(orb); m_parameter_buffer.setBigEn... | public streamRequest getParameterStream() { m_parameter_buffer = new streamRequest(); m_parameter_buffer.request = this; m_parameter_buffer.setVersion(ior.Internet.version); m_parameter_buffer.setCodeSet(cxCodeSet.negotiate(ior.Internet.CodeSets)); m_parameter_buffer.setOrb(orb); m_parameter_buffer... | 28,939 |
public void get_response() throws org.omg.CORBA.WrongTransaction { /** * The response is ready after it is received. * FIXME implement context checks and any other functionality, * if required. */ } | public void get_response() throws org.omg.CORBA.WrongTransaction { /** * The response is ready after it is received. * FIXME implement context checks and any other functionality, * if required. */ } | 28,941 |
public void get_response() throws org.omg.CORBA.WrongTransaction { /** * The response is ready after it is received. * FIXME implement context checks and any other functionality, * if required. */ } | public void get_response() throws org.omg.CORBA.WrongTransaction { /** * The response is ready after it is received. * FIXME implement context checks and any other functionality, * if required. */ } | 28,942 |
public synchronized void invoke() throws BAD_INV_ORDER { waitWhileBusy(); complete = false; running = true; if (ior == null) throw new BAD_INV_ORDER("Set IOR property first"); try { p_invoke(); } finally { running = false; complete ... | public synchronized void invoke() throws BAD_INV_ORDER { waitWhileBusy(); complete = false; running = true; if (ior == null) throw new BAD_INV_ORDER("Set IOR property first"); try { p_invoke(); } finally { running = false; complete ... | 28,943 |
private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | 28,945 |
private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | private void p_invoke() throws SystemException { binaryReply response = submit(); if (m_rph == null) m_rph = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. ... | 28,946 |
private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); m_rph.read(input); // The stream must be aligned sinve v1.2, but only once. boole... | 28,947 |
private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | 28,948 |
private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | 28,949 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.