bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public void readAttributes(ObjectInputStream in, MutableAttributeSet a) throws ClassNotFoundException, IOException { throw new InternalError("not implemented"); }
public void readAttributes(ObjectInputStream in, MutableAttributeSet a) throws ClassNotFoundException, IOException, NotImplementedException { throw new InternalError("not implemented"); }
24,706
public static void writeAttributeSet(ObjectOutputStream out, AttributeSet a) throws IOException { throw new InternalError("not implemented"); }
public static void writeAttributeSet(ObjectOutputStream out, AttributeSet a) throws IOException, NotImplementedException { throw new InternalError("not implemented"); }
24,707
public void writeAttributes(ObjectOutputStream out, AttributeSet a) throws IOException { throw new InternalError("not implemented"); }
public void writeAttributes(ObjectOutputStream out, AttributeSet a) throws IOException, NotImplementedException { throw new InternalError("not implemented"); }
24,708
public void run() throws IOException { final byte[] buf = new byte[4096]; final DatagramPacket p = new DatagramPacket(buf, buf.length); while (true) { socket.receive(p); System.out.write(p.getData(), p.getOffset(), p.getLength()); } }
public void run() throws IOException { final byte[] buf = new byte[2*4096]; final DatagramPacket p = new DatagramPacket(buf, buf.length); while (true) { socket.receive(p); System.out.write(p.getData(), p.getOffset(), p.getLength()); } }
24,709
public int checkImage(Image img, int w, int h, ImageObserver o) { System.err.println("checkImage"); return ImageObserver.ALLBITS; }
public int checkImage(Image img, int w, int h, ImageObserver o) { System.err.println("checkImage"); return ImageObserver.ALLBITS; }
24,710
public Image createImage(ImageProducer producer) { System.err.println("createImage(producer)"); return null; }
public Image createImage(ImageProducer producer) { System.err.println("createImage(producer)"); return null; }
24,711
public VolatileImage createVolatileImage(int width, int height) { // These babies are created by hardware return null; }
public VolatileImage createVolatileImage(int width, int height) { // These babies are created by hardware throw new RuntimeException("Not implemented"); }
24,712
public boolean prepareImage(Image img, int w, int h, ImageObserver o) { System.err.println("prepareImage"); return true; }
public boolean prepareImage(Image img, int w, int h, ImageObserver o) { System.err.println("prepareImage"); return true; }
24,713
public boolean requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time) { return true; }
public boolean requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time) { return true; }
24,714
abstract public String absolutePath();
public abstract String absolutePath();
24,719
abstract public void addNodeChangeListener(NodeChangeListener listener);
public abstract void addNodeChangeListener(NodeChangeListener listener);
24,720
abstract public void addPreferenceChangeListener (PreferenceChangeListener listener);
public abstract void addPreferenceChangeListener (PreferenceChangeListener listener);
24,721
abstract public String[] childrenNames() throws BackingStoreException;
public abstract String[] childrenNames() throws BackingStoreException;
24,722
abstract public void clear() throws BackingStoreException;
public abstract void clear() throws BackingStoreException;
24,723
abstract public void exportNode(OutputStream os) throws BackingStoreException, IOException;
public abstract void exportNode(OutputStream os) throws BackingStoreException, IOException;
24,724
abstract public void exportSubtree(OutputStream os) throws BackingStoreException, IOException;
public abstract void exportSubtree(OutputStream os) throws BackingStoreException, IOException;
24,725
abstract public void flush() throws BackingStoreException;
public abstract void flush() throws BackingStoreException;
24,726
abstract public String get(String key, String defaultVal);
public abstract String get(String key, String defaultVal);
24,727
abstract public boolean getBoolean(String key, boolean defaultVal);
public abstract boolean getBoolean(String key, boolean defaultVal);
24,728
abstract public byte[] getByteArray(String key, byte[] defaultVal);
public abstract byte[] getByteArray(String key, byte[] defaultVal);
24,729
abstract public double getDouble(String key, double defaultVal);
public abstract double getDouble(String key, double defaultVal);
24,730
abstract public float getFloat(String key, float defaultVal);
public abstract float getFloat(String key, float defaultVal);
24,731
abstract public int getInt(String key, int defaultVal);
public abstract int getInt(String key, int defaultVal);
24,732
abstract public long getLong(String key, long defaultVal);
public abstract long getLong(String key, long defaultVal);
24,733
abstract public boolean isUserNode();
public abstract boolean isUserNode();
24,734
abstract public String[] keys() throws BackingStoreException;
public abstract String[] keys() throws BackingStoreException;
24,735
abstract public String name();
public abstract String name();
24,736
abstract public Preferences node(String path);
public abstract Preferences node(String path);
24,737
abstract public boolean nodeExists(String path) throws BackingStoreException;
public abstract boolean nodeExists(String path) throws BackingStoreException;
24,738
abstract public Preferences parent();
public abstract Preferences parent();
24,739
abstract public void put(String key, String value);
public abstract void put(String key, String value);
24,740
abstract public void putBoolean(String key, boolean value);
public abstract void putBoolean(String key, boolean value);
24,741
abstract public void putByteArray(String key, byte[] value);
public abstract void putByteArray(String key, byte[] value);
24,742
abstract public void putDouble(String key, double value);
public abstract void putDouble(String key, double value);
24,743
abstract public void putFloat(String key, float value);
public abstract void putFloat(String key, float value);
24,744
abstract public void putInt(String key, int value);
public abstract void putInt(String key, int value);
24,745
abstract public void putLong(String key, long value);
public abstract void putLong(String key, long value);
24,746
abstract public void remove(String key);
public abstract void remove(String key);
24,747
abstract public void removeNode() throws BackingStoreException;
public abstract void removeNode() throws BackingStoreException;
24,748
abstract public void removeNodeChangeListener(NodeChangeListener listener);
public abstract void removeNodeChangeListener(NodeChangeListener listener);
24,749
abstract public void removePreferenceChangeListener (PreferenceChangeListener listener);
public abstract void removePreferenceChangeListener (PreferenceChangeListener listener);
24,750
abstract public void sync() throws BackingStoreException;
public abstract void sync() throws BackingStoreException;
24,751
abstract public String toString();
public abstract String toString();
24,752
private byte[] MGF(byte[] Z, int l) { // 1. If l > (2**32).hLen, output 'mask too long' and stop. if (l < 1 || (l & 0xFFFFFFFFL) > ((hLen & 0xFFFFFFFFL) << 32L)) { throw new IllegalArgumentException("mask too long"); } // 2. Let T be the empty octet string. byte[] result = new byte[l]; ...
private byte[] MGF(byte[] Z, int l) // 1. If l > (2**32).hLen, output 'mask too long' and stop. if (l < 1 || (l & 0xFFFFFFFFL) > ((hLen & 0xFFFFFFFFL) << 32L)) throw new IllegalArgumentException("mask too long"); } // 2. Let T be the empty octet string. byte[] result = new byte[l]; ...
24,753
private byte[] MGF(byte[] Z, int l) { // 1. If l > (2**32).hLen, output 'mask too long' and stop. if (l < 1 || (l & 0xFFFFFFFFL) > ((hLen & 0xFFFFFFFFL) << 32L)) { throw new IllegalArgumentException("mask too long"); } // 2. Let T be the empty octet string. byte[] result = new byte[l]; ...
private byte[] MGF(byte[] Z, int l) { // 1. If l > (2**32).hLen, output 'mask too long' and stop. if (l < 1 || (l & 0xFFFFFFFFL) > ((hLen & 0xFFFFFFFFL) << 32L)) { throw new IllegalArgumentException("mask too long"); // 2. Let T be the empty octet string. byte[] result = new byte[l]; ...
24,754
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (Configuration.DEBUG) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen < 0)...
24,755
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
24,756
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) if (DEBUG && debuglevel > 8) debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen < ...
24,757
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); if (sLen <...
24,758
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
24,759
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
24,760
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
24,761
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
24,762
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
24,763
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
24,764
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
24,765
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
public boolean decode(byte[] mHash, byte[] EM, int emBits, int sLen) { if (DEBUG && debuglevel > 8) { debug("mHash: " + Util.toString(mHash)); debug("EM: " + Util.toString(EM)); debug("emBits: " + String.valueOf(emBits)); debug("sLen: " + String.valueOf(sLen)); } if (sLen ...
24,766
public byte[] encode(byte[] mHash, int emBits, byte[] salt) { int sLen = salt.length; // 1. If the length of M is greater than the input limitation for the hash // function (2**61 - 1 octets for SHA-1) then output "message too long" // and stop. // 2. Let mHash = Hash(M), an octet string of length hLe...
public byte[] encode(byte[] mHash, int emBits, byte[] salt) int sLen = salt.length; // 1. If the length of M is greater than the input limitation for the hash // function (2**61 - 1 octets for SHA-1) then output "message too long" // and stop. // 2. Let mHash = Hash(M), an octet string of length hLen...
24,767
public byte[] encode(byte[] mHash, int emBits, byte[] salt) { int sLen = salt.length; // 1. If the length of M is greater than the input limitation for the hash // function (2**61 - 1 octets for SHA-1) then output "message too long" // and stop. // 2. Let mHash = Hash(M), an octet string of length hLe...
public byte[] encode(byte[] mHash, int emBits, byte[] salt) { int sLen = salt.length; // 1. If the length of M is greater than the input limitation for the hash // function (2**61 - 1 octets for SHA-1) then output "message too long" // and stop. // 2. Let mHash = Hash(M), an octet string of length hLe...
24,768
public byte[] encode(byte[] mHash, int emBits, byte[] salt) { int sLen = salt.length; // 1. If the length of M is greater than the input limitation for the hash // function (2**61 - 1 octets for SHA-1) then output "message too long" // and stop. // 2. Let mHash = Hash(M), an octet string of length hLe...
public byte[] encode(byte[] mHash, int emBits, byte[] salt) { int sLen = salt.length; // 1. If the length of M is greater than the input limitation for the hash // function (2**61 - 1 octets for SHA-1) then output "message too long" // and stop. // 2. Let mHash = Hash(M), an octet string of length hLe...
24,769
public byte[] encode(byte[] mHash, int emBits, byte[] salt) { int sLen = salt.length; // 1. If the length of M is greater than the input limitation for the hash // function (2**61 - 1 octets for SHA-1) then output "message too long" // and stop. // 2. Let mHash = Hash(M), an octet string of length hLe...
public byte[] encode(byte[] mHash, int emBits, byte[] salt) { int sLen = salt.length; // 1. If the length of M is greater than the input limitation for the hash // function (2**61 - 1 octets for SHA-1) then output "message too long" // and stop. // 2. Let mHash = Hash(M), an octet string of length hLe...
24,770
public byte[] encode(byte[] mHash, int emBits, byte[] salt) { int sLen = salt.length; // 1. If the length of M is greater than the input limitation for the hash // function (2**61 - 1 octets for SHA-1) then output "message too long" // and stop. // 2. Let mHash = Hash(M), an octet string of length hLe...
public byte[] encode(byte[] mHash, int emBits, byte[] salt) { int sLen = salt.length; // 1. If the length of M is greater than the input limitation for the hash // function (2**61 - 1 octets for SHA-1) then output "message too long" // and stop. // 2. Let mHash = Hash(M), an octet string of length hLe...
24,771
public void addPropertyChangeListener(String prop, PropertyChangeListener listener);
void addPropertyChangeListener(String prop, PropertyChangeListener listener);
24,772
public void addVetoableChangeListener(String prop, VetoableChangeListener listener);
void addVetoableChangeListener(String prop, VetoableChangeListener listener);
24,773
public BeanContext getBeanContext();
BeanContext getBeanContext();
24,774
public void removePropertyChangeListener(String prop, PropertyChangeListener listener);
void removePropertyChangeListener(String prop, PropertyChangeListener listener);
24,775
public void removeVetoableChangeListener(String prop, VetoableChangeListener listener);
void removeVetoableChangeListener(String prop, VetoableChangeListener listener);
24,776
public void setBeanContext(BeanContext parent) throws PropertyVetoException;
void setBeanContext(BeanContext parent) throws PropertyVetoException;
24,777
protected void insert(int offset, ElementSpec[] data) throws BadLocationException { writeLock(); // First we insert the content. int index = offset; for (int i = 0; i < data.length; i++) { ElementSpec spec = data[i]; if (spec.getArray() != null && spec.getLength() > 0) { ...
protected void insert(int offset, ElementSpec[] data) throws BadLocationException { writeLock(); // First we insert the content. StringBuffer contentBuffer = new StringBuffer(); for (int i = 0; i < data.length; i++) { ElementSpec spec = data[i]; if (spec.getArray() != null && spec.g...
24,778
protected void insert(int offset, ElementSpec[] data) throws BadLocationException { writeLock(); // First we insert the content. int index = offset; for (int i = 0; i < data.length; i++) { ElementSpec spec = data[i]; if (spec.getArray() != null && spec.getLength() > 0) { ...
protected void insert(int offset, ElementSpec[] data) throws BadLocationException { writeLock(); // First we insert the content. int index = offset; for (int i = 0; i < data.length; i++) { ElementSpec spec = data[i]; if (spec.getArray() != null && spec.getLength() > 0) { ...
24,779
protected void insert(int offset, ElementSpec[] data) throws BadLocationException { writeLock(); // First we insert the content. int index = offset; for (int i = 0; i < data.length; i++) { ElementSpec spec = data[i]; if (spec.getArray() != null && spec.getLength() > 0) { ...
protected void insert(int offset, ElementSpec[] data) throws BadLocationException { writeLock(); // First we insert the content. int index = offset; for (int i = 0; i < data.length; i++) { ElementSpec spec = data[i]; if (spec.getArray() != null && spec.getLength() > 0) { ...
24,780
protected void insert(int offset, ElementSpec[] data) throws BadLocationException { writeLock(); // First we insert the content. int index = offset; for (int i = 0; i < data.length; i++) { ElementSpec spec = data[i]; if (spec.getArray() != null && spec.getLength() > 0) { ...
protected void insert(int offset, ElementSpec[] data) throws BadLocationException { writeLock(); // First we insert the content. int index = offset; for (int i = 0; i < data.length; i++) { ElementSpec spec = data[i]; if (spec.getArray() != null && spec.getLength() > 0) { ...
24,781
protected void insert(int offset, ElementSpec[] data) throws BadLocationException { writeLock(); // First we insert the content. int index = offset; for (int i = 0; i < data.length; i++) { ElementSpec spec = data[i]; if (spec.getArray() != null && spec.getLength() > 0) { ...
protected void insert(int offset, ElementSpec[] data) throws BadLocationException { writeLock(); // First we insert the content. int index = offset; for (int i = 0; i < data.length; i++) { ElementSpec spec = data[i]; if (spec.getArray() != null && spec.getLength() > 0) { ...
24,782
public DataBufferDouble(int size) { super(TYPE_DOUBLE, size); data = new double[size]; }
public DataBufferDouble(int size) { super(TYPE_DOUBLE, size, 1, 0); bankData = new double[1][]; data = new double[size]; }
24,784
public ClassCastException() { super(); }
public ClassCastException() { super(); }
24,788
private VmType loadNormalClass(String name) throws IOException, ClassNotFoundException { if (failOnNewLoad) { throw new RuntimeException( "Cannot load a new class when failOnNewLoad is set (" + name + ")"); } boolean allowNatives = false; allowNa...
private VmType loadNormalClass(String name) throws IOException, ClassNotFoundException { if (failOnNewLoad) { throw new RuntimeException( "Cannot load a new class when failOnNewLoad is set (" + name + ")"); } boolean allowNatives = false; allowNa...
24,789
public Object resolveVariable(QName qName) { return get(qName.toString(), null, 1, 1); }
public Object resolveVariable(QName qName) { return get(qName, null, 1, 1); }
24,791
public String toString() { StringBuffer buf = new StringBuffer(); boolean next = false; Collection seen = new HashSet(); buf.append('{'); for (Iterator i = variables.iterator(); i.hasNext(); ) { Map ctx = (Map) i.next(); for (Iterator j = ctx.entrySet().iterator(); j.hasNext(); ) ...
public String toString() { StringBuffer buf = new StringBuffer(); boolean next = false; Collection seen = new HashSet(); buf.append('{'); for (Iterator i = variables.iterator(); i.hasNext(); ) { Map ctx = (Map) i.next(); for (Iterator j = ctx.entrySet().iterator(); j.hasNext(); ) ...
24,792
static String read() throws IOException { String message = pluginInputStream.readLine(); System.err.println(" PIPE: applet viewer read: " + message); if (message == null || message.equals("shutdown")) { // Close input/output channels to plugin. pluginInputStream.close(); pluginOutputStream.close(); Sy...
static String read() throws IOException { String message = pluginInputStream.readLine(); System.err.println (" " + Messages.getString("PluginAppletViewer.AppletViewerRead") + message); if (message == null || message.equals("shutdown")) { // Close input/output channels to plugin. pluginInputStream.clos...
24,793
static String read() throws IOException { String message = pluginInputStream.readLine(); System.err.println(" PIPE: applet viewer read: " + message); if (message == null || message.equals("shutdown")) { // Close input/output channels to plugin. pluginInputStream.close(); pluginOutputStream.close(); Sy...
static String read() throws IOException { String message = pluginInputStream.readLine(); System.err.println(" PIPE: applet viewer read: " + message); if (message == null || message.equals("shutdown")) { // Close input/output channels to plugin. pluginInputStream.close(); pluginOutputStream.close(); Sy...
24,794
static void write(String message) throws IOException { pluginOutputStream.write(message, 0, message.length()); pluginOutputStream.newLine(); pluginOutputStream.flush(); System.err.println(" PIPE: applet viewer wrote: " + message); }
static void write(String message) throws IOException { pluginOutputStream.write(message, 0, message.length()); pluginOutputStream.newLine(); pluginOutputStream.flush(); System.err.println (" " + Messages.getString("PluginAppletViewer.AppletViewerWrote") + message); }
24,795
public void setReadMethod(Method readMethod) throws IntrospectionException { checkMethods(readMethod, setMethod); getMethod = readMethod; }
public void setReadMethod(Method readMethod) throws IntrospectionException { propertyType = checkMethods(readMethod, setMethod); getMethod = readMethod; }
24,799
public void updateUI() { setUI((FileChooserUI) UIManager.getUI(this)); revalidate(); }
public void updateUI() { setUI((FileChooserUI) UIManager.getUI(this)); }
24,800
public void actionPerformed(ActionEvent e) { Object obj = new String(parentPath + getFileName()); if (obj != null) { File f = filechooser.getFileSystemView().createFileObject( obj.toString()); if (filechooser.is...
public void actionPerformed(ActionEvent e) { Object obj = null; if (parentPath != null) obj = new String(parentPath + getFileName()); else obj = filechooser.getSelectedFile(); if (obj != null) { File f = filechooser.getFileSystemView().createFileObject( ...
24,801
public void actionPerformed(ActionEvent e) { Object obj = new String(parentPath + getFileName()); if (obj != null) { File f = filechooser.getFileSystemView().createFileObject( obj.toString()); if (filechooser.is...
public void actionPerformed(ActionEvent e) { Object obj = new String(parentPath + getFileName()); if (obj != null) { File f = filechooser.getFileSystemView().createFileObject( obj.toString()); if (filechooser.is...
24,802
public void actionPerformed(ActionEvent e) { Object obj = new String(parentPath + getFileName()); if (obj != null) { File f = filechooser.getFileSystemView().createFileObject( obj.toString()); if (filechooser.is...
public void actionPerformed(ActionEvent e) { Object obj = new String(parentPath + getFileName()); if (obj != null) { File f = filechooser.getFileSystemView().createFileObject( obj.toString()); if (filechooser.is...
24,803
public void mouseClicked(MouseEvent e) { if (list.getSelectedValue() == null) return; FileSystemView fsv = filechooser.getFileSystemView(); if (e.getClickCount() >= 2 && list.getSelectedValue().toString().equals(lastSelected.toString())) { File f = fsv.createFileObj...
public void mouseClicked(MouseEvent e) { Object p = list.getSelectedValue(); if (p == null) return; FileSystemView fsv = filechooser.getFileSystemView(); if (e.getClickCount() >= 2 && list.getSelectedValue().toString().equals(lastSelected.toString())) { File f = fsv...
24,805
public void mouseClicked(MouseEvent e) { if (list.getSelectedValue() == null) return; FileSystemView fsv = filechooser.getFileSystemView(); if (e.getClickCount() >= 2 && list.getSelectedValue().toString().equals(lastSelected.toString())) { File f = fsv.createFileObj...
public void mouseClicked(MouseEvent e) { if (list.getSelectedValue() == null) return; FileSystemView fsv = filechooser.getFileSystemView(); if (e.getClickCount() >= 2 && list.getSelectedValue().toString().equals(lastSelected.toString())) { File f = fsv.createFileObj...
24,806
public void mouseClicked(MouseEvent e) { if (list.getSelectedValue() == null) return; FileSystemView fsv = filechooser.getFileSystemView(); if (e.getClickCount() >= 2 && list.getSelectedValue().toString().equals(lastSelected.toString())) { File f = fsv.createFileObj...
public void mouseClicked(MouseEvent e) { if (list.getSelectedValue() == null) return; FileSystemView fsv = filechooser.getFileSystemView(); if (e.getClickCount() >= 2 && list.getSelectedValue().toString().equals(lastSelected.toString())) { File f = fsv.createFileObj...
24,807
protected ResolveResult() { resolvedObj = null; remainingName = null; }
protected ResolveResult() { resolvedObj = null; remainingName = null; }
24,809
protected abstractRecord newInstance(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb ) { gnuDynValue v = new gnuDynValue(oType, aType, aFactory, anOrb); if (isNull) v.set_to_null(); else v.set_to_value(...
protected RecordAny newInstance(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb ) { gnuDynValue v = new gnuDynValue(oType, aType, aFactory, anOrb); if (isNull) v.set_to_null(); else v.set_to_value(); ...
24,810
Paper(){ width = 8.5 * 72; height = 11 * 72; imageableX = 72; imageableY = 72; imageableWidth = width - (2 * 72); imageableHeight = height - (2 * 72);}
Paper(){ width = 8.5 * 72; height = 11 * 72; imageableX = 72; imageableY = 72; imageableWidth = width - (2 * 72); imageableHeight = height - (2 * 72);}
24,811
getHeight(){ return(height);}
getHeight(){ return(height);}
24,812
getImageableHeight(){ return(imageableHeight);}
getImageableHeight(){ return(imageableHeight);}
24,813
getImageableWidth(){ return(imageableWidth);}
getImageableWidth(){ return(imageableWidth);}
24,814
getImageableX(){ return(imageableX);}
getImageableX(){ return(imageableX);}
24,815
getImageableY(){ return(imageableY);}
getImageableY(){ return(imageableY);}
24,816
getWidth(){ return(width);}
getWidth(){ return(width);}
24,817
setImageableArea(double imageableX, double imageableY, double imageableWidth, double imageableHeight){ this.imageableX = imageableX; this.imageableY = imageableY; this.imageableWidth = imageableWidth; this.imageableHeight = imageableHeight;}
public void setImageableArea(double imageableX, double imageableY, double imageableWidth, double imageableHeight){ this.imageableX = imageableX; this.imageableY = imageableY; this.imageableWidth = imageableWidth; this.imageableHeight = imageableHeight;}
24,818
setSize(double width, double height){ this.width = width; this.height = height;}
setSize(double width, double height){ this.width = width; this.height = height;}
24,819