bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ...
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ...
4,621
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ...
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ...
4,622
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ...
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ...
4,623
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ...
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ...
4,624
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ...
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ...
4,625
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ...
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ...
4,626
protected void writeTaggedData(OutputStream outputstream, Locator locator, String indent, int[] axisLength, String[] tags, int which) { String tag = (String) tags[which]; if (sPrettyXDFOutput) { indent += sPrettyXDFOutputIndentation; } //base case if...
protected void writeTaggedData(OutputStream outputstream, Locator locator, String indent, int[] axisLength, String[] tags, int which) { String tag = (String) tags[which]; if (sPrettyXDFOutput) { indent += sPrettyXDFOutputIndentation; } //base case if...
4,627
protected void writeTaggedData(OutputStream outputstream, Locator locator, String indent, int[] axisLength, String[] tags, int which) { String tag = (String) tags[which]; if (sPrettyXDFOutput) { indent += sPrettyXDFOutputIndentation; } //base case if...
protected void writeTaggedData(OutputStream outputstream, Locator locator, String indent, int[] axisLength, String[] tags, int which) { String tag = (String) tags[which]; if (sPrettyXDFOutput) { indent += sPrettyXDFOutputIndentation; } //base case if...
4,628
public BasicStroke() { this(1, CAP_SQUARE, JOIN_MITER, 10, null, 0); }
public BasicStroke(float width, int cap, int join, float miterlimit, float[] dash, float dashPhase) { this(1, CAP_SQUARE, JOIN_MITER, 10, null, 0); }
4,629
public BasicStroke() { this(1, CAP_SQUARE, JOIN_MITER, 10, null, 0); }
public BasicStroke() { if (width < 0.0f ) throw new IllegalArgumentException("width " + width + " < 0"); else if (cap < CAP_BUTT || cap > CAP_SQUARE) throw new IllegalArgumentException("cap " + cap + " out of range [" + CAP_BUTT + ".." + CAP_SQUARE + "]"); else if (miterlimit < 1.0f && join == JOIN_MITER) throw n...
4,630
private void addSegments(Segment[] segments) { double[] p0 = start.last.last(); double[] p1 = new double[]{start.last.P2.getX(), start.last.P2.getY()}; double[] p2 = new double[]{segments[0].P1.getX(), segments[0].P1.getY()}; double[] p3 = segments[0].first(); Point2D p; double det = (p1[0] - p0[0]...
private void addSegments(Segment[] segments) { double[] p0 = start.last.last(); double[] p1 = new double[]{start.last.P2.getX(), start.last.P2.getY()}; double[] p2 = new double[]{segments[0].P1.getX(), segments[0].P1.getY()}; double[] p3 = segments[0].first(); Point2D p; double det = (p1[0] - p0[0]...
4,631
private void capEnd(Segment a, Segment b) { double[] p0, p1; double dx, dy, l; Point2D c1,c2; switch( cap ) { case CAP_BUTT: a.add(new LineSegment(a.last.P2, b.P1)); break; case CAP_SQUARE: p0 = a.last.last(); p1 = new double[]{a.last.P2.getX(), a.last.P2.getY()...
private void capEnd(Segment a, Segment b) { double[] p0, p1; double dx, dy, l; Point2D c1,c2; switch( cap ) { case CAP_BUTT: a.add(new LineSegment(a.last.P2, b.P1)); break; case CAP_SQUARE: p0 = a.last.cp2(); p1 = new double[]{a.last.P2.getX(), a.last.P2.getY()}...
4,632
private void capEnd(Segment a, Segment b) { double[] p0, p1; double dx, dy, l; Point2D c1,c2; switch( cap ) { case CAP_BUTT: a.add(new LineSegment(a.last.P2, b.P1)); break; case CAP_SQUARE: p0 = a.last.last(); p1 = new double[]{a.last.P2.getX(), a.last.P2.getY()...
private void capEnd(Segment a, Segment b) { double[] p0, p1; double dx, dy, l; Point2D c1,c2; switch( cap ) { case CAP_BUTT: a.add(new LineSegment(a.last.P2, b.P1)); break; case CAP_SQUARE: p0 = a.last.cp2(); p1 = new double[]{a.last.P2.getX(), a.last.P2.getY()}...
4,633
public Shape createStrokedShape(Shape s) { PathIterator pi = s.getPathIterator( new AffineTransform() ); if( dash == null ) return solidStroke( pi ); return dashedStroke( pi ); }
public Shape createStrokedShape(Shape s) { PathIterator pi = s.getPathIterator(null); if( dash == null ) return solidStroke( pi ); return dashedStroke( pi ); }
4,634
private Shape dashedStroke(PathIterator pi) { GeneralPath out = new GeneralPath(); return out; }
private Shape dashedStroke(PathIterator pi) { GeneralPath out = new GeneralPath(); return out; }
4,635
private void joinSegments(Segment a, Segment b, Point2D insideP) { double[] p0, p1; double dx, dy, l; Point2D c1,c2; switch( join ) { case JOIN_MITER: p0 = a.last.last(); p1 = new double[]{a.last.P2.getX(), a.last.P2.getY()}; double[] p2 = new double[]{b.P1.getX(), b.P1.get...
private void joinSegments(Segment[] segments) { double[] p0, p1; double dx, dy, l; Point2D c1,c2; switch( join ) { case JOIN_MITER: p0 = a.last.last(); p1 = new double[]{a.last.P2.getX(), a.last.P2.getY()}; double[] p2 = new double[]{b.P1.getX(), b.P1.getY()}; double...
4,636
private void joinSegments(Segment a, Segment b, Point2D insideP) { double[] p0, p1; double dx, dy, l; Point2D c1,c2; switch( join ) { case JOIN_MITER: p0 = a.last.last(); p1 = new double[]{a.last.P2.getX(), a.last.P2.getY()}; double[] p2 = new double[]{b.P1.getX(), b.P1.get...
private void joinSegments(Segment a, Segment b, Point2D insideP) { double[] p0, p1; double dx, dy, l; Point2D c1,c2; switch( join ) { case JOIN_MITER: p0 = a.last.last(); p1 = new double[]{a.last.P2.getX(), a.last.P2.getY()}; double[] p2 = new double[]{b.P1.getX(), b.P1.get...
4,637
private void joinSegments(Segment a, Segment b, Point2D insideP) { double[] p0, p1; double dx, dy, l; Point2D c1,c2; switch( join ) { case JOIN_MITER: p0 = a.last.last(); p1 = new double[]{a.last.P2.getX(), a.last.P2.getY()}; double[] p2 = new double[]{b.P1.getX(), b.P1.get...
private void joinSegments(Segment a, Segment b, Point2D insideP) { double[] p0, p1; double dx, dy, l; Point2D c1,c2; p = lineIntersection(p0[0],p0[1],p1[0],p1[1], p2[0],p2[1],p3[0],p3[1], false); double det = (p1[0] - p0[0])*(p3[1] - p2[1]) - (p3[0] - p2[0])*(p1[1] - p0[1]); if( det > 0 ) { c...
4,638
private void joinSegments(Segment a, Segment b, Point2D insideP) { double[] p0, p1; double dx, dy, l; Point2D c1,c2; switch( join ) { case JOIN_MITER: p0 = a.last.last(); p1 = new double[]{a.last.P2.getX(), a.last.P2.getY()}; double[] p2 = new double[]{b.P1.getX(), b.P1.get...
private void joinSegments(Segment a, Segment b, Point2D insideP) { double[] p0, p1; double dx, dy, l; Point2D c1,c2; switch( join ) { case JOIN_MITER: p0 = a.last.last(); p1 = new double[]{a.last.P2.getX(), a.last.P2.getY()}; double[] p2 = new double[]{b.P1.getX(), b.P1.get...
4,639
private void joinSegments(Segment a, Segment b, Point2D insideP) { double[] p0, p1; double dx, dy, l; Point2D c1,c2; switch( join ) { case JOIN_MITER: p0 = a.last.last(); p1 = new double[]{a.last.P2.getX(), a.last.P2.getY()}; double[] p2 = new double[]{b.P1.getX(), b.P1.get...
private void joinSegments(Segment a, Segment b, Point2D insideP) { double[] p0, p1; double dx, dy, l; Point2D c1,c2; switch( join ) { case JOIN_MITER: p0 = a.last.last(); p1 = new double[]{a.last.P2.getX(), a.last.P2.getY()}; double[] p2 = new double[]{b.P1.getX(), b.P1.get...
4,640
private Shape solidStroke(PathIterator pi) { double[] coords = new double[6]; double x, y, x0, y0; boolean pathOpen = false; GeneralPath output = new GeneralPath( ); Segment[] p; x = x0 = y = y0 = 0; while( !pi.isDone() ) { switch( pi.currentSegment(coords) ) { case...
private Shape solidStroke(PathIterator pi) { double[] coords = new double[6]; double x, y, x0, y0; boolean pathOpen = false; GeneralPath output = new GeneralPath( ); Segment[] p; x = x0 = y = y0 = 0; while( !pi.isDone() ) { switch( pi.currentSegment(coords) ) { case...
4,641
private Shape solidStroke(PathIterator pi) { double[] coords = new double[6]; double x, y, x0, y0; boolean pathOpen = false; GeneralPath output = new GeneralPath( ); Segment[] p; x = x0 = y = y0 = 0; while( !pi.isDone() ) { switch( pi.currentSegment(coords) ) { case...
private Shape solidStroke(PathIterator pi) { double[] coords = new double[6]; double x, y, x0, y0; boolean pathOpen = false; GeneralPath output = new GeneralPath( ); Segment[] p; x = x0 = y = y0 = 0; while( !pi.isDone() ) { switch( pi.currentSegment(coords) ) { case...
4,642
private Shape solidStroke(PathIterator pi) { double[] coords = new double[6]; double x, y, x0, y0; boolean pathOpen = false; GeneralPath output = new GeneralPath( ); Segment[] p; x = x0 = y = y0 = 0; while( !pi.isDone() ) { switch( pi.currentSegment(coords) ) { case...
private Shape solidStroke(PathIterator pi) { double[] coords = new double[6]; double x, y, x0, y0; boolean pathOpen = false; GeneralPath output = new GeneralPath( ); Segment[] p; x = x0 = y = y0 = 0; while( !pi.isDone() ) { switch( pi.currentSegment(coords) ) { case...
4,643
public void add(Segment newsegment) { last.next = newsegment; last = last.next; }
public void add(Segment newsegment) { last.next = newsegment; last = last.next.last; }
4,645
public LineSegment(Point2D p1, Point2D p2) { super(); P1 = (Point2D) p1.clone(); P2 = (Point2D) p2.clone(); }
public LineSegment(double x1, double y1, double x2, double y2) { super(); P1 = (Point2D) p1.clone(); P2 = (Point2D) p2.clone(); }
4,646
public LineSegment(Point2D p1, Point2D p2) { super(); P1 = (Point2D) p1.clone(); P2 = (Point2D) p2.clone(); }
public LineSegment(Point2D p1, Point2D p2) { super(); P1 = (Point2D) p1.clone(); P2 = (Point2D) p2.clone(); }
4,647
public CubicSegment(Point2D p1, Point2D cp1, Point2D cp2, Point2D p2) { super(); P1 = p1; P2 = p2; this.cp1 = cp1; this.cp2 = cp2; }
public CubicSegment(double x1, double y1, double c1x, double c1y, double c2x, double c2y, double x2, double y2) { super(); P1 = p1; P2 = p2; this.cp1 = cp1; this.cp2 = cp2; }
4,648
public CubicSegment(Point2D p1, Point2D cp1, Point2D cp2, Point2D p2) { super(); P1 = p1; P2 = p2; this.cp1 = cp1; this.cp2 = cp2; }
public CubicSegment(Point2D p1, Point2D cp1, Point2D cp2, Point2D p2) { super(); P1 = p1; P2 = p2; this.cp1 = cp1; this.cp2 = cp2; }
4,649
public Segment[] getDisplacedSegments(double radius) { this.radius = radius; double x0 = P1.getX(); double y0 = P1.getY(); double x1 = cp1.getX(); double y1 = cp1.getY(); double x2 = cp2.getX(); double y2 = cp2.getY(); double x3 = P2.getX(); double y3 = P2.getY(); double[] p1 = normal(x...
public Segment[] getDisplacedSegments(double radius) { this.radius = radius; double x0 = P1.getX(); double y0 = P1.getY(); double x1 = cp1.getX(); double y1 = cp1.getY(); double x2 = cp2.getX(); double y2 = cp2.getY(); double x3 = P2.getX(); double y3 = P2.getY(); double[] p1 = normal(x...
4,651
public Segment[] getDisplacedSegments(double radius) { this.radius = radius; double x0 = P1.getX(); double y0 = P1.getY(); double x1 = cp1.getX(); double y1 = cp1.getY(); double x2 = cp2.getX(); double y2 = cp2.getY(); double x3 = P2.getX(); double y3 = P2.getY(); double[] p1 = normal(x...
public Segment[] getDisplacedSegments(double radius) { this.radius = radius; double x0 = P1.getX(); double y0 = P1.getY(); double x1 = cp1.getX(); double y1 = cp1.getY(); double x2 = cp2.getX(); double y2 = cp2.getY(); double x3 = P2.getX(); double y3 = P2.getY(); double[] p1 = normal(x...
4,652
protected void resolve() throws PluginException { // Do nothing }
protected void resolve(PluginRegistryModel registry) throws PluginException { registry.registerExtensionPoint(this); // Do nothing }
4,653
protected void unresolve() throws PluginException { // Do nothing }
protected void unresolve() throws PluginException { // Do nothing }
4,654
public DoubleSeqHolder(double[] initial_value) { value = initial_value; typecode.setLength(value.length); }
public DoubleSeqHolder() { value = initial_value; typecode.setLength(value.length); }
4,655
public DoubleSeqHolder(double[] initial_value) { value = initial_value; typecode.setLength(value.length); }
public DoubleSeqHolder(double[] initial_value) { value = initial_value; typecode.setLength(value.length); }
4,656
public void append(PathIterator iter, boolean connect) { // A bad implementation of this method had caused Classpath bug #6076. float[] f = new float[6]; while (! iter.isDone()) { switch (iter.currentSegment(f)) { case PathIterator.SEG_MOVETO: if (! connect || (index == 0)) { ...
public void append(Shape s, boolean connect) { // A bad implementation of this method had caused Classpath bug #6076. float[] f = new float[6]; while (! iter.isDone()) { switch (iter.currentSegment(f)) { case PathIterator.SEG_MOVETO: if (! connect || (index == 0)) { moveTo(...
4,657
public void append(PathIterator iter, boolean connect) { // A bad implementation of this method had caused Classpath bug #6076. float[] f = new float[6]; while (! iter.isDone()) { switch (iter.currentSegment(f)) { case PathIterator.SEG_MOVETO: if (! connect || (index == 0)) { ...
public void append(PathIterator iter, boolean connect) { // A bad implementation of this method had caused Classpath bug #6076. float[] f = new float[6]; while (! iter.isDone()) { switch (iter.currentSegment(f)) { case PathIterator.SEG_MOVETO: if (! connect || (index == 0)) { ...
4,658
public void parseFields(byte[] cByte, ArrayList ffd, StringBuffer rb) { FileFieldDef f; // write out the html record information for each field that is selected for (int x = 0; x < ffd.size(); x++) { f = (FileFieldDef)ffd.get(x); if (f.isWriteField()) { switch (f.getFieldTyp...
public void parseFields(byte[] cByte, ArrayList ffd, StringBuffer rb) { FileFieldDef f; // write out the html record information for each field that is selected for (int x = 0; x < ffd.size(); x++) { f = (FileFieldDef)ffd.get(x); if (f.isWriteField()) { switch (f.getFieldTyp...
4,659
public void writeHeader(String fileName, String host, ArrayList ffd, char decChar) { try { FileFieldDef f; StringBuffer sb = new StringBuffer(); // loop through each of the fields and write out the field name for // each selected field ...
public void writeHeader(String fileName, String host, ArrayList ffd, char decChar) { FileFieldDef f; StringBuffer sb = new StringBuffer(); for (int x = 0; x < ffd.size(); x++) { f = (FileFieldDef)ffd.get(x); if (f.isWriteField()) { sb.append(f.getFieldName() + delimiter); } } ...
4,660
public void writeHeader(String fileName, String host, ArrayList ffd, char decChar) { try { FileFieldDef f; StringBuffer sb = new StringBuffer(); // loop through each of the fields and write out the field name for // each selected field ...
public void writeHeader(String fileName, String host, ArrayList ffd, char decChar) { try { FileFieldDef f; StringBuffer sb = new StringBuffer(); // loop through each of the fields and write out the field name for // each selected field ...
4,661
protected Rectangle getBox(Rectangle r) { if (!progressBar.isIndeterminate()) return null; if (r == null) r = new Rectangle(); Rectangle vr = new Rectangle(); SwingUtilities.calculateInnerArea(progressBar, vr); // Recalculate the metrics only when size of the progressbar has changed. if (...
protected Rectangle getBox(Rectangle r) { if (!progressBar.isIndeterminate()) return null; if (r == null) r = new Rectangle(); Rectangle vr = new Rectangle(); SwingUtilities.calculateInnerArea(progressBar, vr); // Recalculate the metrics only when size of the progressbar has changed. if (...
4,662
protected void paintDeterminate(Graphics g, JComponent c) { Color saved = g.getColor(); int space = getCellSpacing(); int len = getCellLength(); int max = progressBar.getMaximum(); int min = progressBar.getMinimum(); int value = progressBar.getValue(); Rectangle vr = SwingUtilities.calculateInne...
protected void paintDeterminate(Graphics g, JComponent c) { Color saved = g.getColor(); int space = getCellSpacing(); int len = getCellLength(); int max = progressBar.getMaximum(); int min = progressBar.getMinimum(); int value = progressBar.getValue(); Rectangle vr = SwingUtilities.calculateInne...
4,663
public static void main(String[] args) { final int i1 = 0x00450078; final int i2 = 0x45007800; System.out.println("i1 % i2=" + NumberUtils.hex(i1 % i2)); System.out.println("i1 & i2=" + NumberUtils.hex(i1 & i2)); System.out.println("i1 | i2=" + NumberUtils.hex(i1 | i2)); System.out.println("i1 ^ i2=" + Numbe...
public static void main(String[] args) { final int i1 = 0x00450078; final int i2 = 0x45007800; System.out.println("i1 % i2=" + NumberUtils.hex(i1 % i2)); System.out.println("i1 & i2=" + NumberUtils.hex(i1 & i2)); System.out.println("i1 | i2=" + NumberUtils.hex(i1 | i2)); System.out.println("i1 ^ i2=" + Numbe...
4,665
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
4,667
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
4,668
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
4,669
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
4,670
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
4,671
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
4,672
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
4,673
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
4,674
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
4,675
public NoSuchFieldError() { super(); }
public NoSuchFieldError() { super(); }
4,676
public StackOverflowError() { super(); }
public StackOverflowError() { super(); }
4,677
public UnknownError(String s) { super(s); }
public UnknownError(String s) { super(s); }
4,678
public AbstractColorChooserPanel() { } // AbstractColorChooserPanel()
public AbstractColorChooserPanel() { } // AbstractColorChooserPanel()
4,679
public AddressPcEntry(VmMethod method, int pc, int offset) { this.method = method; this.pc = (char)pc; this.offset = offset; }
public AddressPcEntry(VmMethod method, int pc, int offset, int inlineDepth) { this.method = method; this.pc = (char)pc; this.offset = offset; }
4,680
public AddressPcEntry(VmMethod method, int pc, int offset) { this.method = method; this.pc = (char)pc; this.offset = offset; }
public AddressPcEntry(VmMethod method, int pc, int offset) { this.method = method; this.pc = (char) pc; this.offset = offset; }
4,681
public void add(VmMethod method, int pc, int offset) { if (offsetTable != null) { throw new RuntimeException( "Address table is locked"); } final AddressPcEntry entry = new AddressPcEntry(method, pc, offset); if (list == null) { list = entry; } else { ...
public void add(VmMethod method, int pc, int offset) { if (offsetTable != null) { throw new RuntimeException( "Address table is locked"); } final AddressPcEntry entry = new AddressPcEntry(method, pc, offset); if (list == null) { list = entry; } else { ...
4,683
final void lock() { AddressPcEntry p = list; int count = 0; final ArrayList<VmMethod> methods = new ArrayList<VmMethod>(); while (p != null) { count++; final VmMethod m = p.method; if (!methods.contains(m)) { methods.add(m); } ...
final void lock() { AddressPcEntry p = list; int count = 0; final ArrayList<VmMethod> methods = new ArrayList<VmMethod>(); while (p != null) { count++; final VmMethod m = p.method; if (!methods.contains(m)) { methods.add(m); } ...
4,684
final void lock() { AddressPcEntry p = list; int count = 0; final ArrayList<VmMethod> methods = new ArrayList<VmMethod>(); while (p != null) { count++; final VmMethod m = p.method; if (!methods.contains(m)) { methods.add(m); } ...
final void lock() { AddressPcEntry p = list; int count = 0; final ArrayList<VmMethod> methods = new ArrayList<VmMethod>(); while (p != null) { count++; final VmMethod m = p.method; if (!methods.contains(m)) { methods.add(m); } ...
4,685
final void lock() { AddressPcEntry p = list; int count = 0; final ArrayList<VmMethod> methods = new ArrayList<VmMethod>(); while (p != null) { count++; final VmMethod m = p.method; if (!methods.contains(m)) { methods.add(m); } ...
final void lock() { AddressPcEntry p = list; int count = 0; final ArrayList<VmMethod> methods = new ArrayList<VmMethod>(); while (p != null) { count++; final VmMethod m = p.method; if (!methods.contains(m)) { methods.add(m); } ...
4,686
final void lock() { AddressPcEntry p = list; int count = 0; final ArrayList<VmMethod> methods = new ArrayList<VmMethod>(); while (p != null) { count++; final VmMethod m = p.method; if (!methods.contains(m)) { methods.add(m); } ...
final void lock() { AddressPcEntry p = list; int count = 0; final ArrayList<VmMethod> methods = new ArrayList<VmMethod>(); while (p != null) { count++; final VmMethod m = p.method; if (!methods.contains(m)) { methods.add(m); } ...
4,687
public void writeTo(PrintStream out) { for (int i = 0; i < offsetTable.length; i++) { final int methodIdx = methodIndexTable[i]; final int pc = pcTable[i]; final int offset = offsetTable[i]; out.println(methodTable[ methodIdx].getName() + ", pc[" + pc ...
public void writeTo(PrintStream out) { for (int i = 0; i < offsetTable.length; i++) { final int methodIdx = (methodIndexTable != null) ? methodIndexTable[i] : 0; final int pc = pcTable[i]; final int offset = offsetTable[i]; out.println(methodTable[ methodIdx].getNa...
4,689
public void writeTo(PrintStream out) { for (int i = 0; i < offsetTable.length; i++) { final int methodIdx = methodIndexTable[i]; final int pc = pcTable[i]; final int offset = offsetTable[i]; out.println(methodTable[ methodIdx].getName() + ", pc[" + pc ...
public void writeTo(PrintStream out) { for (int i = 0; i < offsetTable.length; i++) { final int methodIdx = methodIndexTable[i]; final int pc = pcTable[i]; final int offset = offsetTable[i]; out.println(methodTable[methodIdx].getName() + ", pc[" + pc ...
4,690
public EthernetHeader(SocketBuffer skbuf) { this.destination = new EthernetAddress(skbuf, 0); this.source = new EthernetAddress(skbuf, 6); this.lengthType = skbuf.get16(12); }
public EthernetHeader(SocketBuffer skbuf) { this.destination = new EthernetAddress(skbuf, 0); this.source = new EthernetAddress(skbuf, 6); this.lengthType = skbuf.get16(12); }
4,691
protected void clearGuiStuff() { for (int x = 0; x < lenScreen; x++) {// screen[x].setCharAndAttr(' ',initAttr,false); screen[x].setUseGUI(ScreenChar.NO_GUI); }// dirty.setBounds(tArea.getBounds()); dirty.setBounds(fmWidth * numCols,fmHeight * numRows,0,0); }
protected void clearGuiStuff() { for (int x = 0; x < lenScreen; x++) {// screen[x].setCharAndAttr(' ',initAttr,false); screen[x].setUseGUI(ScreenChar.NO_GUI); }// dirty.setBounds(tArea.getBounds()); dirty.setBounds(tArea.getBounds()); }
4,694
public void clearScreen() { for (int x = 0; x < lenScreen; x++) { screen[x].setCharAndAttr(' ',initAttr,false); screen[x].setUseGUI(ScreenChar.NO_GUI); }// dirty.setBounds(tArea.getBounds()); dirty.setBounds(fmWidth * numCols,fmHeight * numRows,0,0); }
public void clearScreen() { for (int x = 0; x < lenScreen; x++) { screen[x].setCharAndAttr(' ',initAttr,false); screen[x].setUseGUI(ScreenChar.NO_GUI); }// dirty.setBounds(tArea.getBounds()); dirty.setBounds(tArea.getBounds()); }
4,695
public void keyPressed( KeyEvent evt ) { if (evt.getKeyCode() == KeyEvent.VK_DOWN) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; if (!evt.isShiftDown()) { BasicListUI.this.list....
public void keyPressed( KeyEvent evt ) { if (evt.getKeyCode() == KeyEvent.VK_DOWN) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; if (!evt.isShiftDown()) { BasicListUI.this.list....
4,696
public void keyPressed( KeyEvent evt ) { if (evt.getKeyCode() == KeyEvent.VK_DOWN) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; if (!evt.isShiftDown()) { BasicListUI.this.list....
public void keyPressed( KeyEvent evt ) { if (evt.getKeyCode() == KeyEvent.VK_DOWN) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; if (!evt.isShiftDown()) { BasicListUI.this.list....
4,697
public void keyPressed( KeyEvent evt ) { if (evt.getKeyCode() == KeyEvent.VK_DOWN) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; if (!evt.isShiftDown()) { BasicListUI.this.list....
public void keyPressed( KeyEvent evt ) { if (evt.getKeyCode() == KeyEvent.VK_DOWN) { int max = BasicListUI.this.list.getModel().getSize() - 1; if (!evt.isShiftDown()) { BasicListUI.this.list.clearSelection(); BasicListUI.this.list.setSe...
4,698
private void loadList(String which) { lm.clear(); lm.removeAllElements(); if (which.equals(LangTool.getString("key.labelKeys"))) { for (int x = 0; x < keyMnemonic.length; x++) { lm.addElement(LangTool.getString("key."+keyMnemonic[x])); } macros = false; speci...
private void loadList(String which) { lm.clear(); lm.removeAllElements(); if (which.equals(LangTool.getString("key.labelKeys"))) { for (int x = 0; x < keyMnemonic.length; x++) { lm.addElement(LangTool.getString("key."+keyMnemonic[x])); } macros = false; speci...
4,700
private void removeIt() { if (!macros && !special) { mapper.removeKeyStroke(keyMnemonic[functions.getSelectedIndex()]); strokeDesc.setText(mapper.getKeyStrokeDesc( keyMnemonic[functions.getSelectedIndex()])); } else { if (macros) { mapper.re...
private void removeIt() { if (!macros && !special) { mapper.removeKeyStroke(mnemonicData[functions.getSelectedIndex()]); strokeDesc.setText(mapper.getKeyStrokeDesc( keyMnemonic[functions.getSelectedIndex()])); } else { if (macros) { mapper.r...
4,701
private void removeIt() { if (!macros && !special) { mapper.removeKeyStroke(keyMnemonic[functions.getSelectedIndex()]); strokeDesc.setText(mapper.getKeyStrokeDesc( keyMnemonic[functions.getSelectedIndex()])); } else { if (macros) { mapper.re...
private void removeIt() { if (!macros && !special) { mapper.removeKeyStroke(keyMnemonic[functions.getSelectedIndex()]); strokeDesc.setText(mapper.getKeyStrokeDesc( mnemonicData[functions.getSelectedIndex()])); } else { if (macros) { mapper.r...
4,702
private void setKeyDescription(int index) { // This try and catch is to fix a problem in JDK1.4-betas try { if (!macros && !special) { strokeDesc.setText(mapper.getKeyStrokeDesc(keyMnemonic[index])); } else { if (macros) { System.out.println((Stri...
private void setKeyDescription(int index) { // This try and catch is to fix a problem in JDK1.4-betas try { if (!macros && !special) { strokeDesc.setText(mapper.getKeyStrokeDesc(mnemonicData[index])); } else { if (macros) { System.out.println((Str...
4,703
private void setNewKeyStrokes(KeyEvent ke) { if (!macros && !special) { if (isLinux) mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke,isAltGr); else mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke); strokeDesc.setText(mapper.getKeySt...
private void setNewKeyStrokes(KeyEvent ke) { if (!macros && !special) { if (isLinux) mapper.setKeyStroke(mnemonicData[functions.getSelectedIndex()],ke,isAltGr); else mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke); strokeDesc.setText(mapper.getKeyS...
4,704
private void setNewKeyStrokes(KeyEvent ke) { if (!macros && !special) { if (isLinux) mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke,isAltGr); else mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke); strokeDesc.setText(mapper.getKeySt...
private void setNewKeyStrokes(KeyEvent ke) { if (!macros && !special) { if (isLinux) mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke,isAltGr); else mapper.setKeyStroke(mnemonicData[functions.getSelectedIndex()],ke); strokeDesc.setText(mapper.getKeyS...
4,705
private void setNewKeyStrokes(KeyEvent ke) { if (!macros && !special) { if (isLinux) mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke,isAltGr); else mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke); strokeDesc.setText(mapper.getKeySt...
private void setNewKeyStrokes(KeyEvent ke) { if (!macros && !special) { if (isLinux) mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke,isAltGr); else mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke); strokeDesc.setText(mapper.getKeySt...
4,706
public static void main(String[] args) throws NameNotFoundException, ShellException { final ConsoleManager conMgr = (ConsoleManager) InitialNaming .lookup(ConsoleManager.NAME); boolean listConsoles = false; boolean newConsole = false; boolean isolateNewC...
public static void main(String[] args) throws NameNotFoundException, ShellException { final ConsoleManager conMgr = (ConsoleManager) InitialNaming .lookup(ConsoleManager.NAME); boolean listConsoles = false; boolean newConsole = false; boolean isolateNewC...
4,707
public KeyStroke getKeyStroke(String accelKey) { return keyMap.getKeyStroke(accelKey); }
public KeyStroke getKeyStroke(String accelKey) { return KeyMapper.getKeyStroke(accelKey); }
4,708
public boolean isKeyStrokeDefined(String accelKey) { return keyMap.isKeyStrokeDefined(accelKey); }
public boolean isKeyStrokeDefined(String accelKey) { return KeyMapper.isKeyStrokeDefined(accelKey); }
4,709
private void processVTKeyPressed(KeyEvent e){ keyProcessed = true;// displayInfo(e,"Pressed " + keyProcessed); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; }// if (linux)// if (keyCode == e.VK_UNDEFINED ||// if (keyCode == e...
private void processVTKeyPressed(KeyEvent e){ keyProcessed = true;// displayInfo(e,"Pressed " + keyProcessed); int keyCode = e.getKeyCode(); if (isLinux && keyCode == KeyEvent.VK_ALT_GRAPH) { isAltGr = true; }// if (linux)// if (keyCode == e.VK_UNDEFINED ||// if (keyCo...
4,710
private void processVTKeyPressed(KeyEvent e){ keyProcessed = true;// displayInfo(e,"Pressed " + keyProcessed); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; }// if (linux)// if (keyCode == e.VK_UNDEFINED ||// if (keyCode == e...
private void processVTKeyPressed(KeyEvent e){ keyProcessed = true;// displayInfo(e,"Pressed " + keyProcessed); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; }// if (linux)// if (keyCode == e.VK_UNDEFINED ||// if (keyCode == e...
4,711
private void processVTKeyPressed(KeyEvent e){ keyProcessed = true;// displayInfo(e,"Pressed " + keyProcessed); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; }// if (linux)// if (keyCode == e.VK_UNDEFINED ||// if (keyCode == e...
private void processVTKeyPressed(KeyEvent e){ keyProcessed = true;// displayInfo(e,"Pressed " + keyProcessed); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; }// if (linux)// if (keyCode == e.VK_UNDEFINED ||// if (keyCode == e...
4,712
private void processVTKeyPressed(KeyEvent e){ keyProcessed = true;// displayInfo(e,"Pressed " + keyProcessed); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; }// if (linux)// if (keyCode == e.VK_UNDEFINED ||// if (keyCode == e...
private void processVTKeyPressed(KeyEvent e){ keyProcessed = true;// displayInfo(e,"Pressed " + keyProcessed); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; }// if (linux)// if (keyCode == e.VK_UNDEFINED ||// if (keyCode == e...
4,713
private void processVTKeyReleased(KeyEvent e){ if (isLinux && e.getKeyCode() == e.VK_ALT_GRAPH) { isAltGr = false; } if (Character.isISOControl(e.getKeyChar()) || keyProcessed || e.isConsumed() ) return;// displayInfo(e,"Released " + keyProcessed); String s = keyMap.getKeyStr...
private void processVTKeyReleased(KeyEvent e){ if (isLinux && e.getKeyCode() == KeyEvent.VK_ALT_GRAPH) { isAltGr = false; } if (Character.isISOControl(e.getKeyChar()) || keyProcessed || e.isConsumed() ) return;// displayInfo(e,"Released " + keyProcessed); String s = keyMap.ge...
4,714
private void processVTKeyReleased(KeyEvent e){ if (isLinux && e.getKeyCode() == e.VK_ALT_GRAPH) { isAltGr = false; } if (Character.isISOControl(e.getKeyChar()) || keyProcessed || e.isConsumed() ) return;// displayInfo(e,"Released " + keyProcessed); String s = keyMap.getKeyStr...
private void processVTKeyReleased(KeyEvent e){ if (isLinux && e.getKeyCode() == e.VK_ALT_GRAPH) { isAltGr = false; } if (Character.isISOControl(e.getKeyChar()) || keyProcessed || e.isConsumed() ) return;// displayInfo(e,"Released " + keyProcessed); String s = KeyMapper.getKey...
4,715
protected void installDefaults(JComponent c) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); c.setBackground(defaults.getColor("ToolTip.background")); c.setForeground(defaults.getColor("ToolTip.foreground")); c.setFont(defaults.getFont("ToolTip.font")); c.setBorder(defaultBorder); }
protected void installDefaults(JComponent c) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); c.setBackground(defaults.getColor("ToolTip.background")); c.setForeground(defaults.getColor("ToolTip.foreground")); c.setFont(defaults.getFont("ToolTip.font")); c.setBorder(defaults.getBorder("Tool...
4,716
protected Attribute(String a_name) { name = a_name; }
private Attribute(String a_name) { name = a_name; }
4,717
public abstract void write_Context(Context context, ContextList contexts);
public abstract void write_Context(Context context, ContextList contexts);
4,718
public static Provider[] getProviders() { Provider array[] = new Provider[providers.size ()]; providers.copyInto (array); return array; }
public static Provider[] getProviders() { Provider[] array = new Provider[providers.size ()]; providers.copyInto (array); return array; }
4,719
public JViewport createViewport() { return new JViewport(); }
protected JViewport createViewport() { return new JViewport(); }
4,721
public void setColumnHeader(JViewport h) { JViewport old = columnHeader; removeNonNull(old); columnHeader = h; addNonNull(h); firePropertyChange(COLUMN_HEADER_CHANGED_PROPERTY, old, h); sync(); }
public void setColumnHeader(JViewport h) { JViewport old = columnHeader; removeNonNull(old); columnHeader = h; addNonNull(h); firePropertyChange("columnHeader", old, h); sync(); }
4,722
public void setComponentOrientation(ComponentOrientation co) { ComponentOrientation old = super.getComponentOrientation(); super.setComponentOrientation(co); firePropertyChange(COMPONENT_ORIENTATION_CHANGED_PROPERTY, old, co); sync(); }
public void setComponentOrientation(ComponentOrientation co) { ComponentOrientation old = super.getComponentOrientation(); super.setComponentOrientation(co); firePropertyChange("componentOrientation", old, co); sync(); }
4,723
public void setHorizontalScrollBar(JScrollBar h) { JScrollBar old = horizontalScrollBar; removeNonNull(old); horizontalScrollBar = h; addNonNull(h); firePropertyChange(HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY, old, h); sync(); if (old != null) { BoundedRangeModel model = old.getModel();...
public void setHorizontalScrollBar(JScrollBar h) { JScrollBar old = horizontalScrollBar; removeNonNull(old); horizontalScrollBar = h; addNonNull(h); firePropertyChange("horizontalScrollBar", old, h); sync(); if (old != null) { BoundedRangeModel model = old.getModel(); if (mode...
4,724
public void setHorizontalScrollBarPolicy(int h) { if (h != HORIZONTAL_SCROLLBAR_AS_NEEDED && h != HORIZONTAL_SCROLLBAR_NEVER && h != HORIZONTAL_SCROLLBAR_ALWAYS) throw new IllegalArgumentException("unknown horizontal scrollbar policy"); int old = horizontalScrollBarPolicy; horizon...
public void setHorizontalScrollBarPolicy(int h) { if (h != HORIZONTAL_SCROLLBAR_AS_NEEDED && h != HORIZONTAL_SCROLLBAR_NEVER && h != HORIZONTAL_SCROLLBAR_ALWAYS) throw new IllegalArgumentException("unknown horizontal scrollbar policy"); int old = horizontalScrollBarPolicy; horizon...
4,725
public void setLayout(LayoutManager l) { LayoutManager old = super.getLayout(); ScrollPaneLayout tmp = (ScrollPaneLayout) l; super.setLayout(l); tmp.syncWithScrollPane(this); firePropertyChange(LAYOUT_CHANGED_PROPERTY, old, l); sync(); }
public void setLayout(LayoutManager l) { LayoutManager old = super.getLayout(); ScrollPaneLayout tmp = (ScrollPaneLayout) l; super.setLayout(l); tmp.syncWithScrollPane(this); firePropertyChange("layout", old, l); sync(); }
4,726
public void setRowHeader(JViewport v) { JViewport old = rowHeader; removeNonNull(old); rowHeader = v; addNonNull(v); firePropertyChange(ROW_HEADER_CHANGED_PROPERTY, old, v); sync(); }
public void setRowHeader(JViewport v) { JViewport old = rowHeader; removeNonNull(old); rowHeader = v; addNonNull(v); firePropertyChange("rowHeader", old, v); sync(); }
4,727
public void setVerticalScrollBar(JScrollBar v) { JScrollBar old = verticalScrollBar; removeNonNull(old); verticalScrollBar = v; addNonNull(v); firePropertyChange(VERTICAL_SCROLLBAR_CHANGED_PROPERTY, old, v); sync(); if (old != null) { BoundedRangeModel model = old.getModel(); ...
public void setVerticalScrollBar(JScrollBar v) { JScrollBar old = verticalScrollBar; removeNonNull(old); verticalScrollBar = v; addNonNull(v); firePropertyChange("verticalScrollBar", old, v); sync(); if (old != null) { BoundedRangeModel model = old.getModel(); if (model != nul...
4,728
public void setVerticalScrollBarPolicy(int v) { if (v != VERTICAL_SCROLLBAR_AS_NEEDED && v != VERTICAL_SCROLLBAR_NEVER && v != VERTICAL_SCROLLBAR_ALWAYS) throw new IllegalArgumentException("unknown vertical scrollbar policy"); int old = verticalScrollBarPolicy; verticalScrollBarPolicy...
public void setVerticalScrollBarPolicy(int v) { if (v != VERTICAL_SCROLLBAR_AS_NEEDED && v != VERTICAL_SCROLLBAR_NEVER && v != VERTICAL_SCROLLBAR_ALWAYS) throw new IllegalArgumentException("unknown vertical scrollbar policy"); int old = verticalScrollBarPolicy; verticalScrollBarPolicy...
4,729
public void setViewport(JViewport v) { JViewport old = viewport; removeNonNull(old); if (old != null) old.removeChangeListener(scrollListener); viewport = v; if (v != null) v.addChangeListener(scrollListener); addNonNull(v); revalidate(); repaint(); firePropertyChange(VIEWPORT_CH...
public void setViewport(JViewport v) { JViewport old = viewport; removeNonNull(old); if (old != null) old.removeChangeListener(scrollListener); viewport = v; if (v != null) v.addChangeListener(scrollListener); addNonNull(v); revalidate(); repaint(); firePropertyChange("viewport",...
4,730