bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public String getLabel() { return null; // TODO } // getLabel() | public String getLabel() { return null; // TODO } // getLabel() | 19,054 |
public Insets getMargin() { return null; // TODO } // getMargin() | public Insets getMargin() { return null; // TODO } // getMargin() | 19,055 |
JPopupMenu getRootPopupMenu() { return null; // TODO } // getRootPopupMenu() | JPopupMenu getRootPopupMenu() { return null; // TODO } // getRootPopupMenu() | 19,056 |
public SingleSelectionModel getSelectionModel() { return null; // TODO } // getSelectionModel() | public SingleSelectionModel getSelectionModel() { return null; // TODO } // getSelectionModel() | 19,057 |
public MenuElement[] getSubElements() { return null; // TODO } // getSubElements() | public MenuElement[] getSubElements() { return null; // TODO } // getSubElements() | 19,058 |
public PopupMenuUI getUI() { return (PopupMenuUI) ui; } // getUI() | public PopupMenuUI getUI() { return (PopupMenuUI) ui; } // getUI() | 19,059 |
public String getUIClassID() { return uiClassID; } // getUIClassID() | public String getUIClassID() { return uiClassID; } // getUIClassID() | 19,060 |
public void insert(Action action, int index) { // TODO } // insert() | public void insert(Action action, int index) { // TODO } // insert() | 19,061 |
public boolean isBorderPainted() { return false; // TODO } // isBorderPainted() | public boolean isBorderPainted() { return false; // TODO } // isBorderPainted() | 19,062 |
public boolean isLightWeightPopupEnabled() { return false; // TODO } // isLightWeightPopupEnabled() | public boolean isLightWeightPopupEnabled() { return false; // TODO } // isLightWeightPopupEnabled() | 19,063 |
private boolean isPopupMenu() { return false; // TODO } // isPopupMenu() | private boolean isPopupMenu() { return false; // TODO } // isPopupMenu() | 19,064 |
public boolean isPopupTrigger(MouseEvent event) { return false; // TODO } // isPopupTrigger() | public boolean isPopupTrigger(MouseEvent event) { return false; // TODO } // isPopupTrigger() | 19,065 |
public boolean isVisible() { return false; // TODO } // isVisible() | public boolean isVisible() { return false; // TODO } // isVisible() | 19,066 |
public void menuSelectionChanged(boolean changed) { // TODO } // menuSelectionChanged() | public void menuSelectionChanged(boolean changed) { // TODO } // menuSelectionChanged() | 19,067 |
public void pack() { // TODO } // pack() | public void pack() { // TODO } // pack() | 19,068 |
protected void paintBorder(Graphics graphics) { // TODO } // paintBorder() | protected void paintBorder(Graphics graphics) { // TODO } // paintBorder() | 19,069 |
protected String paramString() { return null; // TODO } // paramString() | protected String paramString() { return null; // TODO } // paramString() | 19,070 |
public void processKeyEvent(KeyEvent event, MenuElement[] path, MenuSelectionManager manager) { // TODO } // processKeyEvent() | public void processKeyEvent(KeyEvent event, MenuElement[] path, MenuSelectionManager manager) { // TODO } // processKeyEvent() | 19,071 |
public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { // TODO } // processMouseEvent() | public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { // TODO } // processMouseEvent() | 19,072 |
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { // TODO } // readObject() | private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { // TODO } // readObject() | 19,073 |
public void remove(int index) { // TODO } // remove() | public void remove(int index) { // TODO } // remove() | 19,074 |
public void removePopupMenuListener(PopupMenuListener listener) { // TODO } // removePopupMenuListener() | public void removePopupMenuListener(PopupMenuListener listener) { // TODO } // removePopupMenuListener() | 19,075 |
public void setBorderPainted(boolean painted) { // TODO } // setBorderPainted() | public void setBorderPainted(boolean painted) { // TODO } // setBorderPainted() | 19,076 |
public static void setDefaultLightWeightPopupEnabled(boolean enabled) { // TODO } // setDefaultLightWeightPopupEnabled() | public static void setDefaultLightWeightPopupEnabled(boolean enabled) { // TODO } // setDefaultLightWeightPopupEnabled() | 19,077 |
public void setInvoker(Component component) { // TODO } // setInvoker() | public void setInvoker(Component component) { // TODO } // setInvoker() | 19,078 |
public void setLabel(String label) { // TODO } // setLabel() | public void setLabel(String label) { // TODO } // setLabel() | 19,079 |
public void setLightWeightPopupEnabled(boolean enabled) { // TODO } // setLightWeightPopupEnabled() | public void setLightWeightPopupEnabled(boolean enabled) { // TODO } // setLightWeightPopupEnabled() | 19,080 |
public void setLocation(int x, int y) { // TODO } // setLocation() | public void setLocation(int x, int y) { // TODO } // setLocation() | 19,081 |
public void setPopupSize(Dimension size) { // TODO } // setPopupSize() | public void setPopupSize(Dimension size) { // TODO } // setPopupSize() | 19,082 |
public void setSelected(Component selected) { // TODO } // setSelected() | public void setSelected(Component selected) { // TODO } // setSelected() | 19,083 |
public void setSelectionModel(SingleSelectionModel model) { // TODO } // setSelectionModel() | public void setSelectionModel(SingleSelectionModel model) { // TODO } // setSelectionModel() | 19,084 |
public void setUI(PopupMenuUI ui) { super.setUI(ui); // TODO } // setUI() | public void setUI(PopupMenuUI ui) { super.setUI(ui); // TODO } // setUI() | 19,085 |
public void setVisible(boolean visible) { // TODO } // setVisible() | public void setVisible(boolean visible) { // TODO } // setVisible() | 19,086 |
public void show(Component component, int x, int y) { // TODO } // show() | public void show(Component component, int x, int y) { // TODO } // show() | 19,087 |
public void updateUI() { setUI((PopupMenuUI) UIManager.get(this)); invalidate(); } // updateUI() | public void updateUI() { setUI((PopupMenuUI) UIManager.get(this)); invalidate(); } // updateUI() | 19,088 |
private void writeObject(ObjectOutputStream stream) throws IOException { // TODO } // writeObject() | private void writeObject(ObjectOutputStream stream) throws IOException { // TODO } // writeObject() | 19,089 |
public static Remote export(ActivationID id, Remote obj, int port, RMIServerSocketFactory serverSocketFactory) throws RemoteException { UnicastServerRef sref = null; if (obj instanceof RemoteObject) sref = (UnicastServerRef) ((RemoteObject) obj).getRef(); if (sref == n... | public static Remote export(ActivationID id, Remote obj, int port, RMIServerSocketFactory serverSocketFactory) throws RemoteException { UnicastServerRef sref = null; if (obj instanceof RemoteObject) sref = (UnicastServerRef) ((RemoteObject) obj).getRef(); if (sref == n... | 19,090 |
public static Remote export(ActivationID id, Remote obj, int port, RMIServerSocketFactory serverSocketFactory) throws RemoteException { UnicastServerRef sref = null; if (obj instanceof RemoteObject) sref = (UnicastServerRef) ((RemoteObject) obj).getRef(); if (sref == n... | public static Remote export(ActivationID id, Remote obj, int port, RMIServerSocketFactory serverSocketFactory) throws RemoteException { UnicastServerRef sref = null; if (obj instanceof RemoteObject) sref = (UnicastServerRef) ((RemoteObject) obj).getRef(); if (sref == n... | 19,091 |
public static Remote register(ActivationDesc desc) throws UnknownGroupException, ActivationException, RemoteException { ActivationID id = obtainId(desc); return id.activate(false); } | public static Remote register(ActivationDesc desc) throws UnknownGroupException, ActivationException, RemoteException { ActivationID id = obtainId(desc); try { return toStub( id, Thread.currentThread().getContextClassLoader().loadClass( desc.getClassName())); } catch (ClassNotFoundException e) { throw new... | 19,092 |
public ActivatableServerRef(ObjID id, ActivationID anId, int aPort, RMIServerSocketFactory ssFactory) throws RemoteException { super(id, aPort, ssFactory); actId = anId; // The object ID will be placed in the object map and should deliver // incoming call to {@link #... | public ActivatableServerRef(ObjID id, ActivationID anId, int aPort, RMIServerSocketFactory ssFactory) throws RemoteException { super(id, aPort, ssFactory); actId = anId; // The object ID will be placed in the object map and should deliver // incoming call to {@link #... | 19,093 |
public ActivatableServerRef(ObjID id, ActivationID anId, int aPort, RMIServerSocketFactory ssFactory) throws RemoteException { super(id, aPort, ssFactory); actId = anId; // The object ID will be placed in the object map and should deliver // incoming call to {@link #... | public ActivatableServerRef(ObjID id, ActivationID anId, int aPort, RMIServerSocketFactory ssFactory) throws RemoteException { super(id, aPort, ssFactory); actId = anId; // The object ID will be placed in the object map and should deliver // incoming call to {@link #... | 19,094 |
public XMLEvent allocate(XMLStreamReader reader) throws XMLStreamException { String text; boolean whitespace; boolean ignorableWhitespace; int len; List namespaces; int eventType = reader.getEventType(); Location location = reader.getLocation(); switch (eventType) { case XMLStrea... | public XMLEvent allocate(XMLStreamReader reader) throws XMLStreamException { String text; boolean whitespace; boolean ignorableWhitespace; int len; List namespaces; int eventType = reader.getEventType(); Location location = reader.getLocation(); switch (eventType) { case XMLStrea... | 19,095 |
public XMLEvent allocate(XMLStreamReader reader) throws XMLStreamException { String text; boolean whitespace; boolean ignorableWhitespace; int len; List namespaces; int eventType = reader.getEventType(); Location location = reader.getLocation(); switch (eventType) { case XMLStrea... | public XMLEvent allocate(XMLStreamReader reader) throws XMLStreamException { String text; boolean whitespace; boolean ignorableWhitespace; int len; List namespaces; int eventType = reader.getEventType(); Location location = reader.getLocation(); switch (eventType) { case XMLStrea... | 19,096 |
public XMLEvent allocate(XMLStreamReader reader) throws XMLStreamException { String text; boolean whitespace; boolean ignorableWhitespace; int len; List namespaces; int eventType = reader.getEventType(); Location location = reader.getLocation(); switch (eventType) { case XMLStrea... | public XMLEvent allocate(XMLStreamReader reader) throws XMLStreamException { String text; boolean whitespace; boolean ignorableWhitespace; int len; List namespaces; int eventType = reader.getEventType(); Location location = reader.getLocation(); switch (eventType) { case XMLStrea... | 19,097 |
public VerifyError(String s) { super(s); } | public VerifyError(String s) { super(s); } | 19,098 |
public String toString() { StringBuffer str = new StringBuffer(X509CRLSelector.class.getName()); GetPropertyAction getProp = new GetPropertyAction("line.separator"); String nl = (String) AccessController.doPrivileged(getProp); String eol = ";" + nl; str.append(" {").append(nl); if (issuerNames != n... | public String toString() { StringBuffer str = new StringBuffer(X509CRLSelector.class.getName()); GetPropertyAction getProp = new GetPropertyAction("line.separator"); String nl = (String) AccessController.doPrivileged(getProp); String eol = ";" + nl; str.append(" {").append(nl); if (issuerNames != n... | 19,099 |
public void end(HTML.Tag t) throws NotImplementedException { // FIXME: Implement. print ("HiddenAction.end not implemented"); } | public void end(HTML.Tag t) { // FIXME: Implement. print ("HiddenAction.end not implemented"); } | 19,100 |
public void end(HTML.Tag t) throws NotImplementedException { // FIXME: Implement. print ("HiddenAction.end not implemented"); } | public void end(HTML.Tag t) throws NotImplementedException { // FIXME: Implement. blockClose(t); } | 19,101 |
public void start(HTML.Tag t, MutableAttributeSet a) throws NotImplementedException { // FIXME: Implement. print ("HiddenAction.start not implemented"); } | public void start(HTML.Tag t, MutableAttributeSet a) { // FIXME: Implement. print ("HiddenAction.start not implemented"); } | 19,102 |
public void start(HTML.Tag t, MutableAttributeSet a) throws NotImplementedException { // FIXME: Implement. print ("HiddenAction.start not implemented"); } | public void start(HTML.Tag t, MutableAttributeSet a) throws NotImplementedException { // FIXME: Implement. blockOpen(t, a); } | 19,103 |
public void start(HTML.Tag t, MutableAttributeSet a) throws NotImplementedException { // FIXME: Implement. print ("SpecialAction.start not implemented"); } | public void start(HTML.Tag t, MutableAttributeSet a) { // FIXME: Implement. print ("SpecialAction.start not implemented"); } | 19,104 |
public void start(HTML.Tag t, MutableAttributeSet a) throws NotImplementedException { // FIXME: Implement. print ("SpecialAction.start not implemented"); } | public void start(HTML.Tag t, MutableAttributeSet a) throws NotImplementedException { // FIXME: Implement. addSpecialElement(t, a); } | 19,105 |
protected void addSpecialElement(HTML.Tag t, MutableAttributeSet a) throws NotImplementedException { // FIXME: Implement print ("HTMLReader.addSpecialElement not implemented yet"); } | protected void addSpecialElement(HTML.Tag t, MutableAttributeSet a) { // FIXME: Implement print ("HTMLReader.addSpecialElement not implemented yet"); } | 19,106 |
protected void addSpecialElement(HTML.Tag t, MutableAttributeSet a) throws NotImplementedException { // FIXME: Implement print ("HTMLReader.addSpecialElement not implemented yet"); } | protected void addSpecialElement(HTML.Tag t, MutableAttributeSet a) throws NotImplementedException { // FIXME: Implement a.addAttribute(StyleConstants.NameAttribute, t); AttributeSet copy = a.copyAttributes(); DefaultStyledDocument.ElementSpec spec; spec = new DefaultStyledDocument.ElementSp... | 19,107 |
public HTMLEditorKit.ParserCallback getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag) { return new HTMLReader(pos, popDepth, pushDepth, insertTag); } | public HTMLEditorKit.ParserCallback getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag) { return new HTMLReader(pos, popDepth, pushDepth, insertTag); } | 19,108 |
public HTMLEditorKit.ParserCallback getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag) { return new HTMLReader(pos, popDepth, pushDepth, insertTag); } | public HTMLEditorKit.ParserCallback getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag) { return new HTMLReader(pos); } | 19,109 |
public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | 19,110 |
public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | 19,111 |
public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | 19,112 |
public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | 19,113 |
public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | 19,114 |
public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | 19,115 |
public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | 19,116 |
public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | 19,117 |
public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | public static boolean translateTag(MutableAttributeSet charAttr, Tag t, MutableAttributeSet a) { if(t == Tag.FONT) { if(a.getAttribute("color") != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground... | 19,118 |
public int hashCode () { // FIXME: Check what SUN calculates here. return super.hashCode (); } | public int hashCode () { // FIXME: Check what SUN calculates here. int hashCode = get(position()) + 31; int multiplier = 1; for (int i = position() + 1; i < limit(); ++i) { multiplier *= 31; hashCode += (get(i) + 30)*multiplier; } return hashCode; } | 19,119 |
final public static ShortBuffer wrap (short[] array, int offset, int length) { return new ShortBufferImpl (array, 0, array.length, offset + length, offset, -1, false); } | public static final ShortBuffer wrap (short[] array, int offset, int length) { return new ShortBufferImpl (array, 0, array.length, offset + length, offset, -1, false); } | 19,120 |
public Text splitText(int offset) { if (isReadonly()) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } try { String text = getNodeValue(); String before = text.substring(0, offset); String after = text.substring(offset); Text next; if (get... | public Text splitText(int offset) { if (isReadonly()) { throw new DomDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR); } try { String text = getNodeValue(); String before = text.substring(0, offset); String after = text.substring(offset); Text next; ... | 19,121 |
public Text splitText(int offset) { if (isReadonly()) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } try { String text = getNodeValue(); String before = text.substring(0, offset); String after = text.substring(offset); Text next; if (get... | public Text splitText(int offset) { if (isReadonly()) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } try { String text = getNodeValue(); String before = text.substring(0, offset); String after = text.substring(offset); Text next; if (get... | 19,122 |
public int deflate(byte[] output, int offset, int length) { int origLength = length; if (state == CLOSED_STATE) throw new IllegalStateException("Deflater closed"); if (state < BUSY_STATE) { /* output header */ int header = (DEFLATED + ((DeflaterConstants.MAX_WBITS - 8) << 4)) << 8; int lev... | public int deflate(byte[] output) { int origLength = length; if (state == CLOSED_STATE) throw new IllegalStateException("Deflater closed"); if (state < BUSY_STATE) { /* output header */ int header = (DEFLATED + ((DeflaterConstants.MAX_WBITS - 8) << 4)) << 8; int level_flags = (level - 1) >... | 19,123 |
public int deflate(byte[] output, int offset, int length) { int origLength = length; if (state == CLOSED_STATE) throw new IllegalStateException("Deflater closed"); if (state < BUSY_STATE) { /* output header */ int header = (DEFLATED + ((DeflaterConstants.MAX_WBITS - 8) << 4)) << 8; int lev... | public int deflate(byte[] output, int offset, int length) { int origLength = length; if (state == CLOSED_STATE) throw new IllegalStateException("Deflater closed"); if (state < BUSY_STATE) { /* output header */ int header = (DEFLATED + ((DeflaterConstants.MAX_WBITS - 8) << 4)) << 8; int lev... | 19,124 |
public void setInput(byte[] input, int off, int len) { if ((state & IS_FINISHING) != 0) throw new IllegalStateException("finish()/end() already called"); engine.setInput(input, off, len); } | public void setInput(byte[] input) { if ((state & IS_FINISHING) != 0) throw new IllegalStateException("finish()/end() already called"); engine.setInput(input, off, len); } | 19,125 |
public void setInput(byte[] input, int off, int len) { if ((state & IS_FINISHING) != 0) throw new IllegalStateException("finish()/end() already called"); engine.setInput(input, off, len); } | public void setInput(byte[] input, int off, int len) { if ((state & IS_FINISHING) != 0) throw new IllegalStateException("finish()/end() already called"); engine.setInput(input, off, len); } | 19,126 |
public void setSystemId(String systemID); | public void setSystemId(String systemID); | 19,127 |
public void run() { try { final Class mainClass = Class.forName(mainClassName); final Method mainMethod = mainClass.getMethod("main", new Class[] { String[].class }); try { mainMethod.invoke(null, new Object[] { args }); } catch (InvocationTargetException ex) { ex.getTargetException().printS... | public void run() { try { final Class mainClass = Class.forName(mainClassName); final Method mainMethod = mainClass.getMethod("main", new Class[] { String[].class }); try { mainMethod.invoke(null, new Object[] { args }); } catch (InvocationTargetException ex) { ex.getTargetException().printS... | 19,128 |
private OutputKeys() { } // OutputKeys() | private OutputKeys() { } // OutputKeys() | 19,129 |
EventDispatchThread(EventQueue queue) { super(); setName("AWT-EventQueue-" + ++dispatchThreadNum); this.queue = queue; setPriority(NORM_PRIORITY + 1); } | EventDispatchThread(EventQueue queue) { super(); setName("AWT-EventQueue-" + ++dispatchThreadNum); this.queue = queue; setPriority(NORM_PRIORITY + 1); } | 19,130 |
public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | 19,131 |
public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | publicvoidrun(){System.out.println("runofdispatchthread");while(true){try{AWTEventevt=queue.getNextEvent();//Unsafe.debug("@@dispatch");Unsafe.debug(evt.toString());KeyboardFocusManagermanager;manager=KeyboardFocusManager.getCurrentKeyboardFocusManager();//Trytodispatchthiseventtothecurrentkeyboardfocus//manager.Itwill... | 19,132 |
public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | 19,133 |
public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | 19,134 |
public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | 19,135 |
public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | 19,136 |
public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | 19,137 |
public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | 19,138 |
public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | public void run() { System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); //Unsafe.debug("@@dispatch "); Unsafe.debug(evt.toString()); KeyboardFocusManager manager; manager = KeyboardFocus... | 19,139 |
public LineBorder() { } | public LineBorder() { } | 19,140 |
public boolean isBorderOpaque() { return false; } | public boolean isBorderOpaque() { return false; } | 19,141 |
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { } | public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { } | 19,142 |
public void addAttribute (String uri, String localName, String qName, String type, String value) { super.addAttribute (uri, localName, qName, type, value); int length = getLength (); if (length < flags.length) { boolean newFlags [] = new boolean [length]; System.arraycopy (flags, 0, newFlags, 0, ... | public void addAttribute (String uri, String localName, String qName, String type, String value) { super.addAttribute (uri, localName, qName, type, value); int length = getLength (); if (length < flags.length) { boolean newFlags [] = new boolean [length]; System.arraycopy (flags, 0, newFlags, 0, ... | 19,144 |
public void addAttribute (String uri, String localName, String qName, String type, String value) { super.addAttribute (uri, localName, qName, type, value); int length = getLength (); if (length < flags.length) { boolean newFlags [] = new boolean [length]; System.arraycopy (flags, 0, newFlags, 0, ... | public void addAttribute (String uri, String localName, String qName, String type, String value) { super.addAttribute (uri, localName, qName, type, value); int length = getLength (); if (length < flags.length) { boolean newFlags [] = new boolean [length]; System.arraycopy (flags, 0, newFlags, 0, ... | 19,145 |
public boolean isDeclared (int index) { if (index < 0 || index >= getLength ()) throw new ArrayIndexOutOfBoundsException ("No attribute at index: " + index); return declaredFlags [index]; } | public boolean isDeclared (int index) { if (index < 0 || index >= getLength ()) throw new ArrayIndexOutOfBoundsException ("No attribute at index: " + index); return declaredFlags [index]; } | 19,146 |
public boolean isSpecified (int index) { if (index < 0 || index >= getLength ()) throw new ArrayIndexOutOfBoundsException ( "No attribute at index: " + index); return flags [index]; } | public boolean isSpecified (int index) { if (index < 0 || index >= getLength ()) throw new ArrayIndexOutOfBoundsException ( "No attribute at index: " + index); return specified [index]; } | 19,147 |
public void removeAttribute (int index) { int origMax = getLength () - 1; super.removeAttribute (index); if (index != origMax) System.arraycopy (flags, index + 1, flags, index, origMax - index); } | public void removeAttribute (int index) { int origMax = getLength () - 1; super.removeAttribute (index); if (index != origMax) System.arraycopy (flags, index + 1, flags, index, origMax - index); } | 19,148 |
public void setAttributes (Attributes atts) { int length = atts.getLength (); super.setAttributes (atts); flags = new boolean [length]; declaredFlags = new boolean[length]; if (atts instanceof Attributes2) { Attributes2 a2 = (Attributes2) atts; for (int i = 0; i < length; i++) { flags [i] = a2.isSpecifi... | public void setAttributes (Attributes atts) { int length = atts.getLength (); super.setAttributes (atts); flags = new boolean [length]; declaredFlags = new boolean[length]; if (atts instanceof Attributes2) { Attributes2 a2 = (Attributes2) atts; for (int i = 0; i < length; i++) { flags [i] = a2.isSpecifi... | 19,150 |
public void setAttributes (Attributes atts) { int length = atts.getLength (); super.setAttributes (atts); flags = new boolean [length]; declaredFlags = new boolean[length]; if (atts instanceof Attributes2) { Attributes2 a2 = (Attributes2) atts; for (int i = 0; i < length; i++) { flags [i] = a2.isSpecifi... | public void setAttributes (Attributes atts) { int length = atts.getLength (); super.setAttributes (atts); flags = new boolean [length]; declaredFlags = new boolean[length]; if (atts instanceof Attributes2) { Attributes2 a2 = (Attributes2) atts; for (int i = 0; i < length; i++) { flags [i] = a2.isSpecifi... | 19,151 |
public void setAttributes (Attributes atts) { int length = atts.getLength (); super.setAttributes (atts); flags = new boolean [length]; declaredFlags = new boolean[length]; if (atts instanceof Attributes2) { Attributes2 a2 = (Attributes2) atts; for (int i = 0; i < length; i++) { flags [i] = a2.isSpecifi... | public void setAttributes (Attributes atts) { int length = atts.getLength (); super.setAttributes (atts); flags = new boolean [length]; declaredFlags = new boolean[length]; if (atts instanceof Attributes2) { Attributes2 a2 = (Attributes2) atts; for (int i = 0; i < length; i++) { flags [i] = a2.isSpecifi... | 19,152 |
public void setAttributes (Attributes atts) { int length = atts.getLength (); super.setAttributes (atts); flags = new boolean [length]; declaredFlags = new boolean[length]; if (atts instanceof Attributes2) { Attributes2 a2 = (Attributes2) atts; for (int i = 0; i < length; i++) { flags [i] = a2.isSpecifi... | publicvoidsetAttributes(Attributesatts){ intlength=atts.getLength(); super.setAttributes(atts); flags=newboolean[length]; declaredFlags=newboolean[length]; if(attsinstanceofAttributes2){ Attributes2 a2=(Attributes2)atts; for(inti=0;i<length;i++){ flags[i]=a2.isSpecified(i); declaredFlags[i]=a2.isDeclared(i); } }else{... | 19,153 |
public void setDeclared (int index, boolean value) { if (index < 0 || index >= getLength ()) throw new ArrayIndexOutOfBoundsException ("No attribute at index: " + index); declaredFlags [index] = value; } | public void setDeclared (int index, boolean value) { if (index < 0 || index >= getLength ()) throw new ArrayIndexOutOfBoundsException ("No attribute at index: " + index); declaredFlags [index] = value; } | 19,154 |
public void setSpecified (int index, boolean value) { if (index < 0 || index >= getLength ()) throw new ArrayIndexOutOfBoundsException ( "No attribute at index: " + index); flags [index] = value; } | public void setSpecified (int index, boolean value) { if (index < 0 || index >= getLength ()) throw new ArrayIndexOutOfBoundsException ( "No attribute at index: " + index); specified [index] = value; } | 19,155 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.