bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public float getPreferredSpan(int axis) { Element el = getElement(); checkPainter(); GlyphPainter painter = getGlyphPainter(); TabExpander tabEx = null; View parent = getParent(); if (parent instanceof TabExpander) tabEx = (TabExpander) parent; // FIXME: Figure out how to determine the x pa...
public float getPreferredSpan(int axis) { float span = 0; checkPainter(); GlyphPainter painter = getGlyphPainter(); TabExpander tabEx = null; View parent = getParent(); if (parent instanceof TabExpander) tabEx = (TabExpander) parent; // FIXME: Figure out how to determine the x parameter. ...
2,038
public float getPreferredSpan(int axis) { Element el = getElement(); checkPainter(); GlyphPainter painter = getGlyphPainter(); TabExpander tabEx = null; View parent = getParent(); if (parent instanceof TabExpander) tabEx = (TabExpander) parent; // FIXME: Figure out how to determine the x pa...
public float getPreferredSpan(int axis) { Element el = getElement(); checkPainter(); GlyphPainter painter = getGlyphPainter(); TabExpander tabEx = null; View parent = getParent(); if (parent instanceof TabExpander) tabEx = (TabExpander) parent; // FIXME: Figure out how to determine the x pa...
2,039
public TabExpander getTabExpander() { // TODO: Figure out if this is correct. TabExpander te = null; View parent = getParent(); if (parent instanceof ParagraphView) te = (ParagraphView) parent; return te; }
public TabExpander getTabExpander() { // TODO: Figure out if this is correct. TabExpander te = null; View parent = getParent(); if (parent instanceof ParagraphView) te = (ParagraphView) parent; return te; }
2,040
public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { // FIXME: not implemented return 0; }
public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { // FIXME: not implemented checkPainter(); GlyphPainter painter = getGlyphPainter(); return painter.viewToModel(this, x, y, a, b); }
2,041
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { if (orientation == SwingConstants.VERTICAL) return visibleRect.height * direction; else return visibleRect.width * direction; }
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { if (orientation == SwingConstants.VERTICAL) return visibleRect.height * direction; else return visibleRect.width * direction; }
2,042
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { if (orientation == SwingConstants.VERTICAL) return visibleRect.height * direction; else return visibleRect.width * direction; }
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { if (orientation == SwingConstants.VERTICAL) return visibleRect.height * direction; else { int rowHeight = getRowHeight(); if (rowHeight > 0) block = Math.max(rowHeight, (visibleRect.height / rowHeight) * r...
2,043
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { int h = (rowHeight + rowMargin); int delta = h * direction; // Round so that the top would start from the row boundary if (orientation == SwingConstants.VERTICAL) { ...
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { int h = (rowHeight + rowMargin); int delta = h * direction; // Round so that the top would start from the row boundary if (orientation == SwingConstants.VERTICAL) { ...
2,044
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { int h = (rowHeight + rowMargin); int delta = h * direction; // Round so that the top would start from the row boundary if (orientation == SwingConstants.VERTICAL) { ...
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { int h = (rowHeight + rowMargin); int delta = h * direction; // Round so that the top would start from the row boundary if (orientation == SwingConstants.VERTICAL) { ...
2,045
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { int h = (rowHeight + rowMargin); int delta = h * direction; // Round so that the top would start from the row boundary if (orientation == SwingConstants.VERTICAL) { ...
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { int h = (rowHeight + rowMargin); int delta = h * direction; // Round so that the top would start from the row boundary if (orientation == SwingConstants.VERTICAL) { ...
2,046
public void setColumnSelectionAllowed(boolean c) { getColumnModel().setColumnSelectionAllowed(c); repaint(); }
public void setColumnSelectionAllowed(boolean c) { if (columnModel.getColumnSelectionAllowed() != c) { columnModel.setColumnSelectionAllowed(c); firePropertyChange("columnSelectionAllowed", !c, c); repaint(); }
2,047
public void tableChanged (TableModelEvent event) { // update the column model from the table model if the structure has // changed and the flag autoCreateColumnsFromModel is set if ((event == null || (event.getFirstRow() == TableModelEvent.HEADER_ROW)) && autoCreateColumnsFromModel) { row...
public void tableChanged (TableModelEvent event) { // update the column model from the table model if the structure has // changed and the flag autoCreateColumnsFromModel is set if ((event == null || (event.getFirstRow() == TableModelEvent.HEADER_ROW)) && autoCreateColumnsFromModel) { row...
2,051
public static final DateFormat getDateInstance (int style) { return getDateInstance (style, Locale.getDefault()); }
public static final DateFormat getDateInstance () { return getDateInstance (style, Locale.getDefault()); }
2,052
public static final DateFormat getDateInstance (int style) { return getDateInstance (style, Locale.getDefault()); }
public static final DateFormat getDateInstance (int style) { return getDateInstance (DEFAULT, Locale.getDefault()); }
2,053
public TableColumn(int modelIndex) { this(modelIndex, 75, null, null); }
public TableColumn() { this(modelIndex, 75, null, null); }
2,054
public TableColumn(int modelIndex) { this(modelIndex, 75, null, null); }
public TableColumn(int modelIndex) { this(0, 75, null, null); }
2,055
public JTableHeader(TableColumnModel cm) { accessibleContext = new AccessibleJTableHeader(); columnModel = cm == null ? createDefaultColumnModel() : cm; draggedColumn = null; draggedDistance = 0; opaque = true; reorderingAllowed = true; resizingAllowed = true; resizingColumn = null; table...
public JTableHeader() { accessibleContext = new AccessibleJTableHeader(); columnModel = cm == null ? createDefaultColumnModel() : cm; draggedColumn = null; draggedDistance = 0; opaque = true; reorderingAllowed = true; resizingAllowed = true; resizingColumn = null; table = null; updateT...
2,056
public JTableHeader(TableColumnModel cm) { accessibleContext = new AccessibleJTableHeader(); columnModel = cm == null ? createDefaultColumnModel() : cm; draggedColumn = null; draggedDistance = 0; opaque = true; reorderingAllowed = true; resizingAllowed = true; resizingColumn = null; table...
public JTableHeader(TableColumnModel cm) { accessibleContext = new AccessibleJTableHeader(); columnModel = cm == null ? createDefaultColumnModel() : cm; draggedColumn = null; draggedDistance = 0; opaque = true; reorderingAllowed = true; resizingAllowed = true; resizingColumn = null; table...
2,057
public void setWidth(int newWidth) { int oldWidth = width; if (newWidth < minWidth) width = minWidth; else if (newWidth > maxWidth) width = maxWidth; else width = newWidth; if (width == oldWidth) return; firePropertyChange(COLUMN_WIDTH_PROPERTY, oldWidth, width); }
public void setWidth(int newWidth) { int oldWidth = width; if (newWidth < minWidth) width = minWidth; else if (newWidth > maxWidth) width = maxWidth; else width = newWidth; if (width == oldWidth) return; firePropertyChange("width", oldWidth, width); }
2,058
public int getPosition(int index) { // Variables int position; int loop; // Process Sizes position = 0; for (loop = 0; loop < index; loop++) { position += sizes[loop]; } // for // Return Position return position; } // getPosition()
public int getPosition(int index) { // Variables int position; int loop; // Process Sizes position = 0; for (loop = 0; loop < index; loop++) { position += sizes[loop]; } // for // Return Position return position; } // getPosition()
2,059
public int getPosition(int index) { // Variables int position; int loop; // Process Sizes position = 0; for (loop = 0; loop < index; loop++) { position += sizes[loop]; } // for // Return Position return position; } // getPosition()
public int getPosition(int index) { // Variables int position; int loop; // Process Sizes position = 0; for (loop = 0; loop < index; loop++) { position += sizes[loop]; } // for // Return Position position = 0; for (loop = 0; loop < index; loop++) position += sizes[loop]; } // getPosition()
2,060
public int getPosition(int index) { // Variables int position; int loop; // Process Sizes position = 0; for (loop = 0; loop < index; loop++) { position += sizes[loop]; } // for // Return Position return position; } // getPosition()
public int getPosition(int index) { // Variables int position; int loop; // Process Sizes position = 0; for (loop = 0; loop < index; loop++) { position += sizes[loop]; return position; } // for // Return Position return position; return position; } // getPosition()
2,061
int getColumnIndex(Object columnIdentifier);
int getColumnIndex(Object identifier);
2,062
public void removeEntries(int start, int length) { // Variables int[] array; int index; int arrayIndex; // Sanity Check if ((start + length) > sizes.length) { throw new IllegalArgumentException("Specified start/length that " + "is greater than available sizes"); } // if // Create New Array array = new ...
public void removeEntries(int start, int length) { int[] array; int index; int arrayIndex; // Variables int[] array; int index; int arrayIndex; // Sanity Check if ((start + length) > sizes.length) { throw new IllegalArgumentException("Specified start/length that " + "is greater than available sizes"); } ...
2,063
public void removeEntries(int start, int length) { // Variables int[] array; int index; int arrayIndex; // Sanity Check if ((start + length) > sizes.length) { throw new IllegalArgumentException("Specified start/length that " + "is greater than available sizes"); } // if // Create New Array array = new ...
public void removeEntries(int start, int length) { // Variables int[] array; int index; int arrayIndex; // Sanity Check if ((start + length) > sizes.length) { throw new IllegalArgumentException("Specified start/length that " + "is greater than available sizes"); } // if // Create New Array array = new ...
2,064
public void removeEntries(int start, int length) { // Variables int[] array; int index; int arrayIndex; // Sanity Check if ((start + length) > sizes.length) { throw new IllegalArgumentException("Specified start/length that " + "is greater than available sizes"); } // if // Create New Array array = new ...
public void removeEntries(int start, int length) { // Variables int[] array; int index; int arrayIndex; // Sanity Check if ((start + length) > sizes.length) { throw new IllegalArgumentException("Specified start/length that " + "is greater than available sizes"); } // if // Create New Array array = new ...
2,065
public void insertEntries(int start, int length, int value) { // Variables int[] array; int index; int arrayIndex; int loop; // Create New Array array = new int[sizes.length + length]; arrayIndex = 0; for (index = 0; index < sizes.length; index++) { if (index == start) { for (loop = 0; loop < length; ...
public void insertEntries(int start, int length, int value) { int[] array; int index; int arrayIndex; int loop; // Variables int[] array; int index; int arrayIndex; int loop; // Create New Array array = new int[sizes.length + length]; arrayIndex = 0; for (index = 0; index < sizes.length; index++) { if (i...
2,066
public void insertEntries(int start, int length, int value) { // Variables int[] array; int index; int arrayIndex; int loop; // Create New Array array = new int[sizes.length + length]; arrayIndex = 0; for (index = 0; index < sizes.length; index++) { if (index == start) { for (loop = 0; loop < length; ...
public void insertEntries(int start, int length, int value) { // Variables int[] array; int index; int arrayIndex; int loop; // Create New Array array = new int[sizes.length + length]; arrayIndex = 0; for (index = 0; index < sizes.length; index++) { if (index == start) { for (loop = 0; loop < length; ...
2,067
public void insertEntries(int start, int length, int value) { // Variables int[] array; int index; int arrayIndex; int loop; // Create New Array array = new int[sizes.length + length]; arrayIndex = 0; for (index = 0; index < sizes.length; index++) { if (index == start) { for (loop = 0; loop < length; ...
public void insertEntries(int start, int length, int value) { // Variables int[] array; int index; int arrayIndex; int loop; // Create New Array array = new int[sizes.length + length]; arrayIndex = 0; for (index = 0; index < sizes.length; index++) { if (index == start) { for (loop = 0; loop < length; ...
2,068
public SizeSequence(int numEntries, int value) { insertEntries(0, numEntries, value); } // SizeSequence()
public SizeSequence(int numEntries, int value) { insertEntries(0, numEntries, value); } // SizeSequence()
2,069
public OptionGroup(String name) { this.name = name; }
OptionGroup() { this.name = name; }
2,070
public OptionGroup(String name) { this.name = name; }
public OptionGroup(String name) { }
2,071
public synchronized void exiting(String sourceClass, String sourceMethod, Object result) { if (isLoggable(Level.FINER)) logp(Level.FINER, sourceClass, sourceMethod, "RETURN {0}", result); }
public synchronized void exiting(String sourceClass, String sourceMethod, Object result) { if (isLoggable(Level.FINER)) logp(Level.FINER, sourceClass, sourceMethod, "RETURN {0}", result); }
2,072
public synchronized void exiting(String sourceClass, String sourceMethod, Object result) { if (isLoggable(Level.FINER)) logp(Level.FINER, sourceClass, sourceMethod, "RETURN {0}", result); }
public synchronized void exiting(String sourceClass, String sourceMethod, Object result) { if (isLoggable(Level.FINER)) logp(Level.FINER, sourceClass, sourceMethod, "RETURN"); }
2,073
void assignFrom(REMatch other) { start = other.start; end = other.end; index = other.index; // need to deep clone? next = other.next; empty = other.empty; }
void assignFrom(REMatch other) { start = other.start; end = other.end; index = other.index; // need to deep clone? next = other.next; }
2,074
public VerifyError(String s) { super(s); }
public VerifyError(String s) { super(s); }
2,076
Authenticator(){}
Authenticator(){}
2,077
getPasswordAuthentication(){ return(null);}
getPasswordAuthentication(){ return(null);}
2,078
protected final String getRequestingHost(){ return(host);}
protected final String getRequestingHost(){ return(host);}
2,079
getRequestingPort(){ return(port);}
getRequestingPort(){ return(port);}
2,080
getRequestingPrompt(){ return(prompt);}
getRequestingPrompt(){ return(prompt);}
2,081
getRequestingProtocol(){ return(protocol);}
getRequestingProtocol(){ return(protocol);}
2,082
getRequestingScheme(){ return(scheme);}
getRequestingScheme(){ return(scheme);}
2,083
getRequestingSite(){ return(addr);}
getRequestingSite(){ return(addr);}
2,084
requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String scheme) throws SecurityException{ return(requestPasswordAuthentication (null, addr, port, protocol, prompt, scheme));}
requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String scheme) throws SecurityException{ return(requestPasswordAuthentication (null, addr, port, protocol, prompt, scheme));}
2,085
requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String scheme) throws SecurityException{ return(requestPasswordAuthentication (null, addr, port, protocol, prompt, scheme));}
requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String scheme) throws SecurityException{ return(requestPasswordAuthentication (null, addr, port, protocol, prompt, scheme));}
2,086
setDefault(Authenticator def_auth){ SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkPermission(new NetPermission("setDefaultAuthenticator")); default_authenticator = def_auth;}
setDefault(Authenticator def_auth){ SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkPermission(new NetPermission("setDefaultAuthenticator")); default_authenticator = def_auth;}
2,087
setDefault(Authenticator def_auth){ SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkPermission(new NetPermission("setDefaultAuthenticator")); default_authenticator = def_auth;}
setDefault(Authenticator def_auth){ SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkPermission(new NetPermission("setDefaultAuthenticator")); default_authenticator = def_auth;}
2,088
public ClassNameArgument(String name, String description) { super(name, description); }
public ClassNameArgument(String name, String description) { super(name, description); }
2,091
public void actionPerformed(ActionEvent e) { // process the save transfer information button if (e.getActionCommand().equals("SAVE")) { saveXTFRInfo(); } // process the save transfer information button if (e.getActionCommand().equals("LOAD")) { loadXTFRInfo(); } if (e.getActionCo...
public void actionPerformed(ActionEvent e) { // process the save transfer information button if (e.getActionCommand().equals("SAVE")) { saveXTFRInfo(); } // process the save transfer information button if (e.getActionCommand().equals("LOAD")) { loadXTFRInfo(); } if (e.getActionCo...
2,092
private void initXTFRInfo(Properties XTFRProps) { // create some reusable borders and layouts BorderLayout borderLayout = new BorderLayout(); Border emptyBorder = BorderFactory.createEmptyBorder(10, 10, 0, 10); // main panel JPanel mp = new JPanel(); mp.setLayout(borderLayout); // system panel JPanel sp = new ...
private void initXTFRInfo(Properties XTFRProps) { // create some reusable borders and layouts BorderLayout borderLayout = new BorderLayout(); Border emptyBorder = BorderFactory.createEmptyBorder(10, 10, 0, 10); // main panel JPanel mp = new JPanel(); mp.setLayout(borderLayout); // system panel JPanel sp = new ...
2,093
private void txtONKeyPressed(java.awt.event.KeyEvent evt) { if (evt.getKeyCode() == evt.VK_ENTER) { xtfrButton.doClick(); } }
private void txtONKeyPressed(java.awt.event.KeyEvent evt) { if (evt.getKeyCode() == KeyEvent.VK_ENTER) { xtfrButton.doClick(); } }
2,094
public boolean connect(String host) { connection = null; hostName = host.toUpperCase(); try { printFTPInfo("Connecting to " + hostName); Driver driver2 = (Driver)Class.forName("com.ibm.as400.access.AS400JDBCDriver").newInstance(); DriverManager.registerDriver(driver2); ...
public boolean connect(String host) { connection = null; hostName = host.toUpperCase(); try { printFTPInfo("Connecting to " + hostName); Driver driver2 = (Driver)Class.forName("com.ibm.as400.access.AS400JDBCDriver").newInstance(); DriverManager.registerDriver(driver2); ...
2,095
public JProgressBar(int minimum, int maximum) { this(HORIZONTAL, minimum, maximum); }
public JProgressBar() { this(HORIZONTAL, minimum, maximum); }
2,096
public JProgressBar(int minimum, int maximum) { this(HORIZONTAL, minimum, maximum); }
public JProgressBar(int minimum, int maximum) { this(HORIZONTAL, 0, 100); }
2,097
public void setRows(int rows) { if (rows < 0) throw new IllegalArgumentException(); this.rows = rows; }
public void setRows(int rows) { if (rows < 0) throw new IllegalArgumentException(); if (rows != this.rows) { this.rows = rows; revalidate(); } }
2,098
protected boolean getFile(String remoteFile, String localFile) { boolean flag = true; if(ftpOutputStream == null) { printFTPInfo("Not connected to any server!"); return false; } if(!loggedIn) { printFTPInfo("Login was not successful! Aborting!"); return false; ...
protected boolean getFile(String remoteFile, String localFile) { boolean flag = true; if(ftpOutputStream == null) { printFTPInfo("Not connected to any server!"); return false; } if(!loggedIn) { printFTPInfo("Login was not successful! Aborting!"); return false; ...
2,099
public JTable (TableModel dm) { this(dm, null, null); }
public JTable () { this(dm, null, null); }
2,100
public JTable (TableModel dm) { this(dm, null, null); }
public JTable (TableModel dm) { this(null, null, null); }
2,101
protected void installKeyboardActions() throws NotImplementedException { // TODO: Implement this properly. }
protected void installKeyboardActions() { // TODO: Implement this properly. }
2,102
protected void uninstallKeyboardActions() throws NotImplementedException { // TODO: Implement this properly. }
protected void uninstallKeyboardActions() { // TODO: Implement this properly. }
2,103
public static XMLOutputFactory newInstance() throws FactoryConfigurationError { ClassLoader loader = Thread.currentThread().getContextClassLoader(); if (loader == null) { loader = XMLOutputFactory.class.getClassLoader(); } String className = null; int count = 0; do { cl...
public static XMLOutputFactory newInstance() throws FactoryConfigurationError { ClassLoader loader = Thread.currentThread().getContextClassLoader(); if (loader == null) { loader = XMLOutputFactory.class.getClassLoader(); } String className = null; int count = 0; do { cl...
2,105
public abstract XMLStreamWriter createXMLStreamWriter(OutputStream stream) throws XMLStreamException;
public abstract XMLStreamWriter createXMLStreamWriter(Writer stream) throws XMLStreamException;
2,106
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !(DataIOStyleAttribs.isEmpty()) ) { // create new object appropriately Formatte...
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( CurrentArray.getXMLDataIOStyle() instanceof TaggedXMLDataIOStyle ) { // create new object ap...
2,107
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !(DataIOStyleAttribs.isEmpty()) ) { // create new object appropriately Formatte...
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !(DataIOStyleAttribs.isEmpty()) ) { // create new object appropriately Formatte...
2,108
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !(DataIOStyleAttribs.isEmpty()) ) { // create new object appropriately Formatte...
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !(DataIOStyleAttribs.isEmpty()) ) { // create new object appropriately Formatte...
2,109
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !(DataIOStyleAttribs.isEmpty()) ) { // create new object appropriately Formatte...
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !(DataIOStyleAttribs.isEmpty()) ) { // create new object appropriately Formatte...
2,110
public Object action (SaxDocumentHandler handler, Attributes attrs) { // save these for later, when we know what kind of dataIOstyle we got // Argh we really need a clone on Attributes. Just dumb copy for now. DataIOStyleAttribs.clear(); // all old values cleared DataIOStyleAt...
public Object action (SaxDocumentHandler handler, Attributes attrs) { // save these for later, when we know what kind of dataIOstyle we got // Argh we really need a clone on Attributes. Just dumb copy for now. // all old values cleared DataIOStyleAttribs = attribListToHashtab...
2,111
public Object action (SaxDocumentHandler handler, Attributes attrs) { // save these for later, when we know what kind of dataIOstyle we got // Argh we really need a clone on Attributes. Just dumb copy for now. DataIOStyleAttribs.clear(); // all old values cleared DataIOStyleAt...
public Object action (SaxDocumentHandler handler, Attributes attrs) { // save these for later, when we know what kind of dataIOstyle we got // Argh we really need a clone on Attributes. Just dumb copy for now. DataIOStyleAttribs.clear(); // all old values cleared DataIOStyleAt...
2,112
public Object action (SaxDocumentHandler handler, Attributes attrs) { // save these for later, when we know what kind of dataIOstyle we got // Argh we really need a clone on Attributes. Just dumb copy for now. DataIOStyleAttribs.clear(); // all old values cleared DataIOStyleAt...
public Object action (SaxDocumentHandler handler, Attributes attrs) { // save these for later, when we know what kind of dataIOstyle we got // Argh we really need a clone on Attributes. Just dumb copy for now. DataIOStyleAttribs.clear(); // all old values cleared DataIOStyleAt...
2,113
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // must be formatted style, thats the only style that has ...
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( CurrentArray.getXMLDataIOStyle() instanceof TaggedXMLDataIOStyle ) { // must be formatted st...
2,114
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // must be formatted style, thats the only style that has ...
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // must be formatted style, thats the only style that has ...
2,115
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // must be formatted style, thats the only style that has ...
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // must be formatted style, thats the only style that has ...
2,116
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // must be formatted style, thats the only style that has ...
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // must be formatted style, thats the only style that has ...
2,117
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // If we see a skipChar command, then we must have Formatt...
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( CurrentArray.getXMLDataIOStyle() instanceof TaggedXMLDataIOStyle ) { // If we see a skipCha...
2,118
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // If we see a skipChar command, then we must have Formatt...
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // If we see a skipChar command, then we must have Formatt...
2,119
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // If we see a skipChar command, then we must have Formatt...
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // If we see a skipChar command, then we must have Formatt...
2,120
public void iterateRoot(FSDirectory root) { try { Iterator<FSEntry> rootIterator; rootIterator = root.iterator(); while(rootIterator.hasNext()) { FSEntry entry=rootIterator.next(); System.out.println(entry.getName()); } } catch (IOException e) { // TODO Auto-generated catch block e.printSt...
public void iterateRoot(FSDirectory root) { try { Iterator<? extends FSEntry> rootIterator; rootIterator = root.iterator(); while(rootIterator.hasNext()) { FSEntry entry=rootIterator.next(); System.out.println(entry.getName()); } } catch (IOException e) { // TODO Auto-generated catch block ...
2,122
public String[] list(File directory, FilenameFilter filter) throws IOException { final FSEntry entry = NTFSfs.getRootEntry(); if (entry == null) { throw new FileNotFoundException(directory.getAbsolutePath()); } if (!entry.isDirectory()) { throw new IOException("Cannot list on non-directories " + directory); }...
public String[] list(File directory, FilenameFilter filter) throws IOException { final FSEntry entry = NTFSfs.getRootEntry(); if (entry == null) { throw new FileNotFoundException(directory.getAbsolutePath()); } if (!entry.isDirectory()) { throw new IOException("Cannot list on non-directories " + directory); }...
2,123
public void canceled(WizardEvent e) {// System.out.println("It is canceled!"); if (workingThread != null) { workingThread.interrupt(); workingThread = null; } this.hide(); this.dispose(); }
public void canceled(WizardEvent e) {// System.out.println("It is canceled!"); if (workingThread != null) { workingThread.interrupt(); workingThread = null; } this.setVisible(false); this.dispose(); }
2,124
public void add(int pc, int offset) { addressTable.add(pc, offset); }
public void add(int pc, int offset) { addressTable.add(pc, offset); }
2,125
public void add(int pc, int offset) { if (table != null) { throw new RuntimeException("Address table is locked"); } final AddressPcEntry entry = new AddressPcEntry(pc, offset); if (list == null) { list = entry; } else { AddressPcEntry p = list; while (p.next != null) { p = p.next; } p.next = entry;...
public void add(int pc, int offset) { if (table != null) { throw new RuntimeException("Address table is locked"); } final AddressPcEntry entry = new AddressPcEntry(pc, offset); if (list == null) { list = entry; } else { AddressPcEntry p = list; while (p.next != null) { p = p.next; } p.next = entry;...
2,126
public MediaSizeName getMediaSizeName() { return media; }
public MediaSizeName getMediaSizeName() { return mediaName; }
2,127
private String getConnectSession () { Connect sc = new Connect(frame,LangTool.getString("ss.title"),sessions); // load the new session information from the session property file loadSessions(); return sc.getConnectKey(); }
private String getConnectSession () { Connect sc = new Connect(frame1,LangTool.getString("ss.title"),sessions); // load the new session information from the session property file loadSessions(); return sc.getConnectKey(); }
2,128
static public void main(String[] args) { if (!isSpecified("-nc",args)) { if (!checkBootStrapper(args)) { // if we did not find a running instance and the -d options is // specified start up the bootstrap deamon to allow checking // for running instances ...
static public void main(String[] args) { if (!isSpecified("-nc",args)) { if (!checkBootStrapper(args)) { // if we did not find a running instance and the -d options is // specified start up the bootstrap deamon to allow checking // for running instances ...
2,129
static public void main(String[] args) { if (!isSpecified("-nc",args)) { if (!checkBootStrapper(args)) { // if we did not find a running instance and the -d options is // specified start up the bootstrap deamon to allow checking // for running instances ...
static public void main(String[] args) { if (!isSpecified("-nc",args)) { if (!checkBootStrapper(args)) { // if we did not find a running instance and the -d options is // specified start up the bootstrap deamon to allow checking // for running instances ...
2,130
static public void main(String[] args) { if (!isSpecified("-nc",args)) { if (!checkBootStrapper(args)) { // if we did not find a running instance and the -d options is // specified start up the bootstrap deamon to allow checking // for running instances ...
static public void main(String[] args) { if (!isSpecified("-nc",args)) { if (!checkBootStrapper(args)) { // if we did not find a running instance and the -d options is // specified start up the bootstrap deamon to allow checking // for running instances ...
2,131
static public void main(String[] args) { if (!isSpecified("-nc",args)) { if (!checkBootStrapper(args)) { // if we did not find a running instance and the -d options is // specified start up the bootstrap deamon to allow checking // for running instances ...
static public void main(String[] args) { if (!isSpecified("-nc",args)) { if (!checkBootStrapper(args)) { // if we did not find a running instance and the -d options is // specified start up the bootstrap deamon to allow checking // for running instances ...
2,132
synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"...
synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"...
2,133
synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"...
synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"...
2,134
synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"...
synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"...
2,135
synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"...
synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"...
2,136
void newView() { int width = 600; int height = 500; if (sessions.containsKey("emul.width")) width = Integer.parseInt(sessions.getProperty("emul.width")); if (sessions.containsKey("emul.height")) height = Integer.parseInt(sessions.getProperty("emul.height")); frame = new Gui52...
void newView() { int width = 600; int height = 500; if (sessions.containsKey("emul.width")) width = Integer.parseInt(sessions.getProperty("emul.width")); if (sessions.containsKey("emul.height")) height = Integer.parseInt(sessions.getProperty("emul.height")); frame = new Gui52...
2,137
void newView() { int width = 600; int height = 500; if (sessions.containsKey("emul.width")) width = Integer.parseInt(sessions.getProperty("emul.width")); if (sessions.containsKey("emul.height")) height = Integer.parseInt(sessions.getProperty("emul.height")); frame = new Gui52...
void newView() { int width = 600; int height = 500; if (sessions.containsKey("emul.width")) width = Integer.parseInt(sessions.getProperty("emul.width")); if (sessions.containsKey("emul.height")) height = Integer.parseInt(sessions.getProperty("emul.height")); frame = new Gui52...
2,138
public void closeSession(Session sessionObject) { sessionObject.closeDown(); sessions.removeSession((Session)sessionObject); }
public void closeSession(String sessionName) { sessionObject.closeDown(); sessions.removeSession((Session)sessionObject); }
2,139
public void closeSession(Session sessionObject) { sessionObject.closeDown(); sessions.removeSession((Session)sessionObject); }
public void closeSession(Session sessionObject) { sessionObject.closeDown(); sessions.removeSession((Session)sessionObject); }
2,140
public TypeCode _type() { return t_object; }
public TypeCode _type() { return ObjectHelper.type(); }
2,141
public void closeDown() { if (defaultProps.containsKey("saveme")) { defaultProps.remove("saveme"); Object[] args = {propFileName}; String message = MessageFormat.format( LangTool.getString("messages.saveSettings"), args); int re...
public void closeDown() { if (defaultProps.containsKey("saveme")) { defaultProps.remove("saveme"); Object[] args = {propFileName}; String message = MessageFormat.format( LangTool.getString("messages.saveSettings"), args); int re...
2,143
private void closeSession() { Object[] message = new Object[1]; message[0] = LangTool.getString("cs.message"); String[] options = {LangTool.getString("cs.optThis"), LangTool.getString("cs.optAll"), LangTool.getString("cs.optCancel")}; int r...
private void closeSession() { Object[] message = new Object[1]; message[0] = LangTool.getString("cs.message"); String[] options = {LangTool.getString("cs.optThis"), LangTool.getString("cs.optAll"), LangTool.getString("cs.optCancel")}; int r...
2,144
private void closeSession() { Object[] message = new Object[1]; message[0] = LangTool.getString("cs.message"); String[] options = {LangTool.getString("cs.optThis"), LangTool.getString("cs.optAll"), LangTool.getString("cs.optCancel")}; int r...
private void closeSession() { Object[] message = new Object[1]; message[0] = LangTool.getString("cs.message"); String[] options = {LangTool.getString("cs.optThis"), LangTool.getString("cs.optAll"), LangTool.getString("cs.optCancel")}; int r...
2,145
private void doAttributes() { SessionAttributes sa = new SessionAttributes(propFileName, defaultProps, me.frame); sa.addPropertyChangeListener(screen); sa.addPropertyChangeListener(this); sa.showIt(); defaultProps = ...
private void doAttributes() { SessionAttributes sa = new SessionAttributes(propFileName, defaultProps, (Frame)me.frame); sa.addPropertyChangeListener(screen); sa.addPropertyChangeListener(this); sa.showIt(); defaultP...
2,146