bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public void setDefaultLocale(Locale l) { throw new Error("not implemented"); }
void setDefaultLocale(Locale loc) { throw new Error("not implemented"); }
11,930
public void setDefaultLocale(Locale l) { throw new Error("not implemented"); }
public void setDefaultLocale(Locale l) { defaultLocale = loc; }
11,931
public Dictionary getDocumentProperties() { return null; }
public Dictionary getDocumentProperties() { if (properties == null) properties = new Hashtable(); return properties; }
11,932
public Object getProperty(Object key) { return null; }
public Object getProperty(Object key) { Object value = null; if (properties != null) value = properties.get(key); return value; }
11,933
public JPopupMenu() { // TODO } // JPopupMenu()
public JPopupMenu() { // TODO } // JPopupMenu()
11,936
public JMenuItem add(JMenuItem item) { return null; // TODO } // add()
public JMenuItem add(JMenuItem item) { return null; // TODO } // add()
11,937
public void addPopupMenuListener(PopupMenuListener listener) { // TODO } // addPopupMenuListener()
public void addPopupMenuListener(PopupMenuListener listener) { // TODO } // addPopupMenuListener()
11,938
protected void firePopupMenuCanceled() { // TODO } // firePopupMenuCanceled()
protected void firePopupMenuCanceled() { // TODO } // firePopupMenuCanceled()
11,939
protected void firePopupMenuWillBecomeInvisible() { // TODO } // firePopupMenuWillBecomeInvisible()
protected void firePopupMenuWillBecomeInvisible() { // TODO } // firePopupMenuWillBecomeInvisible()
11,940
protected void firePopupMenuWillBecomeVisible() { // TODO } // firePopupMenuWillBecomeVisible()
protected void firePopupMenuWillBecomeVisible() { // TODO } // firePopupMenuWillBecomeVisible()
11,941
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJPopupMenu(this); } // if return accessibleContext; } // getAccessibleContext()
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJPopupMenu(this); } // if return accessibleContext; } // getAccessibleContext()
11,942
public Component getComponent() { return null; // TODO } // getComponent()
public Component getComponent() { return null; // TODO } // getComponent()
11,943
public Component getComponentAtIndex(int index) { return null; // TODO } // getComponentAtIndex()
public Component getComponentAtIndex(int index) { return null; // TODO } // getComponentAtIndex()
11,944
public int getComponentIndex(Component component) { return 0; // TODO } // getComponentIndex()
public int getComponentIndex(Component component) { return 0; // TODO } // getComponentIndex()
11,945
public static boolean getDefaultLightWeightPopupEnabled() { return false; // TODO } // getDefaultLightWeightPopupEnabled()
public static boolean getDefaultLightWeightPopupEnabled() { return false; // TODO } // getDefaultLightWeightPopupEnabled()
11,946
public Component getInvoker() { return null; // TODO } // getInvoker()
public Component getInvoker() { return null; // TODO } // getInvoker()
11,947
public String getLabel() { return null; // TODO } // getLabel()
public String getLabel() { return null; // TODO } // getLabel()
11,948
public Insets getMargin() { return null; // TODO } // getMargin()
public Insets getMargin() { return null; // TODO } // getMargin()
11,949
public SingleSelectionModel getSelectionModel() { return null; // TODO } // getSelectionModel()
public SingleSelectionModel getSelectionModel() { return null; // TODO } // getSelectionModel()
11,950
public MenuElement[] getSubElements() { return null; // TODO } // getSubElements()
public MenuElement[] getSubElements() { return null; // TODO } // getSubElements()
11,951
public String getUIClassID() { return uiClassID; } // getUIClassID()
public String getUIClassID() { return uiClassID; } // getUIClassID()
11,952
public void insert(Action action, int index) { // TODO } // insert()
public void insert(Action action, int index) { // TODO } // insert()
11,953
public boolean isBorderPainted() { return false; // TODO } // isBorderPainted()
public boolean isBorderPainted() { return false; // TODO } // isBorderPainted()
11,954
public boolean isLightWeightPopupEnabled() { return false; // TODO } // isLightWeightPopupEnabled()
public boolean isLightWeightPopupEnabled() { return false; // TODO } // isLightWeightPopupEnabled()
11,955
private boolean isPopupMenu() { return false; // TODO } // isPopupMenu()
private boolean isPopupMenu() { return false; // TODO } // isPopupMenu()
11,956
public boolean isPopupTrigger(MouseEvent event) { return false; // TODO } // isPopupTrigger()
public boolean isPopupTrigger(MouseEvent event) { return false; // TODO } // isPopupTrigger()
11,957
public boolean isVisible() { return false; // TODO } // isVisible()
public boolean isVisible() { return false; // TODO } // isVisible()
11,958
protected void paintBorder(Graphics graphics) { // TODO } // paintBorder()
protected void paintBorder(Graphics graphics) { // TODO } // paintBorder()
11,959
protected String paramString() { return null; // TODO } // paramString()
protected String paramString() { return null; // TODO } // paramString()
11,960
public void remove(int index) { // TODO } // remove()
public void remove(int index) { // TODO } // remove()
11,961
public void removePopupMenuListener(PopupMenuListener listener) { // TODO } // removePopupMenuListener()
public void removePopupMenuListener(PopupMenuListener listener) { // TODO } // removePopupMenuListener()
11,962
public void setBorderPainted(boolean painted) { // TODO } // setBorderPainted()
public void setBorderPainted(boolean painted) { // TODO } // setBorderPainted()
11,963
public static void setDefaultLightWeightPopupEnabled(boolean enabled) { // TODO } // setDefaultLightWeightPopupEnabled()
public static void setDefaultLightWeightPopupEnabled(boolean enabled) { // TODO } // setDefaultLightWeightPopupEnabled()
11,964
public void setInvoker(Component component) { // TODO } // setInvoker()
public void setInvoker(Component component) { // TODO } // setInvoker()
11,965
public void setLabel(String label) { // TODO } // setLabel()
public void setLabel(String label) { // TODO } // setLabel()
11,966
public void setLightWeightPopupEnabled(boolean enabled) { // TODO } // setLightWeightPopupEnabled()
public void setLightWeightPopupEnabled(boolean enabled) { // TODO } // setLightWeightPopupEnabled()
11,967
public void setLocation(int x, int y) { // TODO } // setLocation()
public void setLocation(int x, int y) { // TODO } // setLocation()
11,968
public void setPopupSize(Dimension size) { // TODO } // setPopupSize()
public void setPopupSize(Dimension size) { // TODO } // setPopupSize()
11,969
public void setSelected(Component selected) { // TODO } // setSelected()
public void setSelected(Component selected) { // TODO } // setSelected()
11,970
public void setSelectionModel(SingleSelectionModel model) { // TODO } // setSelectionModel()
public void setSelectionModel(SingleSelectionModel model) { // TODO } // setSelectionModel()
11,971
public void setVisible(boolean visible) { // TODO } // setVisible()
public void setVisible(boolean visible) { // TODO } // setVisible()
11,972
public void show(Component component, int x, int y) { // TODO } // show()
public void show(Component component, int x, int y) { // TODO } // show()
11,973
public void updateUI() { setUI((PopupMenuUI) UIManager.get(this)); invalidate(); } // updateUI()
public void updateUI() { setUI((PopupMenuUI) UIManager.get(this)); invalidate(); } // updateUI()
11,974
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...
11,975
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...
11,976
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...
11,977
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 #...
11,978
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 #...
11,979
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...
11,980
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...
11,981
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...
11,982
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...
11,983
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"); }
11,984
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); }
11,985
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"); }
11,986
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); }
11,987
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"); }
11,988
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); }
11,989
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"); }
11,990
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.ElementS...
11,991
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); }
11,992
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); }
11,993
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) { Object color = a.getAttribute(Attribute.COLOR); if(color != null) { Color c = getColor(""+a.getAttribute("color")); if( c == null ) return false; charAttr.addAttri...
11,994
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(color.toString()); if( c == null ) return false; charAttr.addAttribute(StyleConstants.Foreground, c); ...
11,995
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...
11,996
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...
11,997
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...
11,998
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...
11,999
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...
12,000
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...
12,001
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...
12,002
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; }
12,003
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); }
12,004
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; ...
12,005
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...
12,006
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) >...
12,007
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...
12,008
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); }
12,009
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); }
12,010
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().pri...
12,011
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; }
12,012
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...
12,013
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...
12,014
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...
12,015
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...
12,016
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...
12,017
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...
12,018
public LineBorder() { }
public LineBorder() { }
12,019
public boolean isBorderOpaque() { return false; }
public boolean isBorderOpaque() { return false; }
12,020
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) { }
12,021
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, ...
12,023
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, ...
12,024
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]; }
12,025
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]; }
12,026
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); }
12,027
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...
12,029
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...
12,030
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...
12,031
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; }
12,032
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; }
12,033