bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut...
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut...
6,064
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut...
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut...
6,065
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut...
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut...
6,066
public void insert_Value(Serializable x, TypeCode typecode) { type(typecode); insert_Value(x); }
public void insert_Value(Serializable x, TypeCode c_typecode) { if (typecode != null && typecode.kind() == TCKind.tk_value_box) { has = new gnuValueHolder(x, typecode); } else { type(typecode); insert_Value(x); }
6,068
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
6,070
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
6,071
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
6,072
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
6,073
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ...
6,074
public Object clone() { return new QuadSegment(P1.getX(), P1.getY(), cp.getX(), cp.getY(), P2.getX(), P2.getY()); }
public Object clone() { return new QuadSegment(P1.getX(), P1.getY(), cp.getX(), cp.getY(), P2.getX(), P2.getY()); }
6,076
public static void loadMacros(Session session, Macronizer macros, JMenu menu) { final Session ses = session; Vector mv = new Vector(); Action action; menu.addSeparator(); String[] macrosList = Macronizer.getMacroList(); for (int x = 0; x < macrosList.length; x++) { mv.add(macros...
public static void loadMacros(Session session, Macronizer macros, JMenu menu) { final Session ses = session; Vector mv = new Vector(); Action action; menu.addSeparator(); String[] macrosList = Macronizer.getMacroList(); for (int x = 0; x < macrosList.length; x++) { mv.add(macros...
6,077
public static void loadMacros(Session session, Macronizer macros, JMenu menu) { final Session ses = session; Vector mv = new Vector(); Action action; menu.addSeparator(); String[] macrosList = Macronizer.getMacroList(); for (int x = 0; x < macrosList.length; x++) { mv.add(macros...
public static void loadMacros(Session session, Macronizer macros, JMenu menu) { final Session ses = session; Vector mv = new Vector(); Action action; menu.addSeparator(); String[] macrosList = Macronizer.getMacroList(); for (int x = 0; x < macrosList.length; x++) { mv.add(macros...
6,078
public CheckboxMenuItem(String label, boolean state) { super(label); this.state = state; if (GraphicsEnvironment.isHeadless()) throw new HeadlessException(); }
public CheckboxMenuItem(String label, boolean state) { super(label); this.state = state; if (GraphicsEnvironment.isHeadless()) throw new HeadlessException(); }
6,079
public synchronized void addItemListener(ItemListener listener) { item_listeners = AWTEventMulticaster.add(item_listeners, listener); enableEvents(AWTEvent.ITEM_EVENT_MASK); }
addItemListener(ItemListener listener) { item_listeners = AWTEventMulticaster.add(item_listeners, listener); enableEvents(AWTEvent.ITEM_EVENT_MASK); }
6,080
public synchronized void setState(boolean state) { this.state = state; if (peer != null) { CheckboxMenuItemPeer cp = (CheckboxMenuItemPeer) peer; cp.setState(state); } }
setState(boolean state) { this.state = state; if (peer != null) { CheckboxMenuItemPeer cp = (CheckboxMenuItemPeer) peer; cp.setState(state); } }
6,081
public synchronized void setState(boolean state) { this.state = state; if (peer != null) { CheckboxMenuItemPeer cp = (CheckboxMenuItemPeer) peer; cp.setState(state); } }
public synchronized void setState(boolean state) { this.state = state; if (peer != null) { CheckboxMenuItemPeer cp = (CheckboxMenuItemPeer) peer; cp.setState(state); } }
6,082
public final void add(VmMethod method, int pc, int offset) { addressTable.add(method, pc, offset); }
public final void add(VmMethod method, int pc, int offset) { addressTable.add(method, pc, offset); }
6,084
public void sendKeys(String text) { if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; setKBIndicatorOff(); simulateMnemonic(getMnemonicValue(text)); } ...
public void sendKeys(String text) { if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; setKBIndicatorOff(); simulateMnemonic(getMnemonicValue(text)); } ...
6,085
public void sendKeys(String text) { if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; setKBIndicatorOff(); simulateMnemonic(getMnemonicValue(text)); } ...
public void sendKeys(String text) { if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; setKBIndicatorOff(); simulateMnemonic(getMnemonicValue(text)); } ...
6,086
public void sendKeys(String text) { if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; setKBIndicatorOff(); simulateMnemonic(getMnemonicValue(text)); } ...
public void sendKeys(String text) { if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = null; keysBuffered = false; setKBIndicatorOff(); simulateMnemonic(getMnemonicValue(text)); } ...
6,087
public void sendKeys(String text) { if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; setKBIndicatorOff(); simulateMnemonic(getMnemonicValue(text)); } ...
public void sendKeys(String text) { if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; setKBIndicatorOff(); simulateMnemonic(getMnemonicValue(text)); } ...
6,088
public void sendKeys(String text) { if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; setKBIndicatorOff(); simulateMnemonic(getMnemonicValue(text)); } ...
public void sendKeys(String text) { if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; setKBIndicatorOff(); simulateMnemonic(getMnemonicValue(text)); } ...
6,089
public void sendKeys(String text) { if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; setKBIndicatorOff(); simulateMnemonic(getMnemonicValue(text)); } ...
public void sendKeys(String text) { if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; setKBIndicatorOff(); simulateMnemonic(getMnemonicValue(text)); } ...
6,090
public void setStatus(byte attr,byte value,String s) { statusString = s; // draw the status information bi.setStatus(attr,value,s, fmWidth, fmHeight, lm, font, colorBg, ...
public void setStatus(byte attr,byte value,String s) { statusString = s; // draw the status information bi.setStatus(attr,value,s, fmWidth, fmHeight, lm, font, colorBg, ...
6,091
public void setStatus(byte attr,byte value,String s) { statusString = s; // draw the status information bi.setStatus(attr,value,s, fmWidth, fmHeight, lm, font, colorBg, ...
public void setStatus(byte attr,byte value,String s) { statusString = s; // draw the status information bi.setStatus(attr,value,s, fmWidth, fmHeight, lm, font, colorBg, ...
6,092
protected boolean simulateKeyStroke(char c){ if (isStatusErrorCode() && !Character.isISOControl(c) && !keyProcessed) { restoreErrorLine(); setStatus(STATUS_ERROR_CODE,STATUS_VALUE_OFF,null); } boolean updateField = false; boolean numericError = false; boolean updatePos = fals...
protected boolean simulateKeyStroke(char c){ if (isStatusErrorCode() && !Character.isISOControl(c) && !keyProcessed) { restoreErrorLine(); setStatus(STATUS_ERROR_CODE,STATUS_VALUE_OFF,null); } boolean updateField = false; boolean numericError = false; boolean updatePos = fals...
6,093
boolean isSyntetic() { return (flags & SYNTETIC) != 0; }
boolean isSyntetic() { return (flags & SYNTETIC) != 0; }
6,094
public final void printMe() { Thread printerThread = new PrinterThread(planes.screen, font, numCols, numRows, colorBg, defaultPrinter, (Session) gui); printerThread.start(); }
public final void printMe() { Thread printerThread = new PrinterThread(this, font, numCols, numRows, colorBg, defaultPrinter, (Session) gui); printerThread.start(); }
6,096
private boolean getMbrSize(String member) { boolean flag = true; if(ftpOutputStream == null) { printFTPInfo("Not connected to any server!"); return false; } if(!loggedIn) { printFTPInfo("Login was not successful! Aborting!"); return false; } Socket socket...
private boolean getMbrSize(String member) { boolean flag = true; if(ftpOutputStream == null) { printFTPInfo("Not connected to any server!"); return false; } if(!loggedIn) { printFTPInfo("Login was not successful! Aborting!"); return false; } Socket socket...
6,097
public XDF getOwner (XDF obj) { return owner; }
public XDF getOwner () { return owner; }
6,098
public void paintIcon(Component c, Graphics g, int x, int y) { boolean enabled = false; boolean focus = false; if (c != null) { enabled = c.isEnabled(); focus = c.hasFocus(); } // draw the outline if (enabled) g.setColor(MetalLookAndFeel....
public void paintIcon(Component c, Graphics g, int x, int y) { boolean enabled = false; boolean focus = false; if (c != null) { enabled = c.isEnabled(); focus = c.hasFocus(); } // draw the outline if (enabled) g.setColor(MetalLookAndFeel....
6,099
public void paintIcon(Component c, Graphics g, int x, int y) { boolean enabled = false; boolean focus = false; if (c != null) { enabled = c.isEnabled(); focus = c.hasFocus(); } // draw the outline if (enabled) g.setColor(MetalLookAndFeel....
public void paintIcon(Component c, Graphics g, int x, int y) { boolean enabled = false; boolean focus = false; if (c != null) { enabled = c.isEnabled(); focus = c.hasFocus(); } // draw the outline if (enabled) g.setColor(MetalLookAndFeel....
6,100
public void paintIcon(Component c, Graphics g, int x, int y) { Color color = MetalLookAndFeel.getControlDarkShadow(); if (c instanceof JInternalFrame) { JInternalFrame f = (JInternalFrame) c; if (f.isSelected()) color = MetalLookAndFeel.getPrimaryControlShadow(); ...
public void paintIcon(Component c, Graphics g, int x, int y) { Color color = MetalLookAndFeel.getControlDarkShadow(); if (c instanceof JInternalFrame) { JInternalFrame f = (JInternalFrame) c; if (f.isSelected()) color = MetalLookAndFeel.getPrimaryControlShadow(); ...
6,101
public void paintIcon(Component c, Graphics g, int x, int y) { Color color = MetalLookAndFeel.getControlDarkShadow(); if (c instanceof JInternalFrame) { JInternalFrame f = (JInternalFrame) c; if (f.isSelected()) color = MetalLookAndFeel.getPrimaryControlShadow(); ...
public void paintIcon(Component c, Graphics g, int x, int y) { Color color = MetalLookAndFeel.getControlDarkShadow(); if (c instanceof JInternalFrame) { JInternalFrame f = (JInternalFrame) c; if (f.isSelected()) color = MetalLookAndFeel.getPrimaryControlShadow(); ...
6,102
public void paintIcon(Component c, Graphics g, int x, int y) { // draw the gray areas first g.setColor(MetalLookAndFeel.getPrimaryControlDarkShadow()); g.drawLine(x + 1, y + 1, x + 13, y + 1); g.drawLine(x + 1, y + 2, x + 1, y + 12); g.drawLine(x + 1, y + 13, x + 13, y + 13); g.dra...
public void paintIcon(Component c, Graphics g, int x, int y) { // draw the gray areas first Color savedColor = g.getColor(); AbstractButton b = (AbstractButton) c; if (b.getModel().isPressed()) g.setColor(MetalLookAndFeel.getPrimaryControlShadow()); else g.setColor(MetalLookAndFeel.getPrimaryContr...
6,104
public void paintIcon(Component c, Graphics g, int x, int y) { // draw the gray areas first g.setColor(MetalLookAndFeel.getPrimaryControlDarkShadow()); g.drawLine(x + 1, y + 1, x + 13, y + 1); g.drawLine(x + 1, y + 2, x + 1, y + 12); g.drawLine(x + 1, y + 13, x + 13, y + 13); g.dra...
public void paintIcon(Component c, Graphics g, int x, int y) { // draw the gray areas first g.setColor(MetalLookAndFeel.getPrimaryControlDarkShadow()); g.drawLine(x + 1, y + 1, x + 13, y + 1); g.drawLine(x + 1, y + 2, x + 1, y + 12); g.drawLine(x + 1, y + 13, x + 13, y + 13); g.dra...
6,105
public void paintIcon(Component c, Graphics g, int x, int y) { // draw the gray areas first g.setColor(MetalLookAndFeel.getPrimaryControlDarkShadow()); g.drawLine(x + 1, y + 1, x + 13, y + 1); g.drawLine(x + 1, y + 2, x + 1, y + 12); g.drawLine(x + 1, y + 13, x + 13, y + 13); g.dra...
public void paintIcon(Component c, Graphics g, int x, int y) { // draw the gray areas first g.setColor(MetalLookAndFeel.getPrimaryControlDarkShadow()); g.drawLine(x + 1, y + 1, x + 13, y + 1); g.drawLine(x + 1, y + 2, x + 1, y + 12); g.drawLine(x + 1, y + 13, x + 13, y + 13); g.dra...
6,106
public void paintIcon(Component c, Graphics g, int x, int y) { Color color = MetalLookAndFeel.getControlDarkShadow(); if (c instanceof JInternalFrame) { JInternalFrame f = (JInternalFrame) c; if (f.isSelected()) color = MetalLookAndFeel.getPrimaryControlShadow(); ...
public void paintIcon(Component c, Graphics g, int x, int y) { Color color = MetalLookAndFeel.getControlDarkShadow(); if (c instanceof JInternalFrame) { JInternalFrame f = (JInternalFrame) c; if (f.isSelected()) color = MetalLookAndFeel.getPrimaryControlShadow(); ...
6,107
public void paintIcon(Component c, Graphics g, int x, int y) { Color color = MetalLookAndFeel.getControlDarkShadow(); if (c instanceof JInternalFrame) { JInternalFrame f = (JInternalFrame) c; if (f.isSelected()) color = MetalLookAndFeel.getPrimaryControlShadow(); ...
public void paintIcon(Component c, Graphics g, int x, int y) { Color color = MetalLookAndFeel.getControlDarkShadow(); if (c instanceof JInternalFrame) { JInternalFrame f = (JInternalFrame) c; if (f.isSelected()) color = MetalLookAndFeel.getPrimaryControlShadow(); ...
6,108
public void paintIcon(Component c, Graphics g, int x, int y) { Color color = MetalLookAndFeel.getControlDarkShadow(); if (c instanceof JInternalFrame) { JInternalFrame f = (JInternalFrame) c; if (f.isSelected()) color = MetalLookAndFeel.getPrimaryControlShadow(); ...
public void paintIcon(Component c, Graphics g, int x, int y) { Color color = MetalLookAndFeel.getControlDarkShadow(); if (c instanceof JInternalFrame) { JInternalFrame f = (JInternalFrame) c; if (f.isSelected()) color = MetalLookAndFeel.getPrimaryControlShadow(); ...
6,110
public void paintIcon(Component c, Graphics g, int x, int y) { Color color = MetalLookAndFeel.getControlDarkShadow(); if (c instanceof JInternalFrame) { JInternalFrame f = (JInternalFrame) c; if (f.isSelected()) color = MetalLookAndFeel.getPrimaryControlShadow(); ...
public void paintIcon(Component c, Graphics g, int x, int y) { Color color = MetalLookAndFeel.getControlDarkShadow(); if (c instanceof JInternalFrame) { JInternalFrame f = (JInternalFrame) c; if (f.isSelected()) color = MetalLookAndFeel.getPrimaryControlShadow(); ...
6,111
public void paintIcon(Component c, Graphics g, int x, int y) { Color savedColor = g.getColor(); JRadioButton b = (JRadioButton) c; // draw outer circle if (b.isEnabled()) g.setColor(MetalLookAndFeel.getControlDarkShadow()); else g.setColor(MetalLookAndFeel.getControlDisable...
public void paintIcon(Component c, Graphics g, int x, int y) { Color savedColor = g.getColor(); JRadioButton b = (JRadioButton) c; // draw outer circle if (b.isEnabled()) g.setColor(MetalLookAndFeel.getControlDarkShadow()); else g.setColor(MetalLookAndFeel.getControlDisable...
6,113
protected JDialog createDialog(Component parent) throws HeadlessException { Frame toUse = (Frame) SwingUtilities.getAncestorOfClass(Frame.class, parent); if (toUse == null) toUse = SwingUtilities.getOwnerFrame(); JDialog dialog = new JDialog(toUse); setSelectedFile(null); dialog.getContentPane()....
protected JDialog createDialog(Component parent) throws HeadlessException { Frame toUse = (Frame) SwingUtilities.getAncestorOfClass(Frame.class, parent); if (toUse == null) toUse = (Frame) SwingUtilities.getOwnerFrame(null); JDialog dialog = new JDialog(toUse); setSelectedFile(null); dialog.getCo...
6,114
public int showDialog(Component parent, String approveButtonText) throws HeadlessException { JDialog d = createDialog(parent); setApproveButtonText(approveButtonText); setDialogType(CUSTOM_DIALOG); retval = ERROR_OPTION; Insets i = d.getInsets(); d.setSize(500 + i.top + i.bottom, d....
public int showDialog(Component parent, String approveButtonText) throws HeadlessException { JDialog d = createDialog(parent); setApproveButtonText(approveButtonText); setDialogType(CUSTOM_DIALOG); retval = ERROR_OPTION; Insets i = d.getInsets(); d.setSize(500 + i.top + i.bottom, d....
6,115
public int showOpenDialog(Component parent) throws HeadlessException { JDialog d = createDialog(parent); // FIXME: Remove when we get ancestor property d.setTitle("Open"); setDialogType(OPEN_DIALOG); retval = ERROR_OPTION; Insets i = d.getInsets(); d.setSize(500 + i.top + i.bottom, d.getPreferre...
public int showOpenDialog(Component parent) throws HeadlessException { JDialog d = createDialog(parent); // FIXME: Remove when we get ancestor property d.setTitle("Open"); setDialogType(OPEN_DIALOG); retval = ERROR_OPTION; Insets i = d.getInsets(); d.setSize(500 + i.top + i.bottom, d.getPreferre...
6,116
public int showSaveDialog(Component parent) throws HeadlessException { JDialog d = createDialog(parent); setDialogType(SAVE_DIALOG); retval = ERROR_OPTION; Insets i = d.getInsets(); d.setSize(500 + i.top + i.bottom, d.getPreferredSize().height); d.show(); return retval; }
public int showSaveDialog(Component parent) throws HeadlessException { JDialog d = createDialog(parent); setDialogType(SAVE_DIALOG); retval = ERROR_OPTION; Insets i = d.getInsets(); d.setSize(500 + i.top + i.bottom, d.getPreferredSize().height); d.show(); return retval; }
6,117
protected void damageLineRange (int line0, int line1, Shape a, Component host) { if (a == null) return; Rectangle rec0 = lineToRect(a, line0); Rectangle rec1 = lineToRect(a, line1); if (rec0 == null || rec1 == null) // something went wrong, repaint the entire host to be safe host.repaint()...
protected void damageLineRange (int line0, int line1, Shape a, Component host) { if (a == null) return; Rectangle rec0 = lineToRect(a, line0); Rectangle rec1 = lineToRect(a, line1); if (rec0 == null || rec1 == null) // something went wrong, repaint the entire host to be safe host.repaint()...
6,118
public int getNativeFD() { return ch.getPlainSocketImpl().getNativeFD(); }
public int getNativeFD() { try { return ch.getVMChannel().getState().getNativeFD(); } catch (IOException ioe) { return 0; } }
6,120
public void read(long devOffset, byte[] dest, int destOffset, int length) throws IOException { if (length == 0) { return; } final int ofsMisAlign = (int)(devOffset % alignment); final int lenMisAlign = (length % alignment); /*log.debug("devOffset =" + devOffset); log.debug("length =" + length); log...
public void read(long devOffset, byte[] dest, int destOffset, int length) throws IOException { if (length == 0) { return; } final int ofsMisAlign = (int)(devOffset % alignment); final int lenMisAlign = (length % alignment); /*log.debug("devOffset =" + devOffset); log.debug("length =" + length); log...
6,122
public String getName() { return (String) getAttribute(NameAttribute); }
public String getName() { return (String) getAttribute(StyleConstants.NameAttribute); }
6,123
protected void blockClose(HTML.Tag t) { printBuffer(); ElementSpec element = new ElementSpec(null, ElementSpec.EndTagType); parseBuffer.addElement(element); printBuffer(); }
protected void blockClose(HTML.Tag t) { printBuffer(); DefaultStyledDocument.ElementSpec element; element = new DefaultStyledDocument.ElementSpec(null, DefaultStyledDocument.ElementSpec.EndTagType); parseBuffer.addElement(element); printBuffer(); }
6,124
protected void blockOpen(HTML.Tag t, MutableAttributeSet attr) { printBuffer(); ElementSpec element = new ElementSpec(attr.copyAttributes(), ElementSpec.StartTagType); parseBuffer.addElement(element); printBuffer(); }
protected void blockOpen(HTML.Tag t, MutableAttributeSet attr) { printBuffer(); DefaultStyledDocument.ElementSpec element; element = new DefaultStyledDocument.ElementSpec(attr.copyAttributes(), DefaultStyledDocument.ElementSpec.StartTagType); parseBuffer.addElement(element); printBuffer(); ...
6,125
public void flush() throws BadLocationException { ElementSpec[] elements = new ElementSpec[parseBuffer.size()]; parseBuffer.copyInto(elements); parseBuffer.removeAllElements(); insert(offset, elements); offset += HTMLDocument.this.getLength() - offset; }
public void flush() throws BadLocationException { DefaultStyledDocument.ElementSpec[] elements; elements = new DefaultStyledDocument.ElementSpec[parseBuffer.size()]; parseBuffer.copyInto(elements); parseBuffer.removeAllElements(); insert(offset, elements); offset += HTMLDocument.this.get...
6,126
public Element getElement(Element e, Object attribute, Object value) { if (e != null) { if (e.getAttributes().containsAttribute(attribute, value)) return e; int count = e.getElementCount(); for (int j = 0; j < count; j++) { Element child = e.getElemen...
public Element getElement(Element e, Object attribute, Object value) { if (e != null) { if (e.getAttributes().containsAttribute(attribute, value)) return e; int count = e.getElementCount(); for (int j = 0; j < count; j++) { Element child = e.getElemen...
6,127
public JFileChooser() { // TODO } // JFileChooser()
public JFileChooser() { // TODO } // JFileChooser()
6,128
public boolean accept(File file) { return false; // TODO } // accept()
public boolean accept(File file) { return false; // TODO } // accept()
6,129
public void addActionListener(ActionListener listener) { listenerList.add (ActionListener.class, listener); }
public void addActionListener(ActionListener l) { listenerList.add (ActionListener.class, listener); }
6,130
public void addActionListener(ActionListener listener) { listenerList.add (ActionListener.class, listener); }
public void addActionListener(ActionListener listener) { listenerList.add(ActionListener.class, l); }
6,131
public void addChoosableFileFilter(FileFilter filter) { // TODO } // addChoosableFileFilter()
public void addChoosableFileFilter(FileFilter filter) { // TODO } // addChoosableFileFilter()
6,132
public void approveSelection() { // TODO } // approveSelection()
public void approveSelection() { // TODO } // approveSelection()
6,133
public void cancelSelection() { // TODO } // cancelSelection()
public void cancelSelection() { // TODO } // cancelSelection()
6,134
public void changeToParentDirectory() { // TODO } // changeToParentDirectory()
public void changeToParentDirectory() { // TODO } // changeToParentDirectory()
6,135
public void ensureFileIsVisible(File file) { // TODO } // ensureFileIsVisible()
public void ensureFileIsVisible(File file) { // TODO } // ensureFileIsVisible()
6,136
protected void fireActionPerformed(String command) { // TODO } // fireActionPerformed()
protected void fireActionPerformed(String command) { // TODO } // fireActionPerformed()
6,137
public FileFilter getAcceptAllFileFilter() { return null; // TODO } // getAcceptAllFileFilter()
public FileFilter getAcceptAllFileFilter() { return null; // TODO } // getAcceptAllFileFilter()
6,138
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJFileChooser(); return accessibleContext; }
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJFileChooser(); return accessibleContext; }
6,139
public JComponent getAccessory() { return null; // TODO } // getAccessory()
public JComponent getAccessory() { return null; // TODO } // getAccessory()
6,140
public ActionListener[] getActionListeners() { return (ActionListener[]) listenerList.getListeners (ActionListener.class); }
public ActionListener[] getActionListeners() { return (ActionListener[]) getListeners(ActionListener.class); }
6,141
public int getApproveButtonMnemonic() { return 0; // TODO } // getApproveButtonMnemonic()
public int getApproveButtonMnemonic() { return 0; // TODO } // getApproveButtonMnemonic()
6,142
public String getApproveButtonText() { return null; // TODO } // getApproveButtonText()
public String getApproveButtonText() { return null; // TODO } // getApproveButtonText()
6,143
public String getApproveButtonToolTipText() { return null; // TODO } // getApproveButtonToolTipText()
public String getApproveButtonToolTipText() { return null; // TODO } // getApproveButtonToolTipText()
6,144
public FileFilter[] getChoosableFileFilters() { return null; // TODO } // getChoosableFileFilters()
public FileFilter[] getChoosableFileFilters() { return null; // TODO } // getChoosableFileFilters()
6,145
public boolean getControlButtonsAreShown() { return false; // TODO } // getControlButtonsAreShown()
public boolean getControlButtonsAreShown() { return false; // TODO } // getControlButtonsAreShown()
6,146
public File getCurrentDirectory() { return null; // TODO } // getCurrentDirectory()
public File getCurrentDirectory() { return null; // TODO } // getCurrentDirectory()
6,147
public String getDescription(File file) { return null; // TODO } // getDescription()
public String getDescription(File file) { return null; // TODO } // getDescription()
6,148
public String getDialogTitle() { return null; // TODO } // getDialogTitle()
public String getDialogTitle() { return null; // TODO } // getDialogTitle()
6,149
public int getDialogType() { return 0; // TODO } // getDialogType()
public int getDialogType() { return 0; // TODO } // getDialogType()
6,150
public FileFilter getFileFilter() { return null; // TODO } // getFileFilter()
public FileFilter getFileFilter() { return null; // TODO } // getFileFilter()
6,151
public int getFileSelectionMode() { return 0; // TODO } // getFileSelectionMode()
public int getFileSelectionMode() { return 0; // TODO } // getFileSelectionMode()
6,152
public FileSystemView getFileSystemView() { return null; // TODO } // getFileSystemView()
public FileSystemView getFileSystemView() { return null; // TODO } // getFileSystemView()
6,153
public FileView getFileView() { return null; // TODO } // getFileView()
public FileView getFileView() { return null; // TODO } // getFileView()
6,154
public Icon getIcon(File file) { return null; // TODO } // getIcon()
public Icon getIcon(File file) { return null; // TODO } // getIcon()
6,155
public String getName(File file) { return null; // TODO } // getName()
public String getName(File file) { return null; // TODO } // getName()
6,156
public File getSelectedFile() { return null; // TODO } // getSelectedFile()
public File getSelectedFile() { return null; // TODO } // getSelectedFile()
6,157
public File[] getSelectedFiles() { return null; // TODO } // getSelectedFiles()
public File[] getSelectedFiles() { return null; // TODO } // getSelectedFiles()
6,158
public String getTypeDescription(File file) { return null; // TODO } // getTypeDescription()
public String getTypeDescription(File file) { return null; // TODO } // getTypeDescription()
6,159
public String getUIClassID() { return uiClassID; } // getUIClassID()
public String getUIClassID() { return uiClassID; } // getUIClassID()
6,160
public boolean isAcceptAllFileFilterUsed() { return false; // TODO } // isAcceptAllFileFilterUsed()
public boolean isAcceptAllFileFilterUsed() { return false; // TODO } // isAcceptAllFileFilterUsed()
6,161
public boolean isDirectorySelectionEnabled() { return false; // TODO } // isDirectorySelectionEnabled()
public boolean isDirectorySelectionEnabled() { return false; // TODO } // isDirectorySelectionEnabled()
6,162
public boolean isFileHidingEnabled() { return false; // TODO } // isFileHidingEnabled()
public boolean isFileHidingEnabled() { return false; // TODO } // isFileHidingEnabled()
6,163
public boolean isFileSelectionEnabled() { return false; // TODO } // isFileSelectionEnabled()
public boolean isFileSelectionEnabled() { return false; // TODO } // isFileSelectionEnabled()
6,164
public boolean isMultiSelectionEnabled() { return false; // TODO } // isMultiSelectionEnabled()
public boolean isMultiSelectionEnabled() { return false; // TODO } // isMultiSelectionEnabled()
6,165
public boolean isTraversable(File file) { return false; // TODO } // isTraversable()
public boolean isTraversable(File file) { return false; // TODO } // isTraversable()
6,166
protected String paramString() { return null; // TODO } // paramString()
protected String paramString() { return null; // TODO } // paramString()
6,167
public void removeActionListener(ActionListener listener) { listenerList.remove (ActionListener.class, listener); }
public void removeActionListener(ActionListener l) { try { listenerList.remove(ActionListener.class, l); } catch (IllegalArgumentException e) { listenerList.remove (ActionListener.class, listener); }
6,168
public void removeActionListener(ActionListener listener) { listenerList.remove (ActionListener.class, listener); }
public void removeActionListener(ActionListener listener) { e.printStackTrace(); } }
6,169
public boolean removeChoosableFileFilter(FileFilter filter) { return false; // TODO } // removeChoosableFileFilter()
public boolean removeChoosableFileFilter(FileFilter filter) { return false; // TODO } // removeChoosableFileFilter()
6,170
public void rescanCurrentDirectory() { // TODO } // rescanCurrentDirectory()
public void rescanCurrentDirectory() { // TODO } // rescanCurrentDirectory()
6,171
public void resetChoosableFileFilters() { // TODO } // resetChoosableFileFilters()
public void resetChoosableFileFilters() { // TODO } // resetChoosableFileFilters()
6,172
public void setAcceptAllFileFilterUsed(boolean value) { // TODO } // setAcceptAllFileFilterUsed()
public void setAcceptAllFileFilterUsed(boolean value) { // TODO } // setAcceptAllFileFilterUsed()
6,173