bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public Rectangle getGlyphPixelBounds (int index, FontRenderContext renderFRC, float x, float y) throws NotImplementedException { throw new Error ("not implemented"); }
public Rectangle getGlyphPixelBounds (int index, FontRenderContext renderFRC, float x, float y) { throw new Error ("not implemented"); }
24,712
public Rectangle getGlyphPixelBounds (int index, FontRenderContext renderFRC, float x, float y) throws NotImplementedException { throw new Error ("not implemented"); }
public Rectangle getGlyphPixelBounds (int index, FontRenderContext renderFRC, float x, float y) throws NotImplementedException { Rectangle bounds = new Rectangle(); Rectangle2D rect = getGlyphVisualBounds(index).getBounds2D(); bounds.x = (int) (rect.getX() + x); bounds.y...
24,713
public Rectangle getPixelBounds (FontRenderContext renderFRC, float x, float y) throws NotImplementedException { throw new Error ("not implemented"); }
public Rectangle getPixelBounds (FontRenderContext renderFRC, float x, float y) { throw new Error ("not implemented"); }
24,714
public Rectangle getPixelBounds (FontRenderContext renderFRC, float x, float y) throws NotImplementedException { throw new Error ("not implemented"); }
public Rectangle getPixelBounds (FontRenderContext renderFRC, float x, float y) throws NotImplementedException { Rectangle bounds = new Rectangle(); Rectangle2D rect = getVisualBounds(); bounds.x = (int) (rect.getX() + x); bounds.y = (int) (rect.getY() + y); bounds.width = (i...
24,715
public void fillHelp(Map map) { super.fillHelp(map); map.put("n", "Next threads"); map.put("r", "Reset the list"); }
public void fillHelp(Map map) { super.fillHelp(map); map.put("n", "Next thread"); map.put("r", "Reset the list"); }
24,716
protected void activate() throws RemoteException { try { Remote self = actId.activate(false); // This will call UnicastServer.exportObject, replacing null by // the activated object (self) in the object map. exportObject(self); } catch (RemoteException rex) { ...
protected void activate() throws RemoteException { try { Remote self = actId.activate(false); // This will call UnicastServer.exportObject, replacing null by // the activated object (self) in the object map. exportObject(self); } catch (RemoteException rex) { ...
24,717
public void setText(String text) { int idx = 0; int idx_idx = 0; int alreadyExpanded = 0; int idxToMove = 0; this.text = text; this.index = 0; String work_text = text.intern(); ArrayList a_element = new ArrayList(); ArrayList a_idx = new ArrayList(); // Build element collection ordered ...
public void setText(String text) { int idx = 0; int idx_idx = 0; int alreadyExpanded = 0; int idxToMove = 0; this.text = text; this.index = 0; String work_text = text.intern(); ArrayList a_element = new ArrayList(); ArrayList a_idx = new ArrayList(); // Build element collection ordered ...
24,718
public void run() { SwingUtilities.invokeLater(new Runnable() { public void run() { final ClassLoader cl = getClass().getClassLoader(); final ExtensionPoint appsEP; if (cl instanceof PluginClassLoader) { appsEP = ((PluginClassLoader) ...
public void run() { SwingUtilities.invokeLater(new Runnable() { public void run() { final ClassLoader cl = getClass().getClassLoader(); final ExtensionPoint appsEP; if (cl instanceof PluginClassLoader) { appsEP = ((PluginClassLoader) ...
24,719
public void run() { SwingUtilities.invokeLater(new Runnable() { public void run() { final ClassLoader cl = getClass().getClassLoader(); final ExtensionPoint appsEP; if (cl instanceof PluginClassLoader) { appsEP = ((PluginClassLoader) ...
public void run() { SwingUtilities.invokeLater(new Runnable() { public void run() { final ClassLoader cl = getClass().getClassLoader(); final ExtensionPoint appsEP; if (cl instanceof PluginClassLoader) { appsEP = ((PluginClassLoader) ...
24,720
public void run() { final ClassLoader cl = getClass().getClassLoader(); final ExtensionPoint appsEP; if (cl instanceof PluginClassLoader) { appsEP = ((PluginClassLoader) cl).getDeclaringPluginDescriptor().getExtensionPoint("apps"); ...
public void run() { final ClassLoader cl = getClass().getClassLoader(); final ExtensionPoint appsEP; if (cl instanceof PluginClassLoader) { appsEP = ((PluginClassLoader) cl).getDeclaringPluginDescriptor().getExtensionPoint("apps"); ...
24,721
public void run() { final ClassLoader cl = getClass().getClassLoader(); final ExtensionPoint appsEP; if (cl instanceof PluginClassLoader) { appsEP = ((PluginClassLoader) cl).getDeclaringPluginDescriptor().getExtensionPoint("apps"); ...
public void run() { final ClassLoader cl = getClass().getClassLoader(); final ExtensionPoint appsEP; if (cl instanceof PluginClassLoader) { appsEP = ((PluginClassLoader) cl).getDeclaringPluginDescriptor().getExtensionPoint("apps"); ...
24,722
public void run() { Dimension ss = ((JNodeToolkit) Toolkit.getDefaultToolkit()).changeScreenSize(resolution); AccessController.doPrivileged(new SetPropertyAction("jnode.awt.screensize", resolution)); ctx.adjustDesktopSize(ss.width,...
public void run() { ((JNodeToolkit) Toolkit.getDefaultToolkit()).changeScreenSize(resolution); AccessController.doPrivileged(new SetPropertyAction("jnode.awt.screensize", resolution)); ctx.adjustDesktopSize(ss.width, ss.height); ...
24,723
public void run() { Dimension ss = ((JNodeToolkit) Toolkit.getDefaultToolkit()).changeScreenSize(resolution); AccessController.doPrivileged(new SetPropertyAction("jnode.awt.screensize", resolution)); ctx.adjustDesktopSize(ss.width,...
public void run() { Dimension ss = ((JNodeToolkit) Toolkit.getDefaultToolkit()).changeScreenSize(resolution); AccessController.doPrivileged(new SetPropertyAction("jnode.awt.screensize", resolution)); ctx.adjustDesktopSize(ss.width,...
24,724
public BufferCapabilities(ImageCapabilities front, ImageCapabilities back, FlipContents flip) { if (front == null || back == null) throw new IllegalArgumentException(); this.front = front; this.back = back; this.flip = flip; }
public BufferCapabilities(ImageCapabilities front, ImageCapabilities back, FlipContents flip) { if (front == null || back == null) throw new IllegalArgumentException(); this.front = front; this.back = back; this.flip = flip; }
24,725
public BufferCapabilities(ImageCapabilities front, ImageCapabilities back, FlipContents flip) { if (front == null || back == null) throw new IllegalArgumentException(); this.front = front; this.back = back; this.flip = flip; }
public BufferCapabilities(ImageCapabilities front, ImageCapabilities back, FlipContents flip) { if (frontCaps == null || backCaps == null) throw new IllegalArgumentException(); this.front = front; this.back = back; this.flip = flip; }
24,726
public BufferCapabilities(ImageCapabilities front, ImageCapabilities back, FlipContents flip) { if (front == null || back == null) throw new IllegalArgumentException(); this.front = front; this.back = back; this.flip = flip; }
public BufferCapabilities(ImageCapabilities front, ImageCapabilities back, FlipContents flip) { if (front == null || back == null) throw new IllegalArgumentException(); this.front = front; this.back = back; this.flip = flip; }
24,727
public final void dispatchEvent(AWTEvent e) { // Some subclasses in the AWT package need to override this behavior, // hence the use of dispatchEventImpl(). dispatchEventImpl(e); if (peer != null && ! e.consumed) peer.handleEvent(e); }
public final void dispatchEvent(AWTEvent e) { // Some subclasses in the AWT package need to override this behavior, // hence the use of dispatchEventImpl(). dispatchEventImpl(e); if (peer != null && ! e.consumed) peer.handleEvent(e); }
24,728
void dispatchEventImpl (AWTEvent e) { Event oldEvent = translateEvent (e); if (oldEvent != null) postEvent (oldEvent); if (eventTypeEnabled (e.id)) { // the trick we use to communicate between dispatch and redispatch // is to have KeyboardFocusManager.redispatch synchronize on the ...
void dispatchEventImpl(AWTEvent e) { Event oldEvent = translateEvent (e); if (oldEvent != null) postEvent (oldEvent); if (eventTypeEnabled (e.id)) { // the trick we use to communicate between dispatch and redispatch // is to have KeyboardFocusManager.redispatch synchronize on the ...
24,729
void dispatchEventImpl (AWTEvent e) { Event oldEvent = translateEvent (e); if (oldEvent != null) postEvent (oldEvent); if (eventTypeEnabled (e.id)) { // the trick we use to communicate between dispatch and redispatch // is to have KeyboardFocusManager.redispatch synchronize on the ...
void dispatchEventImpl (AWTEvent e) { Event oldEvent = translateEvent (e); if (oldEvent != null) postEvent (oldEvent); if (eventTypeEnabled (e.id)) { // the trick we use to communicate between dispatch and redispatch // is to have KeyboardFocusManager.redispatch synchronize on the ...
24,730
public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h) { if ((flags & (FRAMEBITS | ALLBITS)) != 0) repaint (); else if ((flags & SOMEBITS) != 0) { if (incrementalDraw) { if (redrawRate != null) { long tm = redrawRate.longValue(); if (tm < 0) tm = 0; repaint (tm...
public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h) { if ((flags & (FRAMEBITS | ALLBITS)) != 0) repaint(); else if ((flags & SOMEBITS) != 0) { if (incrementalDraw) { if (redrawRate != null) { long tm = redrawRate.longValue(); if (tm < 0) tm = 0; repaint (tm)...
24,732
public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h) { if ((flags & (FRAMEBITS | ALLBITS)) != 0) repaint (); else if ((flags & SOMEBITS) != 0) { if (incrementalDraw) { if (redrawRate != null) { long tm = redrawRate.longValue(); if (tm < 0) tm = 0; repaint (tm...
public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h) { if ((flags & (FRAMEBITS | ALLBITS)) != 0) repaint (); else if ((flags & SOMEBITS) != 0) { if (incrementalDraw) { if (redrawRate != null) { long tm = redrawRate.longValue(); if (tm < 0) tm = 0; repaint (tm...
24,733
public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h) { if ((flags & (FRAMEBITS | ALLBITS)) != 0) repaint (); else if ((flags & SOMEBITS) != 0) { if (incrementalDraw) { if (redrawRate != null) { long tm = redrawRate.longValue(); if (tm < 0) tm = 0; repaint (tm...
public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h) { if ((flags & (FRAMEBITS | ALLBITS)) != 0) repaint (); else if ((flags & SOMEBITS) != 0) { if (incrementalDraw) { if (redrawRate != null) { long tm = redrawRate.longValue(); if (tm < 0) tm = 0; repaint (tm...
24,734
public boolean isDisplayable() { if (parent != null) return parent.isDisplayable(); return false; }
public boolean isDisplayable() { if (parent != null) return parent.isDisplayable(); return false; }
24,735
public void paint(Graphics g) { // Paint the heavyweight peer if (!isLightweight() && peer != null) peer.paint(g); }
public void paint(Graphics g) { // Paint the heavyweight peer if (!isLightweight() && peer != null) peer.paint(g); }
24,736
protected String paramString() { StringBuffer param = new StringBuffer(); String name = getName(); if (name != null) param.append(name).append(","); param.append(x).append(",").append(y).append(",").append(width) .append("x").append(height); if (! isValid()) param.append(",invalid"); if (! isVis...
protected String paramString() { StringBuffer param = new StringBuffer(); String name = getName(); if (name != null) param.append(name).append(","); param.append(x).append(",").append(y).append(",").append(width) .append("x").append(height); if (! isValid()) param.append(",invalid"); if (! isVis...
24,737
protected String paramString() { StringBuffer param = new StringBuffer(); String name = getName(); if (name != null) param.append(name).append(","); param.append(x).append(",").append(y).append(",").append(width) .append("x").append(height); if (! isValid()) param.append(",invalid"); if (! isVis...
protected String paramString() { StringBuffer param = new StringBuffer(); String name = getName(); if (name != null) param.append(name).append(","); param.append(x).append(",").append(y).append(",").append(width) .append("x").append(height); if (! isValid()) param.append(",invalid"); if (! isVis...
24,738
public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ...
public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ...
24,740
public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ...
public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ...
24,741
public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ...
public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ...
24,742
public void update(Graphics g) { // Tests show that the clearing of the background is only done in // two cases: // - If the component is lightwight (yes this is in contrast to the spec). // - If the component is a toplevel container. if (isLightweight() || getParent() == null) { Rectangle...
public void update(Graphics g) { // Tests show that the clearing of the background is only done in // two cases: // - If the component is lightwight (yes this is in contrast to the spec). // - If the component is a toplevel container. if ...
24,743
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tabPane.setFont(defaults.getFont("TabbedPane.font")); tabPane.setForeground(defaults.getColor("TabbedPane.foreground")); tabPane.setBackground(defaults.getColor("TabbedPane.background")); tabPane.setOpaque(fal...
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tabPane.setFont(defaults.getFont("TabbedPane.font")); tabPane.setForeground(defaults.getColor("TabbedPane.foreground")); tabPane.setBackground(defaults.getColor("TabbedPane.background")); tabPane.setOpaque(fal...
24,744
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tabPane.setFont(defaults.getFont("TabbedPane.font")); tabPane.setForeground(defaults.getColor("TabbedPane.foreground")); tabPane.setBackground(defaults.getColor("TabbedPane.background")); tabPane.setOpaque(fal...
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tabPane.setFont(defaults.getFont("TabbedPane.font")); tabPane.setForeground(defaults.getColor("TabbedPane.foreground")); tabPane.setBackground(defaults.getColor("TabbedPane.background")); tabPane.setOpaque(fal...
24,745
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tabPane.setFont(defaults.getFont("TabbedPane.font")); tabPane.setForeground(defaults.getColor("TabbedPane.foreground")); tabPane.setBackground(defaults.getColor("TabbedPane.background")); tabPane.setOpaque(fal...
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tabPane.setFont(defaults.getFont("TabbedPane.font")); tabPane.setForeground(defaults.getColor("TabbedPane.foreground")); tabPane.setBackground(defaults.getColor("TabbedPane.background")); tabPane.setOpaque(fal...
24,746
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tabPane.setFont(defaults.getFont("TabbedPane.font")); tabPane.setForeground(defaults.getColor("TabbedPane.foreground")); tabPane.setBackground(defaults.getColor("TabbedPane.background")); tabPane.setOpaque(fal...
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tabPane.setFont(defaults.getFont("TabbedPane.font")); tabPane.setForeground(defaults.getColor("TabbedPane.foreground")); tabPane.setBackground(defaults.getColor("TabbedPane.background")); tabPane.setOpaque(fal...
24,747
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tabPane.setFont(defaults.getFont("TabbedPane.font")); tabPane.setForeground(defaults.getColor("TabbedPane.foreground")); tabPane.setBackground(defaults.getColor("TabbedPane.background")); tabPane.setOpaque(fal...
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tabPane.setFont(defaults.getFont("TabbedPane.font")); tabPane.setForeground(defaults.getColor("TabbedPane.foreground")); tabPane.setBackground(defaults.getColor("TabbedPane.background")); tabPane.setOpaque(fal...
24,748
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tabPane.setFont(defaults.getFont("TabbedPane.font")); tabPane.setForeground(defaults.getColor("TabbedPane.foreground")); tabPane.setBackground(defaults.getColor("TabbedPane.background")); tabPane.setOpaque(fal...
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tabPane.setFont(defaults.getFont("TabbedPane.font")); tabPane.setForeground(defaults.getColor("TabbedPane.foreground")); tabPane.setBackground(defaults.getColor("TabbedPane.background")); tabPane.setOpaque(fal...
24,749
protected void layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected) { SwingUtilities.layoutCompoundLabel(metrics, ...
protected void layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected) { SwingUtilities.layoutCompoundLabel(metrics, ...
24,750
public GlyphJustificationInfo getJustificationInfo () throws NotImplementedException { throw new Error ("not implemented"); }
public GlyphJustificationInfo getJustificationInfo () throws NotImplementedException { throw new Error ("not implemented"); }
24,751
public GlyphJustificationInfo getJustificationInfo () throws NotImplementedException { throw new Error ("not implemented"); }
public GlyphJustificationInfo getJustificationInfo () throws NotImplementedException { float adv = getAdvance(); return new GlyphJustificationInfo(adv, false, 2, adv / 3, adv / 3, false, 1, 0, 0); }
24,752
Inet4Address(byte[] addr) { this(addr, null, null); }
Inet4Address(byte[] addr, String host) { this(addr, null, null); }
24,753
Inet4Address(byte[] addr) { this(addr, null, null); }
Inet4Address(byte[] addr) { this(addr, null, null); }
24,754
public String getHostAddress() { StringBuffer sbuf = new StringBuffer(40); int len = addr.length; int i = 0; for (;;) { sbuf.append(addr[i] & 0xFF); i++; if (i == len) break; sbuf.append('.'); } return sbuf.toString(); }
public String getHostAddress() { StringBuffer sbuf = new StringBuffer(40); int len = addr.length; int i = 0; for (;;) { sbuf.append(addr[i] & 0xFF); i++; if (i == len) break; sbuf.append('.'); } return sbuf.toString(); }
24,755
public boolean isAnyLocalAddress() { byte[] anylocal = { 0, 0, 0, 0 }; return Arrays.equals(addr, anylocal); }
public boolean isAnyLocalAddress() { byte[] anylocal = { 0, 0, 0, 0 }; return Arrays.equals(addr, anylocal); }
24,756
public boolean isLinkLocalAddress() { // XXX: This seems to not exist with IPv4 addresses return false; }
public boolean isLinkLocalAddress() { // XXX: This seems to not exist with IPv4 addresses return false; }
24,757
public boolean isLoopbackAddress() { return addr[0] == 0x7F; }
public boolean isLoopbackAddress() { return addr[0] == 0x7F; }
24,758
public boolean isMCGlobal() { // XXX: This seems to net exist with IPv4 addresses return false; }
public boolean isMCGlobal() { // XXX: This seems to net exist with IPv4 addresses return false; }
24,759
public boolean isMCLinkLocal() { if (! isMulticastAddress()) return false; return (addr[0] == 0xE0) && (addr[1] == 0x00) && (addr[2] == 0x00); }
public boolean isMCLinkLocal() { if (! isMulticastAddress()) return false; return (addr[0] == 0xE0) && (addr[1] == 0x00) && (addr[2] == 0x00); }
24,760
public boolean isMCNodeLocal() { // XXX: This seems to net exist with IPv4 addresses return false; }
public boolean isMCNodeLocal() { // XXX: This seems to net exist with IPv4 addresses return false; }
24,761
public boolean isMCOrgLocal() { // XXX: This seems to net exist with IPv4 addresses return false; }
public boolean isMCOrgLocal() { // XXX: This seems to net exist with IPv4 addresses return false; }
24,762
public boolean isMCSiteLocal() { // XXX: This seems to net exist with IPv4 addresses return false; }
public boolean isMCSiteLocal() { // XXX: This seems to net exist with IPv4 addresses return false; }
24,763
public boolean isMulticastAddress() { return (addr[0] & 0xF0) == 0xE0; }
public boolean isMulticastAddress() { return (addr[0] & 0xF0) == 0xE0; }
24,764
public boolean isSiteLocalAddress() { // 10.0.0.0/8 if (addr[0] == 0x0A) return true; // XXX: Suns JDK 1.4.1 (on Linux) seems to have a bug here: // it says 172.16.0.0 - 172.255.255.255 are site local addresses // // 172.16.0.0/12 if (addr[0] == 0xAC && (addr[1] & 0xF0) == 0x01) return true; // 192.168.0...
public boolean isSiteLocalAddress() { // 10.0.0.0/8 if (addr[0] == 0x0A) return true; // XXX: Suns JDK 1.4.1 (on Linux) seems to have a bug here: // it says 172.16.0.0 - 172.255.255.255 are site local addresses // // 172.16.0.0/12 if (addr[0] == 0xAC && (addr[1] & 0xF0) == 0x01) return true; // 192.168.0...
24,765
private Object writeReplace() throws ObjectStreamException { return new InetAddress(addr, hostName, null); }
private Object writeReplace() throws ObjectStreamException { return new InetAddress(addr, hostName, null); }
24,766
public void setHgap (int hgap) { if (hgap < 0) throw new IllegalArgumentException ("horizontal gap must be nonnegative"); this.hgap = hgap; }
public void setHgap (int hgap) { if (hgap < 0) throw new IllegalArgumentException ("horizontal gap must be nonnegative"); this.hgap = hgap; }
24,767
public void setVgap (int vgap) { if (vgap < 0) throw new IllegalArgumentException ("vertical gap must be nonnegative"); this.vgap = vgap; }
public void setVgap (int vgap) { if (vgap < 0) throw new IllegalArgumentException ("vertical gap must be nonnegative"); this.vgap = vgap; }
24,768
public String toString () { return ("[" + getClass ().getName () + ",hgap=" + hgap + ",vgap=" + vgap + ",rows=" + rows + ",cols=" + cols + "]"); }
public String toString () { return ("[" + getClass ().getName () + ",hgap=" + hgap + ",vgap=" + vgap + ",rows=" + rows + ",cols=" + cols + "]"); }
24,769
private void updateSelection() { if (table.getRowSelectionAllowed()) { int lo_row = getRowForPoint(begin); int hi_row = getRowForPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) rowModel.setSelectio...
private void updateSelection() { if (table.getRowSelectionAllowed()) { int lo_row = getRowForPoint(begin); int hi_row = getRowForPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) rowModel.setSelectio...
24,770
private void updateSelection() { if (table.getRowSelectionAllowed()) { int lo_row = getRowForPoint(begin); int hi_row = getRowForPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) rowModel.setSelectio...
private void updateSelection() { if (table.getRowSelectionAllowed()) { int lo_row = getRowForPoint(begin); int hi_row = getRowForPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) rowModel.setSelectio...
24,771
Scrollbar(){ this(VERTICAL);}
Scrollbar(){ this(VERTICAL);}
24,772
Scrollbar(){ this(VERTICAL);}
Scrollbar(){ this(VERTICAL);}
24,773
addAdjustmentListener(AdjustmentListener listener){ adjustment_listeners = AWTEventMulticaster.add(adjustment_listeners, listener); enableEvents(AWTEvent.ADJUSTMENT_EVENT_MASK);}
addAdjustmentListener(AdjustmentListener listener){ adjustment_listeners = AWTEventMulticaster.add(adjustment_listeners, listener); enableEvents(AWTEvent.ADJUSTMENT_EVENT_MASK);}
24,774
addAdjustmentListener(AdjustmentListener listener){ adjustment_listeners = AWTEventMulticaster.add(adjustment_listeners, listener); enableEvents(AWTEvent.ADJUSTMENT_EVENT_MASK);}
addAdjustmentListener(AdjustmentListener listener){ adjustment_listeners = AWTEventMulticaster.add(adjustment_listeners, listener); enableEvents(AWTEvent.ADJUSTMENT_EVENT_MASK);}
24,775
addNotify(){ if (peer == null) peer = getToolkit ().createScrollbar (this); super.addNotify ();}
addNotify(){ if (peer == null) peer = getToolkit ().createScrollbar (this); super.addNotify ();}
24,776
addNotify(){ if (peer == null) peer = getToolkit ().createScrollbar (this); super.addNotify ();}
addNotify(){ if (peer == null) peer = getToolkit ().createScrollbar (this); super.addNotify ();}
24,777
dispatchEventImpl(AWTEvent e){ if (e.id <= AdjustmentEvent.ADJUSTMENT_LAST && e.id >= AdjustmentEvent.ADJUSTMENT_FIRST && (adjustment_listeners != null || (eventMask & AWTEvent.ADJUSTMENT_EVENT_MASK) != 0)) processEvent(e); else super.dispatchEventImpl(e);}
dispatchEventImpl(AWTEvent e){ if (e.id <= AdjustmentEvent.ADJUSTMENT_LAST && e.id >= AdjustmentEvent.ADJUSTMENT_FIRST && (adjustment_listeners != null || (eventMask & AWTEvent.ADJUSTMENT_EVENT_MASK) != 0)) processEvent(e); else super.dispatchEventImpl(e);}
24,778
dispatchEventImpl(AWTEvent e){ if (e.id <= AdjustmentEvent.ADJUSTMENT_LAST && e.id >= AdjustmentEvent.ADJUSTMENT_FIRST && (adjustment_listeners != null || (eventMask & AWTEvent.ADJUSTMENT_EVENT_MASK) != 0)) processEvent(e); else super.dispatchEventImpl(e);}
dispatchEventImpl(AWTEvent e){ if (e.id <= AdjustmentEvent.ADJUSTMENT_LAST && e.id >= AdjustmentEvent.ADJUSTMENT_FIRST && (adjustment_listeners != null || (eventMask & AWTEvent.ADJUSTMENT_EVENT_MASK) != 0)) processEvent(e); else super.dispatchEventImpl(e);}
24,779
String generateName () { return "scrollbar" + getUniqueLong (); }
String generateName() { return "scrollbar" + getUniqueLong (); }
24,780
String generateName () { return "scrollbar" + getUniqueLong (); }
String generateName () { return "scrollbar" + getUniqueLong(); }
24,781
public AdjustmentListener[] getAdjustmentListeners () { return (AdjustmentListener[]) getListeners (AdjustmentListener.class); }
public AdjustmentListener[] getAdjustmentListeners() { return (AdjustmentListener[]) getListeners (AdjustmentListener.class); }
24,783
public AdjustmentListener[] getAdjustmentListeners () { return (AdjustmentListener[]) getListeners (AdjustmentListener.class); }
public AdjustmentListener[] getAdjustmentListeners () { return (AdjustmentListener[]) getListeners(AdjustmentListener.class); }
24,784
getBlockIncrement(){ return getPageIncrement ();}
getBlockIncrement(){ return getPageIncrement ();}
24,785
getLineIncrement(){ return lineIncrement;}
getLineIncrement(){ return lineIncrement;}
24,786
getLineIncrement(){ return lineIncrement;}
getLineIncrement(){ return lineIncrement;}
24,787
public EventListener[] getListeners (Class listenerType) { if (listenerType == AdjustmentListener.class) return AWTEventMulticaster.getListeners (adjustment_listeners, listenerType); return super.getListeners (listenerType); }
public EventListener[] getListeners(Class listenerType) { if (listenerType == AdjustmentListener.class) return AWTEventMulticaster.getListeners (adjustment_listeners, listenerType); return super.getListeners (listenerType); }
24,788
public EventListener[] getListeners (Class listenerType) { if (listenerType == AdjustmentListener.class) return AWTEventMulticaster.getListeners (adjustment_listeners, listenerType); return super.getListeners (listenerType); }
public EventListener[] getListeners (Class listenerType) { if (listenerType == AdjustmentListener.class) return AWTEventMulticaster.getListeners(adjustment_listeners, listenerType); return super.getListeners (listenerType); }
24,789
public EventListener[] getListeners (Class listenerType) { if (listenerType == AdjustmentListener.class) return AWTEventMulticaster.getListeners (adjustment_listeners, listenerType); return super.getListeners (listenerType); }
public EventListener[] getListeners (Class listenerType) { if (listenerType == AdjustmentListener.class) return AWTEventMulticaster.getListeners (adjustment_listeners, listenerType); return super.getListeners(listenerType); }
24,790
getMaximum(){ return(maximum);}
getMaximum(){ return(maximum);}
24,791
getMinimum(){ return(minimum);}
getMinimum(){ return(minimum);}
24,792
getOrientation(){ return(orientation);}
getOrientation(){ return(orientation);}
24,793
getPageIncrement(){ return pageIncrement;}
getPageIncrement(){ return pageIncrement;}
24,794
getPageIncrement(){ return pageIncrement;}
getPageIncrement(){ return pageIncrement;}
24,795
private static synchronized long getUniqueLong () { return next_scrollbar_number++; }
private static synchronized long getUniqueLong() { return next_scrollbar_number++; }
24,796
getUnitIncrement(){ return getLineIncrement ();}
getUnitIncrement(){ return getLineIncrement ();}
24,797
getValue(){ return(value);}
getValue(){ return(value);}
24,798
public boolean getValueIsAdjusting () { return valueIsAdjusting; }
public boolean getValueIsAdjusting() { return valueIsAdjusting; }
24,799
getVisible(){ return visibleAmount;}
getVisible(){ return visibleAmount;}
24,800
getVisible(){ return visibleAmount;}
getVisible(){ return visibleAmount;}
24,801
getVisibleAmount(){ return getVisible ();}
getVisibleAmount(){ return getVisible ();}
24,802
paramString(){ return("value=" + getValue() + ",visibleAmount=" + getVisibleAmount() + ",minimum=" + getMinimum() + ",maximum=" + getMaximum() + ",pageIncrement=" + pageIncrement + ",lineIncrement=" + lineIncrement + ",orientation=" + (orientation == HORIZONTAL ? "HORIZONTAL" : "VERTICAL") + sup...
paramString(){ return("value=" + getValue() + ",visibleAmount=" + getVisibleAmount() + ",minimum=" + getMinimum() + ",maximum=" + getMaximum() + ",pageIncrement=" + pageIncrement + ",lineIncrement=" + lineIncrement + ",orientation=" + (orientation == HORIZONTAL ? "HORIZONTAL" : "VERTICAL") + sup...
24,803
paramString(){ return("value=" + getValue() + ",visibleAmount=" + getVisibleAmount() + ",minimum=" + getMinimum() + ",maximum=" + getMaximum() + ",pageIncrement=" + pageIncrement + ",lineIncrement=" + lineIncrement + ",orientation=" + (orientation == HORIZONTAL ? "HORIZONTAL" : "VERTICAL") + sup...
paramString(){ return("value=" + getValue() + ",visibleAmount=" + getVisibleAmount() + ",minimum=" + getMinimum() + ",maximum=" + getMaximum() + ",pageIncrement=" + pageIncrement + ",lineIncrement=" + lineIncrement + ",orientation=" + (orientation == HORIZONTAL ? "HORIZONTAL" : "VERTICAL") + sup...
24,804
processAdjustmentEvent(AdjustmentEvent event){ value = event.getValue(); if (adjustment_listeners != null) adjustment_listeners.adjustmentValueChanged(event);}
processAdjustmentEvent(AdjustmentEvent event){ value = event.getValue(); if (adjustment_listeners != null) adjustment_listeners.adjustmentValueChanged(event);}
24,805
processAdjustmentEvent(AdjustmentEvent event){ value = event.getValue(); if (adjustment_listeners != null) adjustment_listeners.adjustmentValueChanged(event);}
processAdjustmentEvent(AdjustmentEvent event){ value = event.getValue(); if (adjustment_listeners != null) adjustment_listeners.adjustmentValueChanged(event);}
24,806
processEvent(AWTEvent event){ if (event instanceof AdjustmentEvent) processAdjustmentEvent((AdjustmentEvent)event); else super.processEvent(event);}
processEvent(AWTEvent event){ if (event instanceof AdjustmentEvent) processAdjustmentEvent((AdjustmentEvent)event); else super.processEvent(event);}
24,807
processEvent(AWTEvent event){ if (event instanceof AdjustmentEvent) processAdjustmentEvent((AdjustmentEvent)event); else super.processEvent(event);}
processEvent(AWTEvent event){ if (event instanceof AdjustmentEvent) processAdjustmentEvent((AdjustmentEvent)event); else super.processEvent(event);}
24,808
processEvent(AWTEvent event){ if (event instanceof AdjustmentEvent) processAdjustmentEvent((AdjustmentEvent)event); else super.processEvent(event);}
processEvent(AWTEvent event){ if (event instanceof AdjustmentEvent) processAdjustmentEvent((AdjustmentEvent)event); else super.processEvent(event);}
24,809
removeAdjustmentListener(AdjustmentListener listener){ adjustment_listeners = AWTEventMulticaster.remove(adjustment_listeners, listener);}
removeAdjustmentListener(AdjustmentListener listener){ adjustment_listeners = AWTEventMulticaster.remove(adjustment_listeners, listener);}
24,810
removeAdjustmentListener(AdjustmentListener listener){ adjustment_listeners = AWTEventMulticaster.remove(adjustment_listeners, listener);}
removeAdjustmentListener(AdjustmentListener listener){ adjustment_listeners = AWTEventMulticaster.remove(adjustment_listeners, listener);}
24,811
setBlockIncrement(int blockIncrement){ setPageIncrement (blockIncrement);}
setBlockIncrement(int blockIncrement){ setPageIncrement (blockIncrement);}
24,812
setLineIncrement(int lineIncrement){ if (lineIncrement < 0) throw new IllegalArgumentException ("Unit increment less than zero."); int range = maximum - minimum; if (lineIncrement > range) { if (range == 0) lineIncrement = 1; else lineIncrement = range; } if (lineIncrement == this.line...
setLineIncrement(int lineIncrement){ if (lineIncrement < 0) throw new IllegalArgumentException ("Unit increment less than zero."); int range = maximum - minimum; if (lineIncrement > range) { if (range == 0) lineIncrement = 1; else lineIncrement = range; } if (lineIncrement == this.line...
24,813
setLineIncrement(int lineIncrement){ if (lineIncrement < 0) throw new IllegalArgumentException ("Unit increment less than zero."); int range = maximum - minimum; if (lineIncrement > range) { if (range == 0) lineIncrement = 1; else lineIncrement = range; } if (lineIncrement == this.line...
setLineIncrement(int lineIncrement){ if (lineIncrement < 0) throw new IllegalArgumentException("Unit increment less than zero."); int range = maximum - minimum; if (lineIncrement > range) { if (range == 0) lineIncrement = 1; else lineIncrement = range; } if (lineIncrement == this.lineI...
24,814