bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public JNodeFontPeer(String name, Map attrs) { super(name, attrs); // TODO Auto-generated constructor stub }
public JNodeFontPeer(String name, Map attrs) { super(name, attrs); // TODO Auto-generated constructor stub }
6,710
protected String basicXMLWriter ( Writer outputWriter, String strIndent, boolean dontCloseNode, String newNodeNameString, String noChildObjectNodeName ...
String taggedIndent = indent; if (writeHrefAttribute) { dataOutputWriter.write("<"+nodeName+">"); taggedIndent = ""; } String taggedIndent = indent; if (writeHrefAttribute) { dataOutputWriter.write("<"+nodeName+">"); taggedIndent = ""; } String taggedIndent = indent; if (writeHrefAttribute) { dataO...
6,711
protected String basicXMLWriter ( Writer outputWriter, String strIndent, boolean dontCloseNode, String newNodeNameString, String noChildObjectNodeName ...
protected String basicXMLWriter ( Writer outputWriter, String strIndent, boolean dontCloseNode, String newNodeNameString, String noChildObjectNodeName ...
6,712
protected String basicXMLWriter ( Writer outputWriter, String strIndent, boolean dontCloseNode, String newNodeNameString, String noChildObjectNodeName ...
if (writeHrefAttribute) { if (niceOutput) dataOutputWriter.write(Constants.NEW_LINE); dataOutputWriter.write("</"+nodeName+">"); } if (writeHrefAttribute) { if (niceOutput) dataOutputWriter.write(Constants.NEW_LINE); dataOutputWriter.write("</"+nodeName+">"); } if (writeHrefAttribute) { if (niceOutput) dataOu...
6,713
protected String basicXMLWriter ( Writer outputWriter, String strIndent, boolean dontCloseNode, String newNodeNameString, String noChildObjectNodeName ...
protected String basicXMLWriter (Writer outputWriter,String strIndent,boolean dontCloseNode,String newNodeNameString,String noChildObjectNodeName ) throws java.io.IOException {// init some internalsboolean writeHrefAttribute = false;OutputStream dataOutputStream = null;Writer dataOutputWriter = null;boolean niceOutput...
6,714
ICC_ProfileRGB() { super(ColorSpace.CS_sRGB); }
ICC_ProfileRGB(int cspace) { super(ColorSpace.CS_sRGB); }
6,715
ICC_ProfileRGB() { super(ColorSpace.CS_sRGB); }
ICC_ProfileRGB() { super(cspace); matrix = createMatrix(); whitePoint = getXYZData(icSigMediaWhitePointTag); }
6,716
public float getGamma(int component) { return 0; }
public float getGamma(int component) { short[] data; switch (component) { case REDCOMPONENT: data = getCurve(icSigRedTRCTag); break; case GREENCOMPONENT: data = getCurve(icSigGreenTRCTag); break; case BLUECOMPONENT: data = getCurve(icSigBlueTRCTag); break; default: throw new IllegalArgumentException("Not a valid ...
6,717
public float[][] getMatrix() { return null; }
public float[][] getMatrix() { float[][] mat = new float[3][3]; for (int i = 0; i < 3; i++) for (int j = 0; j < 3; j++) mat[i][j] = matrix[i][j]; return mat; }
6,718
public float[] getMediaWhitePoint() { return null; }
public float[] getMediaWhitePoint() { float[] wp = new float[3]; wp[0] = whitePoint[0]; wp[1] = whitePoint[1]; wp[2] = whitePoint[2]; return wp; }
6,719
public short[] getTRC(int component) { return null; }
public short[] getTRC(int component) { short[] data; switch (component) { case REDCOMPONENT: data = getCurve(icSigRedTRCTag); break; case GREENCOMPONENT: data = getCurve(icSigGreenTRCTag); break; case BLUECOMPONENT: data = getCurve(icSigBlueTRCTag); break; default: throw new IllegalArgumentException("Not a valid ...
6,720
public void setDisplayedMnemonic(char mnemonic) { setDisplayedMnemonic((int) Character.toUpperCase(mnemonic)); }
public void setDisplayedMnemonic(int mnemonic) { setDisplayedMnemonic((int) Character.toUpperCase(mnemonic)); }
6,722
public void setDisplayedMnemonic(char mnemonic) { setDisplayedMnemonic((int) Character.toUpperCase(mnemonic)); }
public void setDisplayedMnemonic(char mnemonic) { if (displayedMnemonic != mnemonic) { firePropertyChange("displayedMnemonic", displayedMnemonic, mnemonic); displayedMnemonic = mnemonic; if (text != null) setDisplayedMnemonicIndex(text.toUpperCase().indexOf(mnemonic)); } }
6,723
public JSlider(int orientation, int minimum, int maximum, int value) { sliderModel = new DefaultBoundedRangeModel(value, 0, minimum, maximum); if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); this.orientation = or...
public JSlider() { sliderModel = new DefaultBoundedRangeModel(value, 0, minimum, maximum); if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); this.orientation = orientation; changeListener = createChangeListener(...
6,724
public JSlider(int orientation, int minimum, int maximum, int value) { sliderModel = new DefaultBoundedRangeModel(value, 0, minimum, maximum); if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); this.orientation = or...
public JSlider(int orientation, int minimum, int maximum, int value) { sliderModel = new DefaultBoundedRangeModel(value, 0, minimum, maximum); if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); this.orientation = or...
6,725
public ZipEntry getEntry(String name) { try { HashMap entries = getEntries(); ZipEntry entry = (ZipEntry) entries.get(name); return entry != null ? (ZipEntry) entry.clone() : null; } catch (IOException ioe) { return null; } }
public ZipEntry getEntry(String name) { try { HashMap entries = getEntries(); ZipEntry entry = (ZipEntry) entries.get(name); if (entry == null && !name.endsWith("/")) entry = (ZipEntry) entries.get(name + '/'); return entry != null ? new ZipEntry(entry, name) : null; } catch (IOException ioe) ...
6,726
public EventSetDescriptor(Class eventSourceClass, String eventSetName, Class listenerType, String listenerMethodName) throws IntrospectionException { setName(eventSetName); if(!java.util.EventListener.class.isAssignableFrom(listenerType)) { throw new IntrospectionException("Listener type is not an...
public EventSetDescriptor(Class eventSourceClass, String eventSetName, Class listenerType, String listenerMethodName) throws IntrospectionException { setName(eventSetName); if(!java.util.EventListener.class.isAssignableFrom(listenerType)) { throw new IntrospectionException("Listener type is not an...
6,727
public EventSetDescriptor(Class eventSourceClass, String eventSetName, Class listenerType, String listenerMethodName) throws IntrospectionException { setName(eventSetName); if(!java.util.EventListener.class.isAssignableFrom(listenerType)) { throw new IntrospectionException("Listener type is not an...
public EventSetDescriptor(Class eventSourceClass, String eventSetName, Class listenerType, String listenerMethodName) throws IntrospectionException { setName(eventSetName); if(!java.util.EventListener.class.isAssignableFrom(listenerType)) { throw new IntrospectionException("Listener type is not an...
6,728
public EventSetDescriptor(Class eventSourceClass, String eventSetName, Class listenerType, String listenerMethodName) throws IntrospectionException { setName(eventSetName); if(!java.util.EventListener.class.isAssignableFrom(listenerType)) { throw new IntrospectionException("Listener type is not an...
public EventSetDescriptor(Class eventSourceClass, String eventSetName, Class listenerType, String listenerMethodName) throws IntrospectionException { setName(eventSetName); if(!java.util.EventListener.class.isAssignableFrom(listenerType)) { throw new IntrospectionException("Listener type is not an...
6,729
public EventSetDescriptor(Class eventSourceClass, String eventSetName, Class listenerType, String listenerMethodName) throws IntrospectionException { setName(eventSetName); if(!java.util.EventListener.class.isAssignableFrom(listenerType)) { throw new IntrospectionException("Listener type is not an...
public EventSetDescriptor(Class eventSourceClass, String eventSetName, Class listenerType, String listenerMethodName) throws IntrospectionException { setName(eventSetName); if(!java.util.EventListener.class.isAssignableFrom(listenerType)) { throw new IntrospectionException("Listener type is not an...
6,730
public EventSetDescriptor(Class eventSourceClass, String eventSetName, Class listenerType, String listenerMethodName) throws IntrospectionException { setName(eventSetName); if(!java.util.EventListener.class.isAssignableFrom(listenerType)) { throw new IntrospectionException("Listener type is not an...
public EventSetDescriptor(Class eventSourceClass, String eventSetName, Class listenerType, String listenerMethodName) throws IntrospectionException { setName(eventSetName); if(!java.util.EventListener.class.isAssignableFrom(listenerType)) { throw new IntrospectionException("Listener type is not an...
6,731
private void checkAddListenerUnicast() throws IntrospectionException { Class[] addListenerExceptions = this.addListenerMethod.getExceptionTypes(); if(addListenerExceptions.length > 1) { throw new IntrospectionException("Listener add method throws too many exceptions."); } else if(addListenerExceptions.length == 1...
private void checkAddListenerUnicast() throws IntrospectionException { Class[] addListenerExceptions = this.addListenerMethod.getExceptionTypes(); if(addListenerExceptions.length > 1) { throw new IntrospectionException("Listener add method throws too many exceptions."); } else if(addListenerExceptions.length == 1...
6,732
private void checkAddListenerUnicast() throws IntrospectionException { Class[] addListenerExceptions = this.addListenerMethod.getExceptionTypes(); if(addListenerExceptions.length > 1) { throw new IntrospectionException("Listener add method throws too many exceptions."); } else if(addListenerExceptions.length == 1...
private void checkAddListenerUnicast() throws IntrospectionException { Class[] addListenerExceptions = this.addListenerMethod.getExceptionTypes(); if(addListenerExceptions.length > 1) { throw new IntrospectionException("Listener add method throws too many exceptions."); } else if(addListenerExceptions.length == 1...
6,733
private void checkMethods() throws IntrospectionException { if(!addListenerMethod.getDeclaringClass().isAssignableFrom(removeListenerMethod.getDeclaringClass()) && !removeListenerMethod.getDeclaringClass().isAssignableFrom(addListenerMethod.getDeclaringClass())) { throw new IntrospectionException("add and remov...
private void checkMethods() throws IntrospectionException { if(!addListenerMethod.getDeclaringClass().isAssignableFrom(removeListenerMethod.getDeclaringClass()) && !removeListenerMethod.getDeclaringClass().isAssignableFrom(addListenerMethod.getDeclaringClass())) { throw new IntrospectionException("add and remov...
6,734
private void checkMethods() throws IntrospectionException { if(!addListenerMethod.getDeclaringClass().isAssignableFrom(removeListenerMethod.getDeclaringClass()) && !removeListenerMethod.getDeclaringClass().isAssignableFrom(addListenerMethod.getDeclaringClass())) { throw new IntrospectionException("add and remov...
private void checkMethods() throws IntrospectionException { if(!addListenerMethod.getDeclaringClass().isAssignableFrom(removeListenerMethod.getDeclaringClass()) && !removeListenerMethod.getDeclaringClass().isAssignableFrom(addListenerMethod.getDeclaringClass())) { throw new IntrospectionException("add and remov...
6,735
private void checkMethods() throws IntrospectionException { if(!addListenerMethod.getDeclaringClass().isAssignableFrom(removeListenerMethod.getDeclaringClass()) && !removeListenerMethod.getDeclaringClass().isAssignableFrom(addListenerMethod.getDeclaringClass())) { throw new IntrospectionException("add and remov...
private void checkMethods() throws IntrospectionException { if(!addListenerMethod.getDeclaringClass().isAssignableFrom(removeListenerMethod.getDeclaringClass()) && !removeListenerMethod.getDeclaringClass().isAssignableFrom(addListenerMethod.getDeclaringClass())) { throw new IntrospectionException("add and remov...
6,736
private void checkMethods() throws IntrospectionException { if(!addListenerMethod.getDeclaringClass().isAssignableFrom(removeListenerMethod.getDeclaringClass()) && !removeListenerMethod.getDeclaringClass().isAssignableFrom(addListenerMethod.getDeclaringClass())) { throw new IntrospectionException("add and remov...
private void checkMethods() throws IntrospectionException { if(!addListenerMethod.getDeclaringClass().isAssignableFrom(removeListenerMethod.getDeclaringClass()) && !removeListenerMethod.getDeclaringClass().isAssignableFrom(addListenerMethod.getDeclaringClass())) { throw new IntrospectionException("add and remov...
6,737
private void checkMethods() throws IntrospectionException { if(!addListenerMethod.getDeclaringClass().isAssignableFrom(removeListenerMethod.getDeclaringClass()) && !removeListenerMethod.getDeclaringClass().isAssignableFrom(addListenerMethod.getDeclaringClass())) { throw new IntrospectionException("add and remov...
private void checkMethods() throws IntrospectionException { if(!addListenerMethod.getDeclaringClass().isAssignableFrom(removeListenerMethod.getDeclaringClass()) && !removeListenerMethod.getDeclaringClass().isAssignableFrom(addListenerMethod.getDeclaringClass())) { throw new IntrospectionException("add and remov...
6,738
private void checkMethods() throws IntrospectionException { if(!addListenerMethod.getDeclaringClass().isAssignableFrom(removeListenerMethod.getDeclaringClass()) && !removeListenerMethod.getDeclaringClass().isAssignableFrom(addListenerMethod.getDeclaringClass())) { throw new IntrospectionException("add and remov...
private void checkMethods() throws IntrospectionException { if(!addListenerMethod.getDeclaringClass().isAssignableFrom(removeListenerMethod.getDeclaringClass()) && !removeListenerMethod.getDeclaringClass().isAssignableFrom(addListenerMethod.getDeclaringClass())) { throw new IntrospectionException("add and remov...
6,739
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
6,740
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
6,741
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
6,742
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
6,743
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
6,744
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
6,745
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
6,746
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
6,747
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
6,748
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
6,749
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
6,750
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
private void findMethods(Class eventSourceClass, Class listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String absurdEventClassCheckName) throws IntrospectionException { /* Find add listener method and remove listener method. */ Class[] listenerArgList =...
6,751
public Method getAddListenerMethod() { return addListenerMethod; }
public Method getAddListenerMethod() { return addListenerMethod; }
6,752
public MethodDescriptor[] getListenerMethodDescriptors() { if(listenerMethodDescriptors == null) { listenerMethodDescriptors = new MethodDescriptor[listenerMethods.length]; for(int i=0;i<listenerMethods.length;i++) { listenerMethodDescriptors[i] = new MethodDescriptor(listenerMethods[i]); } } return listen...
public MethodDescriptor[] getListenerMethodDescriptors() { if(listenerMethodDescriptors == null) { listenerMethodDescriptors = new MethodDescriptor[listenerMethods.length]; for(int i=0;i<listenerMethods.length;i++) { listenerMethodDescriptors[i] = new MethodDescriptor(listenerMethods[i]); } } return listen...
6,753
public Method[] getListenerMethods() { return listenerMethods; }
public Method[] getListenerMethods() { return listenerMethods; }
6,755
public Class getListenerType() { return listenerType; }
public Class getListenerType() { return listenerType; }
6,756
public Method getRemoveListenerMethod() { return removeListenerMethod; }
public Method getRemoveListenerMethod() { return removeListenerMethod; }
6,757
public boolean isInDefaultEventSet() { return inDefaultEventSet; }
public boolean isInDefaultEventSet() { return inDefaultEventSet; }
6,758
public boolean isUnicast() { return unicast; }
public boolean isUnicast() { return unicast; }
6,759
public void setInDefaultEventSet(boolean inDefaultEventSet) { this.inDefaultEventSet = inDefaultEventSet; }
public void setInDefaultEventSet(boolean inDefaultEventSet) { this.inDefaultEventSet = inDefaultEventSet; }
6,760
public void setUnicast(boolean unicast) { this.unicast = unicast; }
public void setUnicast(boolean unicast) { this.unicast = unicast; }
6,761
protected final Class defineClass(String name, byte[] data, int offset, int length) { return defineClass(name, data, offset, length, null); }
protected final Class defineClass(String name, byte[] data, int offset, int length) { return defineClass(name, data, offset, length, null); }
6,762
public void sendKeys(String text) {// if (text == null) {// return;// } if (isStatusErrorCode() && !resetRequired) { resetError(); if (!cursorActive) setCursorOn(); } if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]"...
public void sendKeys(String text) {// if (text == null) {// return;// } if (isStatusErrorCode() && !resetRequired) { resetError(); if (!cursorActive) setCursorOn(); } if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]"...
6,763
public static ServiceContext[] extract(Any any) { try { ServiceContextListHolder holder = (ServiceContextListHolder) any.extract_Streamable(); return holder.value; } catch (ClassCastException ex) { throw new BAD_OPERATION("ServiceContext[] expected."); } }
public static ServiceContext[] extract(Any any) { try { ServiceContextListHolder holder = (ServiceContextListHolder) any.extract_Streamable(); return holder.value; } catch (ClassCastException ex) { BAD_OPERATION bad = new BAD_OPERATION("ServiceContext[] expected"); ...
6,764
public JProgressBar() { this(0, 100, HORIZONTAL); }
public JProgressBar() { this(HORIZONTAL, 0, 100); }
6,765
public static LookAndFeel[] getAuxiliaryLookAndFeels() { return auxLookAndFeels; }
public static LookAndFeel[] getAuxiliaryLookAndFeels() { return auxLookAndFeels; }
6,767
public final synchronized void draw(Shape shape, AffineTransform tx, Color color, int mode) { syncFIFO(); super.draw(shape, tx, color, mode); final Rectangle r = getBounds(shape, tx); updateScreen(r.x - 1, r.y - 1, r.width + 2, r.height + 2); }
public final synchronized void draw(Shape shape, AffineTransform tx, Color color, int mode) { syncFIFO(); super.draw(shape, tx, color, mode); final Rectangle r = getBounds(shape, tx); updateScreen(r.x - 1, r.y - 1, r.width + 2, r.height + 2); }
6,768
public final synchronized void draw(Shape shape, AffineTransform tx, Color color, int mode) { syncFIFO(); super.draw(shape, tx, color, mode); final Rectangle r = getBounds(shape, tx); updateScreen(r.x - 1, r.y - 1, r.width + 2, r.height + 2); }
public final synchronized void draw(Shape shape, AffineTransform tx, Color color, int mode) { syncFIFO(); super.draw(shape, tx, color, mode); final Rectangle r = getBounds(shape, tx); updateScreen(r.x - 1, r.y - 1, r.width + 2, r.height + 2); }
6,769
public final synchronized void fill(Shape shape, AffineTransform tx, Color color, int mode) { syncFIFO(); super.fill(shape, tx, color, mode); final Rectangle b = getBounds(shape, tx); updateScreen(b.x, b.y, b.width, b.height); }
public final synchronized void fill(Shape shape, AffineTransform tx, Color color, int mode) { syncFIFO(); super.fill(shape, tx, color, mode); final Rectangle b = getBounds(shape, tx); updateScreen(b.x, b.y, b.width, b.height); }
6,770
public final synchronized void fill(Shape shape, AffineTransform tx, Color color, int mode) { syncFIFO(); super.fill(shape, tx, color, mode); final Rectangle b = getBounds(shape, tx); updateScreen(b.x, b.y, b.width, b.height); }
public final synchronized void fill(Shape shape, AffineTransform tx, Color color, int mode) { syncFIFO(); super.fill(shape, tx, color, mode); final Rectangle b = getBounds(shape, tx); updateScreen(b.x, b.y, b.width, b.height); }
6,771
public void setContentAreaFilled(boolean b) { if (contentAreaFilled == b) return; boolean old = contentAreaFilled; contentAreaFilled = b; firePropertyChange(CONTENT_AREA_FILLED_CHANGED_PROPERTY, old, b); revalidate(); repaint(); }
public void setContentAreaFilled(boolean b) { if (contentAreaFilled == b) return; boolean old = contentAreaFilled; contentAreaFilled = b; firePropertyChange(CONTENT_AREA_FILLED_CHANGED_PROPERTY, old, b); revalidate(); repaint(); }
6,772
public static void write(OutputStream output, String[] value) { output.write_long(value.length); for (int i = 0; i < value.length; i++) output.write_wstring(value [ i ]); }
public static void write(OutputStream output, String[] value) { output.write_long(value.length); for (int i = 0; i < value.length; i++) output.write_string(value [ i ]); }
6,773
public StringSeqHolder(String[] initial_value) { value = initial_value; typecode.setLength(value.length); }
public StringSeqHolder() { value = initial_value; typecode.setLength(value.length); }
6,774
public StringSeqHolder(String[] initial_value) { value = initial_value; typecode.setLength(value.length); }
public StringSeqHolder(String[] initial_value) { value = initial_value; typecode.setLength(value.length); }
6,775
public void setPendingInsert(boolean flag, int icX, int icY) { pendingInsert = flag; if (pendingInsert) { homePos = getPos(icX,icY); } goto_XY(icX,icY); }
public void setPendingInsert(boolean flag, int icX, int icY) { pendingInsert = flag; if (pendingInsert) { homePos = getPos(icX,icY); } if (!isStatusErrorCode()) { goto_XY(icX,icY); } }
6,777
public float getAlignmentX() { return alignmentX; }
public float getAlignmentX() { float ret = alignmentX; if (alignmentX < 0) ret = super.getAlignmentX(); return ret; }
6,778
public float getAlignmentY() { return alignmentY; }
public float getAlignmentY() { float ret = alignmentY; if (alignmentY < 0) ret = super.getAlignmentY(); return ret; }
6,779
public void setMaximumSize(Dimension max) { Dimension oldMaximumSize = maximumSize; maximumSize = max; firePropertyChange("maximumSize", oldMaximumSize, maximumSize); }
public void setMaximumSize(Dimension max) { Dimension oldMaximumSize = maximumSize; maximumSize = new Dimension(max); firePropertyChange("maximumSize", oldMaximumSize, maximumSize); }
6,782
public void setMinimumSize(Dimension min) { Dimension oldMinimumSize = minimumSize; minimumSize = min; firePropertyChange("minimumSize", oldMinimumSize, minimumSize); }
public void setMinimumSize(Dimension min) { Dimension oldMinimumSize = minimumSize; minimumSize = new Dimension(min); firePropertyChange("minimumSize", oldMinimumSize, minimumSize); }
6,783
public void setPreferredSize(Dimension pref) { Dimension oldPreferredSize = preferredSize; preferredSize = pref; firePropertyChange("preferredSize", oldPreferredSize, preferredSize); }
public void setPreferredSize(Dimension pref) { Dimension oldPreferredSize = preferredSize; preferredSize = new Dimension(pref); firePropertyChange("preferredSize", oldPreferredSize, preferredSize); }
6,784
public void paint(Graphics g, Shape a) { // Adjust size if the size is changed. Rectangle bounds = a.getBounds(); if (bounds.width != getWidth() || bounds.height != getHeight()) setSize(bounds.width, bounds.height); Rectangle inside = getInsideAllocation(a); Rectangle copy = new Rectangle(inside)...
public void paint(Graphics g, Shape a) { // Adjust size if the size is changed. Rectangle bounds = a.getBounds(); if (bounds.width != getWidth() || bounds.height != getHeight()) setSize(bounds.width, bounds.height); Rectangle inside = getInsideAllocation(a); Rectangle copy = new Rectangle(inside); ...
6,787
protected void paintChild(Graphics g, Rectangle alloc, int index) { View child = getView(index); childAllocation(index, alloc); child.paint(g, alloc); }
protected void paintChild(Graphics g, Rectangle alloc, int index) { View child = getView(index); child.paint(g, alloc); }
6,789
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("DONE")) { if (mods) mapper.saveKeyMap(); setVisible(false); } if (e.getActionCommand().equals("MAP")) { mapIt(); } if (e.getActionCommand().equals("REMOVE")) { removeIt();...
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("DONE")) { if (mods) { mapper.saveKeyMap(); setVisible(false); } if (e.getActionCommand().equals("MAP")) { mapIt(); } if (e.getActionCommand().equals("REMOVE")) { removeIt(...
6,790
private void setNewKeyStrokes(KeyEvent ke) { if (!macros && !special) { if (isLinux) mapper.setKeyStroke(mnemonicData[functions.getSelectedIndex()],ke,isAltGr); else mapper.setKeyStroke(mnemonicData[functions.getSelectedIndex()],ke); strokeDesc.setText(mapper.getKey...
private void setNewKeyStrokes(KeyEvent ke) { if (!macros && !special) { if (isLinux) mapper.setKeyStroke(mnemonicData[functions.getSelectedIndex()],ke,isAltGr); else mapper.setKeyStroke(mnemonicData[functions.getSelectedIndex()],ke); strokeDesc.setText(mapper.getKey...
6,793
public static void main(String[] args) { try { ParsedArguments cmdLine = HELP_INFO.parse(args); String device = ARG_DEVICE.getValue(cmdLine); String FSType = FS.getValue(cmdLine).intern(); String fsTypeName; Object params; int fatSize = 0; ...
public static void main(String[] args) throws SyntaxErrorException { try { ParsedArguments cmdLine = HELP_INFO.parse(args); String device = ARG_DEVICE.getValue(cmdLine); String FSType = FS.getValue(cmdLine).intern(); String fsTypeName; Object params; ...
6,794
public AssignQuad(int address, IRBasicBlock block, int lhsIndex) { super(address, block); this.variables = block.getVariables(); this.lhsIndex = lhsIndex; this.lhs = (Variable) variables[lhsIndex].clone(); lhs.setAssignQuad(this); }
public AssignQuad(int address, IRBasicBlock block, int lhsIndex) { super(address, block); this.variables = block.getVariables(); this.lhsIndex = lhsIndex; this.lhs = (Variable) variables[lhsIndex].clone(); lhs.setAssignQuad(this); }
6,795
public AssignQuad(int address, IRBasicBlock block, int lhsIndex) { super(address, block); this.variables = block.getVariables(); this.lhsIndex = lhsIndex; this.lhs = (Variable) variables[lhsIndex].clone(); lhs.setAssignQuad(this); }
public AssignQuad(int address, IRBasicBlock block, int lhsIndex) { super(address, block); this.variables = block.getVariables(); this.lhsIndex = lhsIndex; this.lhs = (Variable) variables[lhsIndex].clone(); lhs.setAssignQuad(this); }
6,796
public Parser(String programName, final String versionString, boolean longOnly) { this.programName = programName; this.longOnly = longOnly; // Put standard options in their own section near the end. OptionGroup finalGroup = new OptionGroup(Messages.getString("Parser.StdOptions")); //$NON-NLS-1$ finalG...
public Parser(String programName, String versionString) { this.programName = programName; this.longOnly = longOnly; // Put standard options in their own section near the end. OptionGroup finalGroup = new OptionGroup(Messages.getString("Parser.StdOptions")); //$NON-NLS-1$ finalGroup.add(new Option("hel...
6,797
public Parser(String programName, final String versionString, boolean longOnly) { this.programName = programName; this.longOnly = longOnly; // Put standard options in their own section near the end. OptionGroup finalGroup = new OptionGroup(Messages.getString("Parser.StdOptions")); //$NON-NLS-1$ finalG...
public Parser(String programName, final String versionString, boolean longOnly) { this.programName = programName; this.longOnly = longOnly; // Put standard options in their own section near the end. OptionGroup finalGroup = new OptionGroup(Messages.getString("Parser.StdOptions")); //$NON-NLS-1$ finalG...
6,798
public void addAccessibleSelection(int i) throws NotImplementedException { // TODO: Implement this properly. }
public void addAccessibleSelection(int i) { // TODO: Implement this properly. }
6,799
public void addAccessibleSelection(int i) throws NotImplementedException { // TODO: Implement this properly. }
setSelectedIndex(i); setSelectedIndex(i); setSelectedIndex(i); setSelectedIndex(i); publicsetSelectedIndex(i); voidsetSelectedIndex(i); addAccessibleSelection(intsetSelectedIndex(i); i)setSelectedIndex(i); setSelectedIndex(i); setSelectedIndex(i); setSelectedIndex(i); setSelectedIndex(i); setSelectedIndex(i); throwsset...
6,800
public void clearAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. }
public void clearAccessibleSelection() { // TODO: Implement this properly. }
6,801
public void clearAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. }
public void clearAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. }
6,802
public Accessible getAccessibleAt(Point p) throws NotImplementedException { return null; }
public Accessible getAccessibleAt(Point p) { return null; }
6,803
public Accessible getAccessibleAt(Point p) throws NotImplementedException { return null; }
public Accessible getAccessibleAt(Point p) throws NotImplementedException { int tabIndex = indexAtLocation(p.x, p.y); if (tabIndex >= 0) return getAccessibleChild(tabIndex); else return getAccessibleSelection(0); }
6,804
public int getAccessibleChildrenCount() throws NotImplementedException { return 0; }
public int getAccessibleChildrenCount() { return 0; }
6,805
public int getAccessibleChildrenCount() throws NotImplementedException { return 0; }
public int getAccessibleChildrenCount() throws NotImplementedException { return getTabCount(); }
6,806
public AccessibleRole getAccessibleRole() throws NotImplementedException { return null; }
public AccessibleRole getAccessibleRole() { return null; }
6,807
public AccessibleRole getAccessibleRole() throws NotImplementedException { return null; }
public AccessibleRole getAccessibleRole() throws NotImplementedException { return AccessibleRole.PAGE_TAB_LIST; }
6,808
public AccessibleSelection getAccessibleSelection() throws NotImplementedException { return null; }
public AccessibleSelection getAccessibleSelection() { return null; }
6,809
public AccessibleSelection getAccessibleSelection() throws NotImplementedException { return null; }
public AccessibleSelection getAccessibleSelection() throws NotImplementedException { return this; }
6,810
public int getAccessibleSelectionCount() throws NotImplementedException { return 0; }
public int getAccessibleSelectionCount() { return 0; }
6,811
public int getAccessibleSelectionCount() throws NotImplementedException { return 0; }
public int getAccessibleSelectionCount() throws NotImplementedException { return 1; }
6,812
public boolean isAccessibleChildSelected(int i) throws NotImplementedException { return false; }
public boolean isAccessibleChildSelected(int i) { return false; }
6,813
public boolean isAccessibleChildSelected(int i) throws NotImplementedException { return false; }
public boolean isAccessibleChildSelected(int i) throws NotImplementedException { return i == getSelectedIndex(); }
6,814
public void removeAccessibleSelection(int i) throws NotImplementedException { // TODO: Implement this properly. }
public void removeAccessibleSelection(int i) { // TODO: Implement this properly. }
6,815
public void removeAccessibleSelection(int i) throws NotImplementedException { // TODO: Implement this properly. }
public void removeAccessibleSelection(int i) throws NotImplementedException { // TODO: Implement this properly. }
6,816
public void selectAllAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. }
public void selectAllAccessibleSelection() { // TODO: Implement this properly. }
6,817
public void selectAllAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. }
public void selectAllAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. }
6,818
public void stateChanged(ChangeEvent e) throws NotImplementedException { // Implement this properly. }
public void stateChanged(ChangeEvent e) { // Implement this properly. }
6,819
public void stateChanged(ChangeEvent e) throws NotImplementedException { // Implement this properly. }
Object source = e.getSource(); firePropertyChange(AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY, null, source); Object source = e.getSource(); firePropertyChange(AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY, null, source); Object source = e.getSource(); firePropertyChange(AccessibleContext.ACCESSIBLE_SELECTION_...
6,820