bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public ViewFactory getViewFactory() { return null; // TODO } | public ViewFactory getViewFactory() { if (viewFactory == null) viewFactory = new StyledViewFactory(); return viewFactory; // TODO } | 10,984 |
public void install(JEditorPane component) { // TODO } | CaretTracker tracker = new CaretTracker(); component.addCaretListener(tracker); CaretTracker tracker = new CaretTracker(); component.addCaretListener(tracker); publicCaretTracker tracker = new CaretTracker(); component.addCaretListener(tracker); voidCaretTracker tracker = new CaretTracker(); component.addCaretListener(... | 10,985 |
public String getContentType() { return getEditorKit().getContentType(); } | public final String getContentType() { return getEditorKit().getContentType(); } | 10,986 |
public void setContentType(String type) { if (editorKit != null && editorKit.getContentType().equals(type)) return; EditorKit kit = getEditorKitForContentType(type); if (kit != null) setEditorKit(kit); } | public final void setContentType(String type) { if (editorKit != null && editorKit.getContentType().equals(type)) return; EditorKit kit = getEditorKitForContentType(type); if (kit != null) setEditorKit(kit); } | 10,987 |
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (value!=null) super.setTex... | public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (value != null) super.setT... | 10,988 |
public SynchronizedAttributeSet(AttributeSet attributeSet) { if (attributeSet == null) throw new NullPointerException("attributeSet may not be null"); this.set = attributeSet; } | public SynchronizedAttributeSet(AttributeSet attributeSet) { if (attributeSet == null) throw new NullPointerException("attributeSet may not be null"); attrset = attributeSet; } | 10,990 |
public synchronized boolean add(Attribute attribute) { return set.add(attribute); } | public synchronized boolean add(Attribute attribute) { return attrset.add(attribute); } | 10,991 |
public synchronized boolean addAll(AttributeSet attributes) { return set.addAll(attributes); } | public synchronized boolean addAll(AttributeSet attributes) { return attrset.addAll(attributes); } | 10,992 |
public synchronized void clear() { set.clear(); } | public synchronized void clear() { attrset.clear(); } | 10,993 |
public synchronized boolean containsKey(Class category) { return set.containsKey(category); } | public synchronized boolean containsKey(Class category) { return attrset.containsKey(category); } | 10,994 |
public synchronized boolean containsValue(Attribute attribute) { return set.containsValue(attribute); } | public synchronized boolean containsValue(Attribute attribute) { return attrset.containsValue(attribute); } | 10,995 |
public synchronized boolean equals(Object obj) { return set.equals(obj); } | public synchronized boolean equals(Object obj) { return attrset.equals(obj); } | 10,996 |
public synchronized Attribute get(Class interfaceName) { return set.get(interfaceName); } | public synchronized Attribute get(Class interfaceName) { return attrset.get(interfaceName); } | 10,997 |
public synchronized int hashCode() { return set.hashCode(); } | public synchronized int hashCode() { return attrset.hashCode(); } | 10,998 |
public synchronized boolean isEmpty() { return set.isEmpty(); } | public synchronized boolean isEmpty() { return attrset.isEmpty(); } | 10,999 |
public synchronized boolean remove(Class category) { return set.remove(category); } | public synchronized boolean remove(Class category) { return attrset.remove(category); } | 11,000 |
public synchronized int size() { return set.size(); } | public synchronized int size() { return attrset.size(); } | 11,001 |
public synchronized Attribute[] toArray() { return set.toArray(); } | public synchronized Attribute[] toArray() { return attrset.toArray(); } | 11,002 |
public UnmodifiableAttributeSet(AttributeSet attributeSet) { if (attributeSet == null) throw new NullPointerException("attributeSet may not be null"); this.set = attributeSet; } | public UnmodifiableAttributeSet(AttributeSet attributeSet) { if (attributeSet == null) throw new NullPointerException("attributeSet may not be null"); this.attrset = attributeSet; } | 11,003 |
public boolean containsKey(Class category) { return set.containsKey(category); } | public boolean containsKey(Class category) { return attrset.containsKey(category); } | 11,004 |
public boolean containsValue(Attribute attribute) { return set.containsValue(attribute); } | public boolean containsValue(Attribute attribute) { return attrset.containsValue(attribute); } | 11,005 |
public boolean equals(Object obj) { return set.equals(obj); } | public boolean equals(Object obj) { return attrset.equals(obj); } | 11,006 |
public Attribute get(Class interfaceName) { return set.get(interfaceName); } | public Attribute get(Class interfaceName) { return attrset.get(interfaceName); } | 11,007 |
public int hashCode() { return set.hashCode(); } | public int hashCode() { return attrset.hashCode(); } | 11,008 |
public boolean isEmpty() { return set.isEmpty(); } | public boolean isEmpty() { return attrset.isEmpty(); } | 11,009 |
public int size() { return set.size(); } | public int size() { return attrset.size(); } | 11,010 |
public Attribute[] toArray() { return set.toArray(); } | public Attribute[] toArray() { return attrset.toArray(); } | 11,011 |
public void addColumn(TableColumn column) { if (column.getHeaderValue() == null) { String name = getColumnName(column.getModelIndex()); column.setHeaderValue(name); } columnModel.addColumn(column); } | public void addColumn(TableColumn column) { if (column.getHeaderValue() == null) { String name = getColumnName(column.getModelIndex()); column.setHeaderValue(name); } columnModel.addColumn(column); } | 11,012 |
public int convertColumnIndexToModel(int vc) { if (vc < 0) return vc; else if (vc > getColumnCount()) return -1; else return columnModel.getColumn(vc).getModelIndex(); } | public int convertColumnIndexToModel(int vc) { if (vc < 0) return vc; else if (vc > getColumnCount()) return -1; else return columnModel.getColumn(vc).getModelIndex(); } | 11,014 |
public String getColumnName(int column) { return dataModel.getColumnName(column); } | public String getColumnName(int column) { int modelColumn = columnModel.getColumn(column).getModelIndex(); return dataModel.getColumnName(modelColumn); } | 11,015 |
public ListSelectionModel getSelectionModel() { if (! rowSelectionAllowed) return null; return selectionModel; } | public ListSelectionModel getSelectionModel() { if (! rowSelectionAllowed) return null; return selectionModel; } | 11,016 |
protected void initializeLocalVars() { setTableHeader(createDefaultTableHeader()); this.autoCreateColumnsFromModel = false; if (columnModel == null) { this.autoCreateColumnsFromModel = true; createColumnsFromModel(); } this.columnModel.addColumnModelListener(this); this.def... | protected void initializeLocalVars() { setTableHeader(createDefaultTableHeader()); this.autoCreateColumnsFromModel = false; if (columnModel == null) { this.autoCreateColumnsFromModel = true; createColumnsFromModel(); } this.columnModel.addColumnModelListener(this); this.def... | 11,017 |
public void setAutoCreateColumnsFromModel(boolean a) { autoCreateColumnsFromModel = a; } | public void setAutoCreateColumnsFromModel(boolean autoCreate) { autoCreateColumnsFromModel = a; } | 11,018 |
public void setAutoCreateColumnsFromModel(boolean a) { autoCreateColumnsFromModel = a; } | public void setAutoCreateColumnsFromModel(boolean a) { if (autoCreateColumnsFromModel != autoCreate) { autoCreateColumnsFromModel = autoCreate; if (autoCreate) createDefaultColumnsFromModel(); } } | 11,019 |
private void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else { new SecureRandom ().nextBytes(buffer); } } | private void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else { new SecureRandom ().nextBytes(buffer); } } | 11,020 |
private void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else { new SecureRandom ().nextBytes(buffer); } } | private void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); else { new SecureRandom ().nextBytes(buffer); } | 11,021 |
public static ThreadPolicyValue from_int(int code) { try { return enume [ code ]; } catch (ArrayIndexOutOfBoundsException ex) { throw new BAD_OPERATION("Invalid enumeration code " + code); } } | public static ThreadPolicyValue from_int(int code) { try { return enume [ code ]; } catch (ArrayIndexOutOfBoundsException ex) { BAD_OPERATION bad = new BAD_OPERATION("Invalid policy code " + code); bad.minor = Minor.PolicyType; throw bad; } } | 11,023 |
public Object run() { return System.getProperty(key, defaultValue); } | public Object run() { return System.getProperty(key, defaultValue); } | 11,024 |
public Token readToken() throws IOException { Token token = null; int c = in.read(); switch(c) { case -1: token = new Token(Token.EOF); break; case '{': token = new Token(Token.LCURLY); break; case '}': token = new Token(Token.RCURLY); break; ... | Token readToken() throws IOException { Token token = null; int c = in.read(); switch(c) { case -1: token = new Token(Token.EOF); break; case '{': token = new Token(Token.LCURLY); break; case '}': token = new Token(Token.RCURLY); break; ca... | 11,025 |
public Token readToken() throws IOException { Token token = null; int c = in.read(); switch(c) { case -1: token = new Token(Token.EOF); break; case '{': token = new Token(Token.LCURLY); break; case '}': token = new Token(Token.RCURLY); break; ... | public Token readToken() throws IOException { Token token = null; int c = in.read(); switch(c) { case -1: token = new Token(Token.EOF); break; case '{': token = new Token(Token.LCURLY); break; case '}': token = new Token(Token.RCURLY); break; ... | 11,026 |
public Token readToken() throws IOException { Token token = null; int c = in.read(); switch(c) { case -1: token = new Token(Token.EOF); break; case '{': token = new Token(Token.LCURLY); break; case '}': token = new Token(Token.RCURLY); break; ... | public Token readToken() throws IOException { Token token = null; int c = in.read(); switch(c) { case -1: token = new Token(Token.EOF); break; case '{': token = new Token(Token.LCURLY); break; case '}': token = new Token(Token.RCURLY); break; ... | 11,027 |
public Token readToken() throws IOException { Token token = null; int c = in.read(); switch(c) { case -1: token = new Token(Token.EOF); break; case '{': token = new Token(Token.LCURLY); break; case '}': token = new Token(Token.RCURLY); break; ... | else token = readTokenImpl(); else token = readTokenImpl(); publicelse token = readTokenImpl(); Tokenelse token = readTokenImpl(); readToken()else token = readTokenImpl(); else token = readTokenImpl(); else token = readTokenImpl(); else token = readTokenImpl(); throwselse token = readTokenImpl(); IOExceptionelse token ... | 11,028 |
public AbstractElement(Element p, AttributeSet s) { element_parent = p; attributes = s; } | public AbstractElement(Element p, AttributeSet s) { element_parent = p; AttributeContext ctx = getAttributeContext(); attributes = ctx.getEmptySet(); if (s != null) attributes = ctx.addAttributes(attributes, s); } | 11,029 |
private void dumpElement(PrintStream stream, String indent, Element element) { System.out.println(indent + "<" + element.getName() +">"); if (element.isLeaf()) { int start = element.getStartOffset(); int end = element.getEndOffset(); String text = ""; try { text = getContent().g... | private void dumpElement(PrintStream stream, String indent, Element element) { System.out.println(indent + "<" + element.getName() +">"); if (element.isLeaf()) { int start = element.getStartOffset(); int end = element.getEndOffset(); String text = ""; try { text = getContent().g... | 11,030 |
public AttributeSet getAttributes() { return attributes; } | public AttributeSet getAttributes() { return this; } | 11,032 |
public void setResolveParent(AttributeSet parent) { attributes = getAttributeContext().addAttribute(attributes, ResolveAttribute, parent); } | public void setResolveParent(AttributeSet parent) { attributes = getAttributeContext().addAttribute(attributes, ResolveAttribute, parent); } | 11,033 |
public LeafElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); this.start = start; this.end = end; } | public LeafElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); this.start = start; this.end = end; } | 11,034 |
public int getEndOffset() { return end; } | public int getEndOffset() { return endPos.getOffset(); } | 11,035 |
public int getStartOffset() { return start; } | public int getStartOffset() { return startPos.getOffset(); } | 11,036 |
public Position createPosition(final int offset) throws BadLocationException { if (offset < 0 || offset > getLength()) throw new BadLocationException(getText(0, getLength()), offset); return new Position() { public int getOffset() { return offset; } }; } | public Position createPosition(final int offset) throws BadLocationException { if (offset < 0 || offset > getLength()) throw new BadLocationException(getText(0, getLength()), offset); return new Position() { public int getOffset() { return offset; } }; } | 11,037 |
public int getOffset() { return offset; } | public int getOffset() { return offset; } | 11,038 |
public int getOffset() { return getLength(); } | public int getOffset() { return 0; } | 11,041 |
public void render(Runnable r) { } | public void render(Runnable runnable) { } | 11,047 |
public void setDocumentProperties(Dictionary x) { // FIXME: make me thread-safe properties = x; } | public void setDocumentProperties(Dictionary p) { // FIXME: make me thread-safe properties = x; } | 11,049 |
public void setDocumentProperties(Dictionary x) { // FIXME: make me thread-safe properties = x; } | public void setDocumentProperties(Dictionary x) { // FIXME: make me thread-safe properties = p; } | 11,050 |
public static void set32(byte[] data, int offset, long value) { data[offset] = (byte)(value & 0xFF); data[offset+1] = (byte)((value >> 8) & 0xFF); data[offset+2] = (byte)((value >> 16) & 0xFF); data[offset+3] = (byte)((value >> 32) & 0xFF); } | public static void set32(byte[] data, int offset, long value) { data[offset] = (byte)(value & 0xFF); data[offset+1] = (byte)((value >> 8) & 0xFF); data[offset+2] = (byte)((value >> 16) & 0xFF); data[offset+3] = (byte)((value >> 32) & 0xFF); } | 11,053 |
public void focusLost(FocusEvent e) { hasFocus = false; comboBox.repaint(); popup.hide(); } | public void focusLost(FocusEvent e) { hasFocus = false; comboBox.repaint(); } | 11,054 |
public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals("model")) { ((BoundedRangeModel) e.getOldValue()).removeChangeListener(modelListener); scrollbar.getModel().addChangeListener(modelListener); getThumbBounds(); } else if (e.getPropertyName().equals("o... | public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals("model")) { ((BoundedRangeModel) e.getOldValue()).removeChangeListener(modelListener); scrollbar.getModel().addChangeListener(modelListener); getThumbBounds(); } else if (e.getPropertyName().equals("o... | 11,056 |
public abstract EntityReference createEntityReference(String name, EntityDeclaration declaration); | public abstract EntityReference createEntityReference(String name, EntityDeclaration declaration); | 11,057 |
public EntryRecord(byte[] buff) { this.buff = buff; } | public EntryRecord(byte[] buff) { this.buff = buff; } | 11,058 |
public int getDataLength() { return (int)LittleEndian.getUInt32(buff,10); } | public int getDataLength() { return (int)LittleEndian.getUInt32(buff,10); } | 11,059 |
public byte[] getExtentData() throws IOException { byte[] buffer = new byte[this.getDataLength()]; volume.readFromLBN(this.getLocationOfExtent(),0,buffer,0,this.getDataLength()); return buffer; } | public byte[] getExtentData() throws IOException { byte[] buffer = new byte[this.getDataLength()]; volume.readFromLBN(this.getLocationOfExtent(),0,buffer,0,this.getDataLength()); return buffer; } | 11,060 |
public String getFileIdentifier() { if(this.isDirectory()) { if(this.getLengthOfFileIdentifier() == 1 && buff[33]== 0x00) return "."; if(this.getLengthOfFileIdentifier() == 1 && buff[33]== 0x01) return ".."; return new String(buff, 33 , this.getLengthOfFileIdentifier()); } return new String(buff, 33 , ... | public String getFileIdentifier() { if(this.isDirectory()) { if(this.getLengthOfFileIdentifier() == 1 && buff[33]== 0x00) return "."; if(this.getLengthOfFileIdentifier() == 1 && buff[33]== 0x01) return ".."; return new String(buff, 33 , this.getLengthOfFileIdentifier()); } return new String(buff, 33 , ... | 11,061 |
public int getFileUnitSize() { return buff[26]; } | public int getFileUnitSize() { return buff[26]; } | 11,062 |
public int getFlags() { return buff[25]; } | public int getFlags() { return buff[25]; } | 11,063 |
public int getInterleaveSize() { return buff[27]; } | public int getInterleaveSize() { return buff[27]; } | 11,064 |
public int getLengthOfDirectoryEntry() { return LittleEndian.getUInt8(buff, 0); } | public int getLengthOfDirectoryEntry() { return LittleEndian.getUInt8(buff, 0); } | 11,065 |
public int getLengthOfExtendedAttribute() { return buff[1]; } | public int getLengthOfExtendedAttribute() { return buff[1]; } | 11,066 |
public int getLocationOfExtent() { return (int)LittleEndian.getUInt32(buff,2); } | public int getLocationOfExtent() { return (int)LittleEndian.getUInt32(buff,2); } | 11,067 |
public ISO9660Volume getVolume() { return volume; } | public ISO9660Volume getVolume() { return volume; } | 11,068 |
public boolean isDirectory() { return (buff[25] & 0x03) != 0; } | public boolean isDirectory() { return (buff[25] & 0x03) != 0; } | 11,069 |
public boolean isLastEntry() { return (buff[25] & 0x40) == 0; } | public boolean isLastEntry() { return (buff[25] & 0x40) == 0; } | 11,070 |
public void readFileData(long offset,byte[] buffer,int bufferOffset, int size) throws IOException { volume.readFromLBN(this.getLocationOfExtent(),offset,buffer,bufferOffset,size); } | public void readFileData(long offset,byte[] buffer,int bufferOffset, int size) throws IOException { volume.readFromLBN(this.getLocationOfExtent(),offset,buffer,bufferOffset,size); } | 11,071 |
VmStackFrame(Address src, VmStackReader reader, Address ip) { this.sfMethod = reader.getMethod(src); this.sfCompiledCode = reader.getCompiledCode(src); this.sfReturnAddress = reader.getReturnAddress(src); this.sfInstructionPointer = ip; } | VmStackFrame(Address src, VmStackReader reader, Address ip) { this.sfMethod = reader.getMethod(src); this.sfCompiledCode = reader.getCompiledCode(src); this.sfReturnAddress = reader.getReturnAddress(src); this.sfInstructionPointer = ip; } | 11,072 |
public final String getLocationInfo() { final VmCompiledCode cc = sfCompiledCode; if ((cc != null) && (sfInstructionPointer != null)) { return cc.getLocationInfo(sfMethod, sfInstructionPointer); } else { return "?"; } } | public final String getLocationInfo() { final VmCompiledCode cc = sfCompiledCode; if ((cc != null) && (sfInstructionPointer != null)) { return cc.getLocationInfo(sfMethod, sfInstructionPointer); } else { return "?"; } } | 11,073 |
public String toString() { final VmMethod method = sfMethod; final VmType vmClass = (method == null) ? null : method.getDeclaringClass(); final String cname = (vmClass == null) ? "<unknown class>" : vmClass.getName(); final String mname = (method == null) ? "<unknown method>" : method.getName(); final String loca... | public String toString() { final VmMethod method = sfMethod; final VmType vmClass = (method == null) ? null : method.getDeclaringClass(); final String cname = (vmClass == null) ? "<unknown class>" : vmClass.getName(); final String mname = (method == null) ? "<unknown method>" : method.getName(); final String loca... | 11,074 |
public int print (Graphics g, PageFormat pageFormat, int page) { Graphics2D g2; //--- Validate the page number, we only print the first page if (page == 0) { //--- Create a graphic2D object and set the default parameters g2 = (Graphics2D) g; g2.setColor (Color.black); /... | public int print (Graphics g, PageFormat pageFormat, int page) { Graphics2D g2; //--- Validate the page number, we only print the first page if (page == 0) { //--- Create a graphic2D object and set the default parameters g2 = (Graphics2D) g; g2.setColor (Color.black); /... | 11,076 |
public int print (Graphics g, PageFormat pageFormat, int page) { Graphics2D g2; //--- Validate the page number, we only print the first page if (page == 0) { //--- Create a graphic2D object and set the default parameters g2 = (Graphics2D) g; g2.setColor (Color.black); /... | public int print (Graphics g, PageFormat pageFormat, int page) { Graphics2D g2; //--- Validate the page number, we only print the first page if (page == 0) { //--- Create a graphic2D object and set the default parameters g2 = (Graphics2D) g; g2.setColor (Color.black); /... | 11,077 |
public int print (Graphics g, PageFormat pageFormat, int page) { Graphics2D g2; //--- Validate the page number, we only print the first page if (page == 0) { //--- Create a graphic2D object and set the default parameters g2 = (Graphics2D) g; g2.setColor (Color.black); /... | public int print (Graphics g, PageFormat pageFormat, int page) { Graphics2D g2; //--- Validate the page number, we only print the first page if (page == 0) { //--- Create a graphic2D object and set the default parameters g2 = (Graphics2D) g; g2.setColor (Color.black); /... | 11,078 |
public Object clone() throws CloneNotSupportedException { if (!(mdSpi instanceof Cloneable)) throw new CloneNotSupportedException(); MessageDigest result = new DummyMessageDigest ((MessageDigestSpi) mdSpi.clone(), this.getAlgorithm()); result.provider = this.getProvider(); return result; } | public Object clone() throws CloneNotSupportedException { if (!(mdSpi instanceof Cloneable)) throw new CloneNotSupportedException(); MessageDigest result = new DummyMessageDigest ((MessageDigestSpi) mdSpi.clone(), this.getAlgorithm()); result.provider = this.getProvider(); return result; } | 11,080 |
private setDocumentHandler ( ) { } | private void setDocumentHandler (SaxDocHandler myHandler) { } | 11,081 |
public VmCompiledCode(NativeCodeCompiler compiler, VmByteCode bytecode, Address nativeCode, Object compiledCode, int size, VmCompiledExceptionHandler[] eTable, Address defaultExceptionHandler, VmAddressMap addressTable) { this.compiler = compiler; this.magic = compiler... | public VmCompiledCode(NativeCodeCompiler compiler, VmByteCode bytecode, Address nativeCode, Object compiledCode, int size, VmCompiledExceptionHandler[] eTable, Address defaultExceptionHandler, VmAddressMap addressTable) { this.compiler = compiler; this.magic = compiler... | 11,083 |
public void paintDirtyRegions() { // step 1: pull out roots and calculate spanning damage HashMap roots = new HashMap(); for (Enumeration e = dirtyComponents.keys(); e.hasMoreElements(); ) { JComponent comp = (JComponent) e.nextElement(); if (! (comp.isVisible() && comp.isShowing())) ... | public void paintDirtyRegions() { // step 1: pull out roots and calculate spanning damage HashMap roots = new HashMap(); for (Enumeration e = dirtyComponents.keys(); e.hasMoreElements(); ) { JComponent comp = (JComponent) e.nextElement(); if (! (comp.isVisible() && comp.isShowing())) ... | 11,084 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 11,085 |
protected void loadSystemColors(UIDefaults defaults, String[] value1, boolean value2) { // TODO } | protected void loadSystemColors(UIDefaults defaults, String[] value1, boolean value2) { // TODO } | 11,086 |
public void debug(Object message) { System.out.println("DEBUG ["+clazz+"] "+ message); } | public void debug(Object message) { if (isDebugEnabled()) System.out.println("DEBUG ["+clazz+"] "+ message); } | 11,087 |
protected void writeDelimitedData(OutputStream outputstream, Locator locator, DelimitedXMLDataIOStyle readObj, AxisInterface fastestAxis, String[] noDataValues) { String delimiter = readObj.getDelimiter(); S... | protected void writeDelimitedData(OutputStream outputstream, Locator locator, DelimitedXMLDataIOStyle readObj, AxisInterface fastestAxis, String[] noDataValues) { String delimiter = readObj.getDelimiter(); S... | 11,088 |
void repaintCellFocus() { } | protected void repaintCellFocus() { } | 11,089 |
public void keyPressed( KeyEvent evt ) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; // Do nothing if list is empty if (max == -1) return; // Process the key event. Bindings can be found in // j... | public void keyPressed( KeyEvent evt ) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; // Do nothing if list is empty if (max == -1) return; // Process the key event. Bindings can be found in // j... | 11,090 |
public void keyPressed( KeyEvent evt ) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; // Do nothing if list is empty if (max == -1) return; // Process the key event. Bindings can be found in // j... | public void keyPressed( KeyEvent evt ) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; // Do nothing if list is empty if (max == -1) return; // Process the key event. Bindings can be found in // j... | 11,091 |
public void keyPressed( KeyEvent evt ) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; // Do nothing if list is empty if (max == -1) return; // Process the key event. Bindings can be found in // j... | public void keyPressed( KeyEvent evt ) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; // Do nothing if list is empty if (max == -1) return; // Process the key event. Bindings can be found in // j... | 11,092 |
public void keyPressed( KeyEvent evt ) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; // Do nothing if list is empty if (max == -1) return; // Process the key event. Bindings can be found in // j... | public void keyPressed( KeyEvent evt ) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; // Do nothing if list is empty if (max == -1) return; // Process the key event. Bindings can be found in // j... | 11,093 |
public BasicListUI() { focusListener = new FocusHandler(); listDataListener = new ListDataHandler(); listSelectionListener = new ListSelectionHandler(); mouseInputListener = new MouseInputHandler(); keyListener = new KeyHandler(); propertyChangeListener = new PropertyChangeHandler(); componentLi... | public BasicListUI() { focusListener = new FocusHandler(); listDataListener = new ListDataHandler(); listSelectionListener = new ListSelectionHandler(); mouseInputListener = new MouseInputHandler(); keyListener = new KeyHandler(); propertyChangeListener = new PropertyChangeHandler(); componentLi... | 11,095 |
protected void installListeners() { list.addFocusListener(focusListener); list.getModel().addListDataListener(listDataListener); list.addListSelectionListener(listSelectionListener); list.addMouseListener(mouseInputListener); list.addKeyListener(keyListener); list.addMouseMotionListener(mouseInputL... | protected void installListeners() { list.addFocusListener(focusListener); list.getModel().addListDataListener(listDataListener); list.addListSelectionListener(listSelectionListener); list.addMouseListener(mouseInputListener); list.addKeyListener(keyListener); list.addMouseMotionListener(mouseInputL... | 11,096 |
public void paint(Graphics g, JComponent c) { int nrows = list.getModel().getSize(); if (nrows == 0) return; maybeUpdateLayoutState(); ListCellRenderer render = list.getCellRenderer(); ListModel model = list.getModel(); ListSelectionModel sel = list.getSelectionModel(); int lead = sel.getLe... | public void paint(Graphics g, JComponent c) { int nrows = list.getModel().getSize(); if (nrows == 0) return; maybeUpdateLayoutState(); ListCellRenderer render = list.getCellRenderer(); ListModel model = list.getModel(); ListSelectionModel sel = list.getSelectionModel(); int lead = sel.getLe... | 11,097 |
public FormattedXMLDataIOStyle () { init(); } | public FormattedXMLDataIOStyle (Array parentArray) { init(); } | 11,098 |
public FormattedXMLDataIOStyle () { init(); } | public FormattedXMLDataIOStyle () { this.parentArray = parentArray; init(); } | 11,099 |
private void nestedToXDF(OutputStream outputstream, String indent, int which, int stop) { //base condition if (which > stop) { if (sPrettyXDFOutput) { writeOut(outputstream, Constants.NEW_LINE); writeOut(outputstream, indent); } synchronized (formatCommandList) { int stop2 = ... | private void nestedToXDF(OutputStream outputstream, String indent, int which, int stop) { //base condition if (which > stop) { if (sPrettyXDFOutput) { writeOut(outputstream, Constants.NEW_LINE); writeOut(outputstream, indent); } synchronized (formatCommandList) { int stop2 = ... | 11,100 |
protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { } | synchronized (formatCommandList) { int stop = formatCommandList.size(); for (int i = 0; i <stop; i++) { if (sPrettyXDFOutput) { writeOut(outputstream, Constants.NEW_LINE); writeOut(outputstream, indent); } ((XMLDataIOStyle) formatCommandList.get(i)).specificIOStyleToXDF(outputstream, indent); } } synchronized (format... | 11,101 |
protected LayoutManager createLayout() { return new TitlePaneLayout() { public Dimension preferredLayoutSize(Container c) { return new Dimension(24, 24); } }; } | protected LayoutManager createLayout() { return new TitlePaneLayout() { public Dimension preferredLayoutSize(Container c) { return new Dimension(24, 24); } }; } | 11,102 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.