bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public boolean compareTabOrder(Component component1, Component component2) { return false; // TODO } // compareTabOrder()
public boolean compareTabOrder(Component component1, Component component2) { return false; // TODO } // compareTabOrder()
4,198
public void focusNextComponent(Component component) { // TODO } // focusNextComponent()
public void focusNextComponent(Component component) { // TODO } // focusNextComponent()
4,199
public void focusPreviousComponent(Component component) { // TODO } // focusPreviousComponent()
public void focusPreviousComponent(Component component) { // TODO } // focusPreviousComponent()
4,200
public Component getComponentAfter(Container container, Component component) { return null; // TODO } // getComponentAfter()
public Component getComponentAfter(Container container, Component component) { return null; // TODO } // getComponentAfter()
4,201
public Component getComponentBefore(Container container, Component component) { return null; // TODO } // getComponentBefore()
public Component getComponentBefore(Container container, Component component) { return null; // TODO } // getComponentBefore()
4,202
public Component getFirstComponent(Container container) { return null; // TODO } // getFirstComponent()
public Component getFirstComponent(Container container) { return null; // TODO } // getFirstComponent()
4,203
public Component getLastComponent(Container container) { return null; // TODO } // getLastComponent()
public Component getLastComponent(Container container) { return null; // TODO } // getLastComponent()
4,204
public void processKeyEvent(Component component, KeyEvent event) { // TODO } // processKeyEvent()
public void processKeyEvent(Component component, KeyEvent event) { // TODO } // processKeyEvent()
4,205
public static MidiDevice getMidiDevice(MidiDevice.Info info) throws MidiUnavailableException, IllegalArgumentException { Iterator deviceProviders = ServiceFactory.lookupProviders(MidiDeviceProvider.class); if (! deviceProviders.hasNext()) throw new MidiUnavailableException("No MIDI device provider...
public static MidiDevice getMidiDevice(MidiDevice.Info info) throws MidiUnavailableException { Iterator deviceProviders = ServiceFactory.lookupProviders(MidiDeviceProvider.class); if (! deviceProviders.hasNext()) throw new MidiUnavailableException("No MIDI device providers available."); do ...
4,206
public static MidiDevice getMidiDevice(MidiDevice.Info info) throws MidiUnavailableException, IllegalArgumentException { Iterator deviceProviders = ServiceFactory.lookupProviders(MidiDeviceProvider.class); if (! deviceProviders.hasNext()) throw new MidiUnavailableException("No MIDI device provider...
public static MidiDevice getMidiDevice(MidiDevice.Info info) throws MidiUnavailableException, IllegalArgumentException { Iterator deviceProviders = ServiceFactory.lookupProviders(MidiDeviceProvider.class); if (! deviceProviders.hasNext()) throw new MidiUnavailableException("No MIDI device provider...
4,207
public static MidiDevice getMidiDevice(MidiDevice.Info info) throws MidiUnavailableException, IllegalArgumentException { Iterator deviceProviders = ServiceFactory.lookupProviders(MidiDeviceProvider.class); if (! deviceProviders.hasNext()) throw new MidiUnavailableException("No MIDI device provider...
public static MidiDevice getMidiDevice(MidiDevice.Info info) throws MidiUnavailableException, IllegalArgumentException { Iterator deviceProviders = ServiceFactory.lookupProviders(MidiDeviceProvider.class); if (! deviceProviders.hasNext()) throw new MidiUnavailableException("No MIDI device provider...
4,208
public static MidiDevice.Info[] getMidiDeviceInfo() { Iterator deviceProviders = ServiceFactory.lookupProviders(MidiDeviceProvider.class); List infoList = new ArrayList(); while (deviceProviders.hasNext()) { MidiDeviceProvider provider = (MidiDeviceProvider) deviceProviders.next(); MidiDevi...
public static MidiDevice.Info[] getMidiDeviceInfo() { Iterator deviceProviders = ServiceFactory.lookupProviders(MidiDeviceProvider.class); List infoList = new ArrayList(); while (deviceProviders.hasNext()) { MidiDeviceProvider provider = (MidiDeviceProvider) deviceProviders.next(); MidiDevi...
4,209
public static MidiDevice.Info[] getMidiDeviceInfo() { Iterator deviceProviders = ServiceFactory.lookupProviders(MidiDeviceProvider.class); List infoList = new ArrayList(); while (deviceProviders.hasNext()) { MidiDeviceProvider provider = (MidiDeviceProvider) deviceProviders.next(); MidiDevi...
public static MidiDevice.Info[] getMidiDeviceInfo() { Iterator deviceProviders = ServiceFactory.lookupProviders(MidiDeviceProvider.class); List infoList = new ArrayList(); while (deviceProviders.hasNext()) { MidiDeviceProvider provider = (MidiDeviceProvider) deviceProviders.next(); MidiDevi...
4,210
public static MidiFileFormat getMidiFileFormat(InputStream stream) throws InvalidMidiDataException, IOException { Iterator readers = ServiceFactory.lookupProviders(MidiFileReader.class); while (readers.hasNext()) { MidiFileReader sr = (MidiFileReader) readers.next(); MidiFileFormat sb = sr.getM...
public static MidiFileFormat getMidiFileFormat(InputStream stream) throws InvalidMidiDataException, IOException { Iterator readers = ServiceFactory.lookupProviders(MidiFileReader.class); while (readers.hasNext()) { MidiFileReader sr = (MidiFileReader) readers.next(); MidiFileFormat sb = sr.getM...
4,211
public static int write(Sequence in, int fileType, OutputStream out) throws IOException, IllegalArgumentException { Iterator writers = ServiceFactory.lookupProviders(MidiFileWriter.class); while (writers.hasNext()) { MidiFileWriter fw = (MidiFileWriter) writers.next(); if (fw.isFileTypeSupp...
public static int write(Sequence in, int fileType, OutputStream out) throws IOException { Iterator writers = ServiceFactory.lookupProviders(MidiFileWriter.class); while (writers.hasNext()) { MidiFileWriter fw = (MidiFileWriter) writers.next(); if (fw.isFileTypeSupported(fileType, in)) ...
4,212
public static int write(Sequence in, int fileType, OutputStream out) throws IOException, IllegalArgumentException { Iterator writers = ServiceFactory.lookupProviders(MidiFileWriter.class); while (writers.hasNext()) { MidiFileWriter fw = (MidiFileWriter) writers.next(); if (fw.isFileTypeSupp...
public static int write(Sequence in, int fileType, OutputStream out) throws IOException, IllegalArgumentException { Iterator writers = ServiceFactory.lookupProviders(MidiFileWriter.class); while (writers.hasNext()) { MidiFileWriter fw = (MidiFileWriter) writers.next(); if (fw.isFileTypeSupp...
4,213
protected NIOSocket (PlainSocketImpl impl, SocketChannelImpl channel) throws IOException { super (impl); this.impl = impl; this.channel = channel; }
protected NIOSocket (SocketChannelImpl channel) throws IOException { super (impl); this.impl = impl; this.channel = channel; }
4,215
protected NIOSocket (PlainSocketImpl impl, SocketChannelImpl channel) throws IOException { super (impl); this.impl = impl; this.channel = channel; }
protected NIOSocket (PlainSocketImpl impl, SocketChannelImpl channel) throws IOException { super (impl); this.impl = impl; this.channel = channel; }
4,216
private void jbInit() throws Exception { this.setTitle(LangTool.getString("spool.title")); this.setIconImage(My5250.tnicon.getImage()); this.getContentPane().add(createFilterPanel(), BorderLayout.NORTH); // get an instance of our table model stm = new SpoolTableModel(); // create a tabl...
private void jbInit() throws Exception { this.setTitle(LangTool.getString("spool.title")); this.setIconImage(My5250.tnicon.getImage()); this.getContentPane().add(createFilterPanel(), BorderLayout.NORTH); // get an instance of our table model stm = new SpoolTableModel(); // create a tabl...
4,217
private void jbInit() throws Exception { this.setTitle(LangTool.getString("spool.title")); this.setIconImage(My5250.tnicon.getImage()); this.getContentPane().add(createFilterPanel(), BorderLayout.NORTH); // get an instance of our table model stm = new SpoolTableModel(); // create a tabl...
private void jbInit() throws Exception { this.setTitle(LangTool.getString("spool.title")); this.setIconImage(My5250.tnicon.getImage()); this.getContentPane().add(createFilterPanel(), BorderLayout.NORTH); // get an instance of our table model stm = new SpoolTableModel(); // create a tabl...
4,218
public void mousePressed (MouseEvent event) { if (event.isPopupTrigger ()) showPopupMenu(event); }
public void mousePressed (MouseEvent event) { if (SwingUtilities.isRightMouseButton(event)) showPopupMenu(event); }
4,219
public void mouseReleased (MouseEvent event) { if (event.isPopupTrigger ()) showPopupMenu(event); }
public void mouseReleased (MouseEvent event) { if (SwingUtilities.isRightMouseButton(event)) showPopupMenu(event); }
4,220
public Object action (SaxDocumentHandler handler, AttributeList attrs) { // create new object appropriately Array newarray = new Array(); newarray.setXMLAttributes(attrs); // set XML attributes from passed list // set current array and add this array to current structure ...
public Object action (SaxDocumentHandler handler, AttributeList attrs) { // create new object appropriately Array newarray = new Array(); newarray.setXMLAttributes(attrs); // set XML attributes from passed list // set current array and add this array to current structure ...
4,221
public void action (SaxDocumentHandler handler, char buf [], int offset, int len) { XMLDataIOStyle readObj = CurrentArray.getXMLDataIOStyle(); String thisString = new String(buf,offset,len); if ( readObj instanceof TaggedXMLDataIOStyle ) { // dont add this data unless it ha...
public void action (SaxDocumentHandler handler, char buf [], int offset, int len) { XMLDataIOStyle readObj = CurrentArray.getXMLDataIOStyle(); String thisString = new String(buf,offset,len); if ( readObj instanceof TaggedXMLDataIOStyle ) { // dont add this data unless it ha...
4,223
public void action (SaxDocumentHandler handler) { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) ...
public void action (SaxDocumentHandler handler) { // we stopped reading datanode, lower count by oneDataNodeLevel--;//we might still be nested within a data node// if so, return now to accumulate more data within the DATABLOCKif(DataNodeLevel != 0) return;// now we are ready to read in untagged data (both delimited/fo...
4,224
public void action (SaxDocumentHandler handler) { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) ...
public void action (SaxDocumentHandler handler) { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) ...
4,225
public void action (SaxDocumentHandler handler) { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) ...
public void action (SaxDocumentHandler handler) { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) ...
4,226
public void action (SaxDocumentHandler handler) { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) ...
public void action (SaxDocumentHandler handler) { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) ...
4,227
public void action (SaxDocumentHandler handler) { if (CurrentDataTagLevel == DataTagLevel) TaggedLocatorObj.next(); // bump up DataFormat appropriately if (MaxDataFormatIndex > 0) { int currentFastAxisCoordinate = TaggedLocatorObj.getAxisLocation(FastestAxis);...
public void action (SaxDocumentHandler handler) { if (CurrentDataTagLevel == DataTagLevel) TaggedLocatorObj.next(); // bump up DataFormat appropriately if (MaxDataFormatIndex > 0) { int currentFastAxisCoordinate = TaggedLocatorObj.getAxisIndex(FastestAxis); ...
4,229
private void addByteDataToCurrentArray (byte[] data, int amount, String endian, int nrofDataFormat) { ArrayList commandList = (ArrayList) ((FormattedXMLDataIOStyle) CurrentArray.getXMLDataIOStyle()).getCommands(); int nrofIOCmd = commandList.size(); int bytes_added = 0;Log.errorln("Adding "+amo...
private void addByteDataToCurrentArray (byte[] data, int amount, String endian) { ArrayList commandList = (ArrayList) ((FormattedXMLDataIOStyle) CurrentArray.getXMLDataIOStyle()).getCommands(); int nrofIOCmd = commandList.size(); int bytes_added = 0;Log.errorln("Adding "+amount+" bytes of data ...
4,230
private void addByteDataToCurrentArray (byte[] data, int amount, String endian, int nrofDataFormat) { ArrayList commandList = (ArrayList) ((FormattedXMLDataIOStyle) CurrentArray.getXMLDataIOStyle()).getCommands(); int nrofIOCmd = commandList.size(); int bytes_added = 0;Log.errorln("Adding "+amo...
private void addByteDataToCurrentArray (byte[] data, int amount, String endian, int nrofDataFormat) { ArrayList commandList = (ArrayList) ((FormattedXMLDataIOStyle) CurrentArray.getXMLDataIOStyle()).getCommands(); int nrofIOCmd = commandList.size(); int bytes_added = 0;Log.errorln("Adding "+amo...
4,231
private void addDataToCurrentArray ( Locator dataLocator, String thisString, DataFormat CurrentDataFormat ) {// Log.error("addDatatoArray:["+thisString+"]"); // Note that we dont treat b...
private void addDataToCurrentArray ( Locator dataLocator, String thisString, DataFormat CurrentDataFormat, int intRadix ) {// Log.error("addDatatoArray:["+thisString+"]"); // Note that w...
4,232
private void addDataToCurrentArray ( Locator dataLocator, String thisString, DataFormat CurrentDataFormat ) {// Log.error("addDatatoArray:["+thisString+"]"); // Note that we dont treat b...
privatevoidaddDataToCurrentArray(LocatordataLocator,StringthisString,DataFormatCurrentDataFormat){//Log.error("addDatatoArray:["+thisString+"]");//Notethatwedonttreatbinarydataatallheretry{if(CurrentDataFormatinstanceofStringDataFormat){//Log.errorln("StringDataFormat");CurrentArray.setData(dataLocator,thisString);}els...
4,233
private void addDataToCurrentArray ( Locator dataLocator, String thisString, DataFormat CurrentDataFormat ) {// Log.error("addDatatoArray:["+thisString+"]"); // Note that we dont treat b...
privatevoidaddDataToCurrentArray(LocatordataLocator,StringthisString,DataFormatCurrentDataFormat){//Log.error("addDatatoArray:["+thisString+"]");//Notethatwedonttreatbinarydataatallheretry{if(CurrentDataFormatinstanceofStringDataFormat){//Log.errorln("StringDataFormat");CurrentArray.setData(dataLocator,thisString);}els...
4,234
private void addDataToCurrentArray ( Locator dataLocator, String thisString, DataFormat CurrentDataFormat ) {// Log.error("addDatatoArray:["+thisString+"]"); // Note that we dont treat b...
privatevoidaddDataToCurrentArray(LocatordataLocator,StringthisString,DataFormatCurrentDataFormat){//Log.error("addDatatoArray:["+thisString+"]");//Notethatwedonttreatbinarydataatallheretry{if(CurrentDataFormatinstanceofStringDataFormat){//Log.errorln("StringDataFormat");CurrentArray.setData(dataLocator,thisString);}els...
4,235
private void addDataToCurrentArray ( Locator dataLocator, String thisString, DataFormat CurrentDataFormat ) {// Log.error("addDatatoArray:["+thisString+"]"); // Note that we dont treat b...
private void addDataToCurrentArray ( Locator dataLocator, String thisString, DataFormat CurrentDataFormat ) {// Log.error("addDatatoArray:["+thisString+"]"); // Note that we dont treat b...
4,236
private Integer convert2bytesToInteger (String endianStyle, byte[] bb, int sbyte) { int i; if(endianStyle.equals("BigEndian")) i = (bb[sbyte]&0xFF) << 8 | (bb[sbyte+1]&0xFF); else i = (bb[sbyte+1]&0xFF) << 8 | (bb[sbyte]&0xFF); return new Integer(i); }
private Integer convert2bytesToInteger (String endianStyle, byte[] bb, int sbyte) { int i; if(endianStyle.equals(Constants.BIG_ENDIAN)) i = (bb[sbyte]&0xFF) << 8 | (bb[sbyte+1]&0xFF); else i = (bb[sbyte+1]&0xFF) << 8 | (bb[sbyte]&0xFF); return new Integer(i); }
4,237
private Float convert4bytesToFloat (String endianStyle, byte[] bb, int sbyte) { int i; if(endianStyle.equals("BigEndian")) i = (bb[sbyte]&0xFF) << 24 | (bb[sbyte+1]&0xFF) << 16 | (bb[sbyte+2]&0xFF) << 8 | (bb[sbyte+3]&0xFF); else i = (bb[sbyte+3]&0xFF) << 24 | (bb[sbyte+2]&0x...
private Float convert4bytesToFloat (String endianStyle, byte[] bb, int sbyte) { int i; if(endianStyle.equals(Constants.BIG_ENDIAN)) i = (bb[sbyte]&0xFF) << 24 | (bb[sbyte+1]&0xFF) << 16 | (bb[sbyte+2]&0xFF) << 8 | (bb[sbyte+3]&0xFF); else i = (bb[sbyte+3]&0xFF) << 24 | (bb[sb...
4,238
private Integer convert4bytesToInteger (String endianStyle, byte[] bb, int sbyte) { int i; if(endianStyle.equals("BigEndian")) i = (bb[sbyte]&0xFF) << 24 | (bb[sbyte+1]&0xFF) << 16 | (bb[sbyte+2]&0xFF) << 8 | (bb[sbyte+3]&0xFF); else i = (bb[sbyte+3]&0xFF) << 24 | (bb[sbyte+2...
private Integer convert4bytesToInteger (String endianStyle, byte[] bb, int sbyte) { int i; if(endianStyle.equals(Constants.BIG_ENDIAN)) i = (bb[sbyte]&0xFF) << 24 | (bb[sbyte+1]&0xFF) << 16 | (bb[sbyte+2]&0xFF) << 8 | (bb[sbyte+3]&0xFF); else i = (bb[sbyte+3]&0xFF) << 24 | (b...
4,239
private Double convert8bytesToDouble (String endianStyle, byte[] bb, int sbyte) { int i1; int i2; if(endianStyle.equals("BigEndian")) { i1 = (bb[sbyte]&0xFF) << 24 | (bb[sbyte+1]&0xFF) << 16 | (bb[sbyte+2]&0xFF) << 8 | (bb[sbyte+3]&0xFF); i2 = (bb[sbyte+4]&0xFF) << 24 |...
private Double convert8bytesToDouble (String endianStyle, byte[] bb, int sbyte) { int i1; int i2; if(endianStyle.equals(Constants.BIG_ENDIAN)) { i1 = (bb[sbyte]&0xFF) << 24 | (bb[sbyte+1]&0xFF) << 16 | (bb[sbyte+2]&0xFF) << 8 | (bb[sbyte+3]&0xFF); i2 = (bb[sbyte+4]&0xFF...
4,240
private String convertBinaryDataToString (String endianStyle, DataFormat binaryFormatObj, String strDataRep ) { byte[] bb = strDataRep.getBytes(); if (binaryFormatObj instanceof BinaryIntegerDataFormat) { ...
private String convertBinaryDataToString (String endianStyle, DataFormat binaryFormatObj, String strDataRep ) { byte[] bb = strDataRep.getBytes(); if (binaryFormatObj instanceof BinaryIntegerDataFormat) { ...
4,241
private String convertBinaryDataToString (String endianStyle, DataFormat binaryFormatObj, String strDataRep ) { byte[] bb = strDataRep.getBytes(); if (binaryFormatObj instanceof BinaryIntegerDataFormat) { ...
private String convertBinaryDataToString (String endianStyle, DataFormat binaryFormatObj, String strDataRep ) { byte[] bb = strDataRep.getBytes(); if (binaryFormatObj instanceof BinaryIntegerDataFormat) { ...
4,242
private String convertBinaryDataToString (String endianStyle, DataFormat binaryFormatObj, String strDataRep ) { byte[] bb = strDataRep.getBytes(); if (binaryFormatObj instanceof BinaryIntegerDataFormat) { ...
private String convertBinaryDataToString (String endianStyle, DataFormat binaryFormatObj, String strDataRep ) { byte[] bb = strDataRep.getBytes(); if (binaryFormatObj instanceof BinaryIntegerDataFormat) { ...
4,243
private void loadHrefDataIntoCurrentArray () { Href hrefObj = CurrentArray.getDataCube().getHref(); // well, we should be doing something with base here, // but arent because it isnt captured by this API. feh. // $file = $href->getBase() if $href->getBase(); if (hrefObj.getSysId() !=...
private void loadHrefDataIntoCurrentArray () { Href hrefObj = CurrentArray.getDataCube().getHref(); // well, we should be doing something with base here, // but arent because it isnt captured by this API. feh. // $file = $href->getBase() if $href->getBase(); if (hrefObj.getSysId() !=...
4,245
private void loadHrefDataIntoCurrentArray () { Href hrefObj = CurrentArray.getDataCube().getHref(); // well, we should be doing something with base here, // but arent because it isnt captured by this API. feh. // $file = $href->getBase() if $href->getBase(); if (hrefObj.getSysId() !=...
private void loadHrefDataIntoCurrentArray () { Href hrefObj = CurrentArray.getDataCube().getHref(); // well, we should be doing something with base here, // but arent because it isnt captured by this API. feh. // $file = $href->getBase() if $href->getBase(); if (hrefObj.getSysId() !=...
4,246
private void loadHrefDataIntoCurrentArray () { Href hrefObj = CurrentArray.getDataCube().getHref(); // well, we should be doing something with base here, // but arent because it isnt captured by this API. feh. // $file = $href->getBase() if $href->getBase(); if (hrefObj.getSysId() !=...
private void loadHrefDataIntoCurrentArray () { Href hrefObj = CurrentArray.getDataCube().getHref(); // well, we should be doing something with base here, // but arent because it isnt captured by this API. feh. // $file = $href->getBase() if $href->getBase(); if (hrefObj.getSysId() !=...
4,247
private void loadHrefDataIntoCurrentArray () { Href hrefObj = CurrentArray.getDataCube().getHref(); // well, we should be doing something with base here, // but arent because it isnt captured by this API. feh. // $file = $href->getBase() if $href->getBase(); if (hrefObj.getSysId() !=...
private void loadHrefDataIntoCurrentArray () { Href hrefObj = CurrentArray.getDataCube().getHref(); // well, we should be doing something with base here, // but arent because it isnt captured by this API. feh. // $file = $href->getBase() if $href->getBase(); if (hrefObj.getSysId() !=...
4,248
public void intervalAdded(ListDataEvent e) { // must determine if the size of the combo box should change int start = e.getIndex0(); int end = e.getIndex1(); ComboBoxModel model = comboBox.getModel(); ListCellRenderer renderer = comboBox.getRenderer(); if (largestItemSize == null) l...
public void intervalAdded(ListDataEvent e) { // must determine if the size of the combo box should change int start = e.getIndex0(); int end = e.getIndex1(); ComboBoxModel model = comboBox.getModel(); ListCellRenderer renderer = comboBox.getRenderer(); if (largestItemSize == null) l...
4,249
public SpinnerListModel() { List defaultList; /* Create an empty list */ defaultList = new ArrayList(); /* Add the string "empty" */ defaultList.add("empty"); /* Set the list */ setList(defaultList); }
public SpinnerListModel() { List defaultList; /* Create an empty list */ defaultList = new ArrayList(); /* Add the string "empty" */ defaultList.add("empty"); /* Set the list */ setList(defaultList); }
4,252
public SpinnerListModel() { List defaultList; /* Create an empty list */ defaultList = new ArrayList(); /* Add the string "empty" */ defaultList.add("empty"); /* Set the list */ setList(defaultList); }
public SpinnerListModel() { List defaultList; /* Create an empty list */ defaultList = new ArrayList(); /* Add the string "empty" */ defaultList.add("empty"); /* Set the list */ setList(defaultList); }
4,253
public List getList() { return list; }
public List getList() { return list; }
4,254
public Object getNextValue() { /* Check for a next value */ if (index < (list.size() - 1)) { /* Return the element at the next index */ return list.get(index + 1); } else { /* Return null as this is the end of the list */ return null; } }
public Object getNextValue() { /* Check for a next value */ if (index < (list.size() - 1)) { /* Return the element at the next index */ return list.get(index + 1); } else { /* Return null as this is the end of the list */ return null; } }
4,255
public Object getPreviousValue() { /* Check for a previous value. */ if (index > 0) { /* Return the element at the previous position */ return list.get(index - 1); } else { /* Return null as this is the start of the list */ return null; } }
public Object getPreviousValue() { /* Check for a previous value. */ if (index > 0) { /* Return the element at the previous position */ return list.get(index - 1); } else { /* Return null as this is the start of the list */ return null; } }
4,256
public Object getPreviousValue() { /* Check for a previous value. */ if (index > 0) { /* Return the element at the previous position */ return list.get(index - 1); } else { /* Return null as this is the start of the list */ return null; } }
public Object getPreviousValue() { /* Check for a previous value. */ if (index > 0) { /* Return the element at the previous position */ return list.get(index - 1); } else { /* Return null as this is the start of the list */ return null; } }
4,257
public Object getValue() { return list.get(index); }
public Object getValue() { return list.get(index); }
4,258
public void setList(List list) { /* Check for null or zero size list */ if (list == null || list.size() == 0) { throw new IllegalArgumentException("The supplied list was invalid."); } /* Check for a change of referenced list */ if (this.list != list) { /* Store the new list */ this.list = list; /...
public void setList(List list) { /* Check for null or zero size list */ if (list == null || list.size() == 0) { throw new IllegalArgumentException("The supplied list was invalid."); } /* Check for a change of referenced list */ if (this.list != list) { /* Store the new list */ this.list = list; /...
4,259
public void setValue(Object value) { int valueIndex; /* Search for the value in the list */ valueIndex = list.indexOf(value); /* Check for the value being found */ if (valueIndex == -1) { throw new IllegalArgumentException("The supplied value does not " + "exist in this list"); } /* Make the ind...
public void setValue(Object value) { int valueIndex; /* Search for the value in the list */ valueIndex = list.indexOf(value); /* Check for the value being found */ if (valueIndex == -1) { throw new IllegalArgumentException("The supplied value does not " + "exist in this list"); } /* Make the ind...
4,260
public void setValue(Object value) { int valueIndex; /* Search for the value in the list */ valueIndex = list.indexOf(value); /* Check for the value being found */ if (valueIndex == -1) { throw new IllegalArgumentException("The supplied value does not " + "exist in this list"); } /* Make the ind...
public void setValue(Object value) { int valueIndex; /* Search for the value in the list */ valueIndex = list.indexOf(value); /* Check for the value being found */ if (valueIndex == -1) { throw new IllegalArgumentException("The supplied value does not " + "exist in this list"); } /* Make the ind...
4,261
public Object clone() throws CloneNotSupportedException { if (!(kpgSpi instanceof Cloneable)) throw new CloneNotSupportedException(); KeyPairGenerator result = new DummyKeyPairGenerator ((KeyPairGeneratorSpi) kpgSpi.clone(), this.getAlgorithm()); result.provider = this.getProvider(); return resu...
public Object clone() throws CloneNotSupportedException { if (!(kpgSpi instanceof Cloneable)) throw new CloneNotSupportedException(); KeyPairGenerator result = new DummyKeyPairGenerator ((KeyPairGeneratorSpi) kpgSpi.clone(), this.getAlgorithm()); result.provider = this.getProvider(); return resu...
4,262
public MouseInputAdapter() { } // MouseInputAdapter()
public MouseInputAdapter() { } // MouseInputAdapter()
4,263
public void mouseEntered(MouseEvent event) { } // mouseEntered()
public void mouseEntered(MouseEvent event) { } // mouseEntered()
4,264
private void mapIt() { Object[] message = new Object[1]; JPanel kgp = new JPanel(); final KeyGetter kg = new KeyGetter(); kg.setForeground(Color.blue); message[0] = kgp; String function; if (functions.getSelectedValue() instanceof String) function = (String)functions.g...
private void mapIt() { Object[] message = new Object[1]; JPanel kgp = new JPanel(); final KeyGetter kg = new KeyGetter(); kg.setForeground(Color.blue); message[0] = kgp; String function; if (functions.getSelectedValue() instanceof String) function = (String)functions.g...
4,265
public PluginDescriptorModel(PluginJar jarFile, XMLElement e) throws PluginException { this.jarFile = jarFile; id = getAttribute(e, "id", true); name = getAttribute(e, "name", true); providerName = getAttribute(e, "provider-name", false); version = getAttribute(e, "version", true); className = getAttribute(e, "c...
public PluginDescriptorModel(PluginJar jarFile, XMLElement e) throws PluginException { this.jarFile = jarFile; id = getAttribute(e, "id", true); name = getAttribute(e, "name", true); providerName = getAttribute(e, "provider-name", false); version = getAttribute(e, "version", true); className = getAttribute(e, "c...
4,266
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
4,267
protected Page(String title, Icon icon, Component component, String tip) { this.title = title; this.icon = icon; this.component = component; this.tip = tip; }
protected Page(String title, Icon icon, Component component, String tip) { this.title = title; this.icon = icon; this.component = component; this.tip = tip; }
4,268
protected Page(String title, Icon icon, Component component, String tip) { this.title = title; this.icon = icon; this.component = component; this.tip = tip; }
protected Page(String title, Icon icon, Component component, String tip) { this.title = title; this.icon = icon; this.component = component; this.tip = tip; }
4,269
public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || title != null && index >= title.length()) throw new IllegalArgumentException(); if (title == null || mnemonicKey == 0 || (index > -1 && title.charAt(index) != mnemonicK...
public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || title != null && index >= title.length()) throw new IllegalArgumentException(); if (title == null || mnemonicKey == 0 || (index > -1 && title.charAt(index) != mnemonicK...
4,270
public void setTip(String tip) { this.tip = tip; }
public void setTip(String tip) { this.tip = tip; }
4,271
public void setTitle(String text) { title = text; if (title != null && title.length() <= underlinedChar) setDisplayedMnemonicIndex(title.length() - 1); }
public void setTitle(String text) { title = text; if (title != null && title.length() <= underlinedChar) setDisplayedMnemonicIndex(title.length() - 1); }
4,272
public int getTabRunCount() { return ((TabbedPaneUI) ui).getTabRunCount(this); }
public int getTabRunCount() { return ((TabbedPaneUI) ui).getTabRunCount(this); }
4,273
public int getTabRunCount() { return ((TabbedPaneUI) ui).getTabRunCount(this); }
public int getTabRunCount() { return ((TabbedPaneUI) ui).getTabRunCount(this); }
4,274
public String getToolTipTextAt(int index) { checkIndex(index, 0, tabs.size()); return ((Page) tabs.elementAt(index)).getTip(); }
public String getToolTipTextAt(int index) { checkIndex(index, 0, tabs.size()); return ((Page) tabs.elementAt(index)).getTip(); }
4,275
public void insertTab(String title, Icon icon, Component component, String tip, int index) { Page p = new Page(title, icon, component, tip); tabs.insertElementAt(p, index); // Hide the component so we don't see it. Do it before we parent it // so we don't trigger a repaint. if (...
public void insertTab(String title, Icon icon, Component component, String tip, int index) { Page p = new Page(title, icon, component, tip); tabs.insertElementAt(p, index); // Hide the component so we don't see it. Do it before we parent it // so we don't trigger a repaint. if (...
4,276
protected String paramString() { return "JTabbedPane"; }
protected String paramString() { return "JTabbedPane"; }
4,277
public void removeTabAt(int index) { checkIndex(index, 0, tabs.size()); Component c = getComponentAt(index); super.remove(index); c.show(); tabs.remove(index); }
public void removeTabAt(int index) { checkIndex(index, 0, tabs.size()); Component c = getComponentAt(index); super.remove(index); c.show(); tabs.remove(index); }
4,278
public void removeTabAt(int index) { checkIndex(index, 0, tabs.size()); Component c = getComponentAt(index); super.remove(index); c.show(); tabs.remove(index); }
public void removeTabAt(int index) { checkIndex(index, 0, tabs.size()); Component c = getComponentAt(index); super.remove(index); c.show(); tabs.remove(index); }
4,279
public boolean requestFocusInWindow(boolean temporary) { return super.requestFocusInWindow(temporary); }
public boolean requestFocusInWindow() { return super.requestFocusInWindow(temporary); }
4,281
public boolean requestFocusInWindow(boolean temporary) { return super.requestFocusInWindow(temporary); }
public boolean requestFocusInWindow(boolean temporary) { if (isRequestFocusEnabled()) return super.requestFocusInWindow(); else return false; }
4,282
public Request create_request(org.omg.CORBA.Object target, Context context, String operation, NVList parameters, NamedValue returns ) { throw new NO_IMPLEMENT(); }
public Request create_request(org.omg.CORBA.Object target, Context context, String operation, NVList parameters, NamedValue returns ) { if (orb instanceof OrbFunctional) { ((OrbFunctional) orb).ensureRunning(); } gnuReques...
4,284
public boolean isCompletelyDirty(JComponent component) { if (! dirtyComponents.containsKey(component)) return false; return component.isCompletelyDirty; }
public boolean isCompletelyDirty(JComponent component) { if (! dirtyComponents.containsKey(component)) return false; return component.isCompletelyDirty; }
4,286
public void markCompletelyClean(JComponent component) { synchronized (dirtyComponents) { dirtyComponents.remove(component); } component.isCompletelyDirty = false; }
public void markCompletelyClean(JComponent component) { synchronized (dirtyComponents) { dirtyComponents.remove(component); } }
4,287
public void markCompletelyDirty(JComponent component) { Rectangle r = component.getBounds(); addDirtyRegion(component, r.x, r.y, r.width, r.height); component.isCompletelyDirty = true; }
public void markCompletelyDirty(JComponent component) { Rectangle r = component.getBounds(); addDirtyRegion(component, r.x, r.y, r.width, r.height); component.isCompletelyDirty = true; }
4,288
public void paintDirtyRegions() { // Short cicuit if there is nothing to paint. if (dirtyComponents.size() == 0) return; // Swap dirtyRegions with dirtyRegionsWork to avoid locking. synchronized (dirtyComponents) { HashMap swap = dirtyComponents; dirtyComponents = dirtyCompone...
public void paintDirtyRegions() { // Short cicuit if there is nothing to paint. if (dirtyComponents.size() == 0) return; // Swap dirtyRegions with dirtyRegionsWork to avoid locking. synchronized (dirtyComponents) { HashMap swap = dirtyComponents; dirtyComponents = dirtyCompone...
4,289
public void paintDirtyRegions() { // Short cicuit if there is nothing to paint. if (dirtyComponents.size() == 0) return; // Swap dirtyRegions with dirtyRegionsWork to avoid locking. synchronized (dirtyComponents) { HashMap swap = dirtyComponents; dirtyComponents = dirtyCompone...
public void paintDirtyRegions() { // Short cicuit if there is nothing to paint. if (dirtyComponents.size() == 0) return; // Swap dirtyRegions with dirtyRegionsWork to avoid locking. synchronized (dirtyComponents) { HashMap swap = dirtyComponents; dirtyComponents = dirtyCompone...
4,290
public void paintDirtyRegions() { // Short cicuit if there is nothing to paint. if (dirtyComponents.size() == 0) return; // Swap dirtyRegions with dirtyRegionsWork to avoid locking. synchronized (dirtyComponents) { HashMap swap = dirtyComponents; dirtyComponents = dirtyCompone...
public void paintDirtyRegions() { // Short cicuit if there is nothing to paint. if (dirtyComponents.size() == 0) return; // Swap dirtyRegions with dirtyRegionsWork to avoid locking. synchronized (dirtyComponents) { HashMap swap = dirtyComponents; dirtyComponents = dirtyCompone...
4,291
public void paintDirtyRegions() { // Short cicuit if there is nothing to paint. if (dirtyComponents.size() == 0) return; // Swap dirtyRegions with dirtyRegionsWork to avoid locking. synchronized (dirtyComponents) { HashMap swap = dirtyComponents; dirtyComponents = dirtyCompone...
public void paintDirtyRegions(){// Short cicuit if there is nothing to paint.if (dirtyComponents.size() == 0)return;// Swap dirtyRegions with dirtyRegionsWork to avoid locking.synchronized (dirtyComponents){HashMap swap = dirtyComponents;dirtyComponents = dirtyComponentsWork;dirtyComponentsWork = swap;}ArrayList repain...
4,292
public void paintImmediately(Rectangle r) { Component root = SwingUtilities.getRoot(this); if (root == null || ! root.isShowing()) return; Graphics g = root.getGraphics(); if (g == null) return; Rectangle clip = SwingUtilities.convertRectangle(this, r, root); g.setClip(clip); root.paint(...
public void paintImmediately(Rectangle r) { Component root = SwingUtilities.getRoot(this); if (root == null || ! root.isShowing()) return; Graphics g = root.getGraphics(); if (g == null) return; Rectangle clip = SwingUtilities.convertRectangle(this, r, root); g.setClip(clip); root.paint(...
4,294
public Serializable extract_Value() throws BAD_OPERATION { /**@todo Implement this org.omg.CORBA.Any abstract method*/ throw new java.lang.UnsupportedOperationException("Method extract_Value() not yet implemented."); }
public Serializable extract_Value() throws BAD_OPERATION { /**@todo Implement this org.omg.CORBA.Any abstract method*/ throw new java.lang.UnsupportedOperationException("Method extract_Value() not yet implemented."); }
4,295
public void insert_Value(Serializable x, TypeCode typecode) { resetTypes(); /**@todo Implement this org.omg.CORBA.Any abstract method*/ }
public void insert_Value(Serializable x, TypeCode typecode) { resetTypes(); /**@todo Implement this org.omg.CORBA.Any abstract method*/ }
4,296
public BooleanHolder(boolean initial_value) { value = initial_value; }
public BooleanHolder() { value = initial_value; }
4,297
public BooleanHolder(boolean initial_value) { value = initial_value; }
public BooleanHolder(boolean initial_value) { }
4,298
public DoubleHolder(double initial_value) { value = initial_value; }
public DoubleHolder() { value = initial_value; }
4,299
public DoubleHolder(double initial_value) { value = initial_value; }
public DoubleHolder(double initial_value) { }
4,300
public FixedHolder(BigDecimal initial_value) { value = initial_value; }
public FixedHolder() { value = initial_value; }
4,301
public FixedHolder(BigDecimal initial_value) { value = initial_value; }
public FixedHolder(BigDecimal initial_value) { }
4,302
public FloatHolder(float initial_value) { value = initial_value; }
public FloatHolder() { value = initial_value; }
4,303
public FloatHolder(float initial_value) { value = initial_value; }
public FloatHolder(float initial_value) { }
4,304
public IntHolder(int initial_value) { value = initial_value; }
public IntHolder() { value = initial_value; }
4,305
public IntHolder(int initial_value) { value = initial_value; }
public IntHolder(int initial_value) { }
4,306
public LongHolder(long initial_value) { value = initial_value; }
public LongHolder() { value = initial_value; }
4,307