bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public int getIndexAtPoint(Point value0) { return 0; // TODO }
public int getIndexAtPoint(Point p) { return 0; // TODO }
21,649
public String getSelectedText() { return null; // TODO }
public String getSelectedText() { return textComp.getSelectedText(); // TODO }
21,650
public int getSelectionEnd() { return 0; // TODO }
public int getSelectionEnd() { if (getSelectedText() == null || (textComp.getText().equals(""))) return 0; return textComp.getSelectionEnd(); // TODO }
21,651
public int getSelectionStart() { return 0; // TODO }
public int getSelectionStart() { if (getSelectedText() == null || (textComp.getText().equals(""))) return 0; return textComp.getSelectionStart(); // TODO }
21,652
public void insertUpdate(DocumentEvent value0) { // TODO }
public void insertUpdate(DocumentEvent e) { // TODO }
21,653
public void removeUpdate(DocumentEvent value0) { // TODO }
public void removeUpdate(DocumentEvent e) { // TODO }
21,654
public AccessibleContext getAccessibleContext() { return null; }
public AccessibleContext getAccessibleContext() { return new AccessibleJTextComponent(); }
21,655
private void setOutFileName(String outFileName) { this.outFileName = outFileName; }
void setOutFileName(String outFileName) { this.outFileName = outFileName; }
21,656
public AbstractSurfaceGraphics(Surface surface, int width, int height) { super(width, height); this.surface = surface; }
public AbstractSurfaceGraphics(Surface surface, int width, int height) { super(width, height); this.surface = surface; }
21,657
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
21,658
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
21,659
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
21,660
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
21,661
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
21,662
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
21,663
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
21,664
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { // Return early and do no updates if the allocation area is null // (like the RI). if (a == null) return; float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); Ele...
21,665
public Ext2FileSystem(Device device) throws FileSystemException{ if(device==null) throw new FileSystemException("null device!"); this.device = device; closed = false; byte data[]; //points to the byte where the fs metadata parsing has reached long byteIndex; cache = new BlockCache(50,(float)0.75); Dri...
public Ext2FileSystem(Device device) throws FileSystemException{ if(device==null) throw new FileSystemException("null device!"); this.device = device; closed = false; byte data[]; //points to the byte where the fs metadata parsing has reached long byteIndex; cache = new BlockCache(50,(float)0.75); Dri...
21,666
public Ext2FileSystem(Device device) throws FileSystemException{ if(device==null) throw new FileSystemException("null device!"); this.device = device; closed = false; byte data[]; //points to the byte where the fs metadata parsing has reached long byteIndex; cache = new BlockCache(50,(float)0.75); Dri...
public Ext2FileSystem(Device device) throws FileSystemException{ if(device==null) throw new FileSystemException("null device!"); this.device = device; closed = false; byte data[]; //points to the byte where the fs metadata parsing has reached long byteIndex; cache = new BlockCache(50,(float)0.75); Dri...
21,668
public Ext2FileSystem(Device device) throws FileSystemException{ if(device==null) throw new FileSystemException("null device!"); this.device = device; closed = false; byte data[]; //points to the byte where the fs metadata parsing has reached long byteIndex; cache = new BlockCache(50,(float)0.75); Dri...
public Ext2FileSystem(Device device) throws FileSystemException{ if(device==null) throw new FileSystemException("null device!"); this.device = device; closed = false; byte data[]; //points to the byte where the fs metadata parsing has reached long byteIndex; cache = new BlockCache(50,(float)0.75); Dri...
21,669
public Ext2FileSystem(Device device) throws FileSystemException{ if(device==null) throw new FileSystemException("null device!"); this.device = device; closed = false; byte data[]; //points to the byte where the fs metadata parsing has reached long byteIndex; cache = new BlockCache(50,(float)0.75); Dri...
public Ext2FileSystem(Device device) throws FileSystemException{ if(device==null) throw new FileSystemException("null device!"); this.device = device; closed = false; byte data[]; //points to the byte where the fs metadata parsing has reached long byteIndex; cache = new BlockCache(50,(float)0.75); Dri...
21,670
public Ext2FileSystem(Device device) throws FileSystemException{ if(device==null) throw new FileSystemException("null device!"); this.device = device; closed = false; byte data[]; //points to the byte where the fs metadata parsing has reached long byteIndex; cache = new BlockCache(50,(float)0.75); Dri...
public Ext2FileSystem(Device device) throws FileSystemException{ if(device==null) throw new FileSystemException("null device!"); this.device = device; closed = false; byte data[]; //points to the byte where the fs metadata parsing has reached long byteIndex; cache = new BlockCache(50,(float)0.75); Dri...
21,671
public Ext2FileSystem(Device device) throws FileSystemException{ if(device==null) throw new FileSystemException("null device!"); this.device = device; closed = false; byte data[]; //points to the byte where the fs metadata parsing has reached long byteIndex; cache = new BlockCache(50,(float)0.75); Dri...
public Ext2FileSystem(Device device) throws FileSystemException{ if(device==null) throw new FileSystemException("null device!"); this.device = device; closed = false; byte data[]; //points to the byte where the fs metadata parsing has reached long byteIndex; cache = new BlockCache(50,(float)0.75); Dri...
21,672
public byte[] getBlock(long nr) throws IOException{ int blockSize = superblock.getBlockSize(); Block result; Integer key=new Integer((int)nr); //check if the block has already been retrieved if(cache.containsKey(key)) result=(Block)cache.get(key); else{ byte[] data = new byte[blockSize]; pdriver.read( n...
public byte[] getBlock(long nr) throws IOException{ int blockSize = superblock.getBlockSize(); Block result; Integer key=new Integer((int)nr); //check if the block has already been retrieved if(cache.containsKey(key)) result=(Block)cache.get(key); else{ byte[] data = new byte[blockSize]; pdriver.read( n...
21,673
protected void calculateTabRects(int tabPlacement, int tabCount) { Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Dimension size = tabPane.getSize(); // The coordinates of the upper left corner of the tab area. int x; int y; //...
protected void calculateTabRects(int tabPlacement, int tabCount) { Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Dimension size = tabPane.getSize(); // The coordinates of the upper left corner of the tab area. int x; int y; //...
21,674
protected void calculateTabRects(int tabPlacement, int tabCount) { Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Dimension size = tabPane.getSize(); // The coordinates of the upper left corner of the tab area. int x; int y; //...
protected void calculateTabRects(int tabPlacement, int tabCount) { Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Dimension size = tabPane.getSize(); // The coordinates of the upper left corner of the tab area. int x; int y; //...
21,675
protected void calculateTabRects(int tabPlacement, int tabCount) { Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Dimension size = tabPane.getSize(); // The coordinates of the upper left corner of the tab area. int x; int y; //...
protected void calculateTabRects(int tabPlacement, int tabCount) { Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Dimension size = tabPane.getSize(); // The coordinates of the upper left corner of the tab area. int x; int y; //...
21,676
protected void calculateTabRects(int tabPlacement, int tabCount) { Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Dimension size = tabPane.getSize(); // The coordinates of the upper left corner of the tab area. int x; int y; //...
protected void calculateTabRects(int tabPlacement, int tabCount) { Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Dimension size = tabPane.getSize(); // The coordinates of the upper left corner of the tab area. int x; int y; //...
21,677
protected void calculateTabRects(int tabPlacement, int tabCount) { Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Dimension size = tabPane.getSize(); // The coordinates of the upper left corner of the tab area. int x; int y; //...
protected void calculateTabRects(int tabPlacement, int tabCount) { Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Dimension size = tabPane.getSize(); // The coordinates of the upper left corner of the tab area. int x; int y; //...
21,678
protected int getTabRunOffset(int tabPlacement, int tabCount, int tabIndex, boolean forward) { int currRun = getRunForTab(tabCount, tabIndex); int offset; int nextRun = (forward) ? getNextTabRun(currRun) : getPreviousTabRun(currRun); if (tabPlacement == SwingConstants.TOP ...
protected int getTabRunOffset(int tabPlacement, int tabCount, int tabIndex, boolean forward) { int currRun = getRunForTab(tabCount, tabIndex); int offset; int nextRun = forward ? getNextTabRun(currRun) : getPreviousTabRun(currRun); if (tabPlacement == SwingConstants.TOP ...
21,679
protected void paintContentBorder(Graphics g, int tabPlacement, int selectedIndex) { int width = tabPane.getWidth(); int height = tabPane.getHeight(); Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); // Calculate coordinates...
protected void paintContentBorder(Graphics g, int tabPlacement, int selectedIndex) { int width = tabPane.getWidth(); int height = tabPane.getHeight(); Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); // Calculate coordinates...
21,680
protected void paintContentBorder(Graphics g, int tabPlacement, int selectedIndex) { int width = tabPane.getWidth(); int height = tabPane.getHeight(); Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); // Calculate coordinates...
protected void paintContentBorder(Graphics g, int tabPlacement, int selectedIndex) { int width = tabPane.getWidth(); int height = tabPane.getHeight(); Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); // Calculate coordinates...
21,681
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); boolean isScroll = tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT; // Please note: the ordering of the painting is important. // we WANT to pai...
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); boolean isScroll = tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT; // Please note: the ordering of the painting is important. // we WANT to pai...
21,682
protected VmType(String name, String superClassName, AbstractVmClassLoader loader, int accessFlags) { this(name, null, superClassName, loader, false, accessFlags, -1); }
protected VmType(String name, String superClassName, VmClassLoader loader, int accessFlags) { this(name, null, superClassName, loader, false, accessFlags, -1); }
21,683
public final synchronized int compileRuntime(int optLevel) { if (!isPrepared()) { throw new IllegalStateException("VmType must have been prepared"); } final VmMethod[] mt = this.methodTable; int compileCount = 0; if (mt != null) { final int count = mt.length; for (int i = 0; i < count; i++) { final VmMet...
public final synchronized int compileRuntime(int optLevel) { if (!isPrepared()) { throw new IllegalStateException("VmType must have been prepared"); } final VmMethod[] mt = this.methodTable; int compileCount = 0; if (mt != null) { final int count = mt.length; for (int i = 0; i < count; i++) { final VmMet...
21,684
private synchronized VmType doPrepare() { if (isPrepared()) { return this; } if (isPreparing()) { throw new Error("Recursive prepare in " + getName()); } modifiers |= Modifier.ACC_PREPARING; try { // Step 1a: Load the super class if ((superClass == null) && (superClassName != null)) { setSuperClass((V...
private synchronized VmType doPrepare() { if (isPrepared()) { return this; } if (isPreparing()) { throw new Error("Recursive prepare in " + getName()); } modifiers |= Modifier.ACC_PREPARING; try { // Step 1a: Load the super class if ((superClass == null) && (superClassName != null)) { setSuperClass((V...
21,685
public final AbstractVmClassLoader getLoader() { return loader; }
public final VmClassLoader getLoader() { return loader; }
21,686
public final static VmType[] initializeForBootImage(AbstractVmClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass("java.lang.Cloneable", false); SerializableClass = (VmInterfaceClass) clc.loadClass...
public final static VmType[] initializeForBootImage(VmClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass("java.lang.Cloneable", false); SerializableClass = (VmInterfaceClass) clc.loadClass("java.i...
21,688
public final void resolveCpRefs(AbstractVmClassLoader clc) { if (!resolvedCpRefs) { prepare(); if (superClass != null) { superClass.resolveCpRefs(clc); } /** * Step 2b: Load the classes of my fields */ final int fcnt = getNoDeclaredFields(); for (int i = 0; i < fcnt; i++) { final VmField fs = ...
public final void resolveCpRefs(VmClassLoader clc) { if (!resolvedCpRefs) { prepare(); if (superClass != null) { superClass.resolveCpRefs(clc); } /** * Step 2b: Load the classes of my fields */ final int fcnt = getNoDeclaredFields(); for (int i = 0; i < fcnt; i++) { final VmField fs = fieldTab...
21,689
protected synchronized void resolve(AbstractVmClassLoader cl) { try { type = new Signature(getSignature(), declaringClass.getLoader()).getType(); } catch (ClassNotFoundException ex) { throw (Error)new NoClassDefFoundError().initCause(ex); } }
protected synchronized void resolve(VmClassLoader cl) { try { type = new Signature(getSignature(), declaringClass.getLoader()).getType(); } catch (ClassNotFoundException ex) { throw (Error)new NoClassDefFoundError().initCause(ex); } }
21,691
protected synchronized void resolve(AbstractVmClassLoader cl) { resolveTypes(); }
protected synchronized void resolve(VmClassLoader cl) { resolveTypes(); }
21,692
protected JButton createDecreaseButton(int orientation) { if (decrButton == null) { decrButton = new JButton(); decrButton.setMargin(new Insets(0,0,0,0)); decrButton.setHorizontalAlignment(SwingConstants.CENTER); decrButton.setHorizontalTextPosition(SwingConstants.CENTER); de...
protected JButton createDecreaseButton(int orientation) { if (decrButton == null) { decrButton = new JButton(); decrButton.setMargin(new Insets(0,0,0,0)); decrButton.setHorizontalAlignment(SwingConstants.CENTER); decrButton.setHorizontalTextPosition(SwingConstants.CENTER); de...
21,693
protected JButton createDecreaseButton(int orientation) { if (decrButton == null) { decrButton = new JButton(); decrButton.setMargin(new Insets(0,0,0,0)); decrButton.setHorizontalAlignment(SwingConstants.CENTER); decrButton.setHorizontalTextPosition(SwingConstants.CENTER); de...
protected JButton createDecreaseButton(int orientation) { if (decrButton == null) { decrButton = new JButton(); decrButton.setMargin(new Insets(0,0,0,0)); decrButton.setHorizontalAlignment(SwingConstants.CENTER); decrButton.setHorizontalTextPosition(SwingConstants.CENTER); de...
21,694
protected JButton createIncreaseButton(int orientation) { if (incrButton == null) { incrButton = new JButton(); incrButton.setMargin(new Insets(0,0,0,0)); incrButton.setHorizontalAlignment(SwingConstants.CENTER); incrButton.setHorizontalTextPosition(SwingConstants.CENTER); in...
protected JButton createIncreaseButton(int orientation) { if (incrButton == null) { incrButton = new JButton(); incrButton.setMargin(new Insets(0,0,0,0)); incrButton.setHorizontalAlignment(SwingConstants.CENTER); incrButton.setHorizontalTextPosition(SwingConstants.CENTER); in...
21,695
protected JButton createIncreaseButton(int orientation) { if (incrButton == null) { incrButton = new JButton(); incrButton.setMargin(new Insets(0,0,0,0)); incrButton.setHorizontalAlignment(SwingConstants.CENTER); incrButton.setHorizontalTextPosition(SwingConstants.CENTER); in...
protected JButton createIncreaseButton(int orientation) { if (incrButton == null) { incrButton = new JButton(); incrButton.setMargin(new Insets(0,0,0,0)); incrButton.setHorizontalAlignment(SwingConstants.CENTER); incrButton.setHorizontalTextPosition(SwingConstants.CENTER); in...
21,696
public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize) { if (consumer != null) consumer.setPixels(x, y, w, h, model, pixels, offset, scansize); }
public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize) { if (consumer != null) consumer.setPixels((int) Math.floor(x/rx), (int) Math.floor(y/ry), (int) Math.ceil(w/rx), (int) Math.ceil(h/ry), model, destPixels, 0, destScansize); }
21,697
private StackTraceElement getCallerStackFrame() { Throwable t = new Throwable(); StackTraceElement[] stackTrace = t.getStackTrace(); int index = 0; // skip to stackentries until this class while(!stackTrace[index].getClassName().equals(getClass().getName())){index++;} // skip the stackentries of th...
private StackTraceElement getCallerStackFrame() { Throwable t = new Throwable(); StackTraceElement[] stackTrace = t.getStackTrace(); int index = 0; // skip to stackentries until this class while(index < stackTrace.length && !stackTrace[index].getClassName().equals(getClass().getName())) index++; //...
21,698
private StackTraceElement getCallerStackFrame() { Throwable t = new Throwable(); StackTraceElement[] stackTrace = t.getStackTrace(); int index = 0; // skip to stackentries until this class while(!stackTrace[index].getClassName().equals(getClass().getName())){index++;} // skip the stackentries of th...
private StackTraceElement getCallerStackFrame() { Throwable t = new Throwable(); StackTraceElement[] stackTrace = t.getStackTrace(); int index = 0; // skip to stackentries until this class while(!stackTrace[index].getClassName().equals(getClass().getName())){index++;} // skip the stackentries of th...
21,699
private StackTraceElement getCallerStackFrame() { Throwable t = new Throwable(); StackTraceElement[] stackTrace = t.getStackTrace(); int index = 0; // skip to stackentries until this class while(!stackTrace[index].getClassName().equals(getClass().getName())){index++;} // skip the stackentries of th...
private StackTraceElement getCallerStackFrame() { Throwable t = new Throwable(); StackTraceElement[] stackTrace = t.getStackTrace(); int index = 0; // skip to stackentries until this class while(!stackTrace[index].getClassName().equals(getClass().getName())){index++;} // skip the stackentries of th...
21,700
public void initialize(int keysize, SecureRandom random) { initialize(keysize, random); }
public void initialize(int keysize) { initialize(keysize, random); }
21,701
public void initialize(int keysize, SecureRandom random) { initialize(keysize, random); }
public void initialize(int keysize, SecureRandom random) { initialize(keysize, new SecureRandom()); }
21,702
public Insets getBorderInsets(Component c) { return getBorderInsets(c, null); }
public Insets getBorderInsets(Component c) { return borderInsets; }
21,703
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { boolean mouseIsOver = false; if (c instanceof AbstractButton) { ButtonModel bmodel = ((AbstractButton) c).getModel(); mouseIsOver = bmodel.isRollover(); } if (mouseIsOver) ...
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { boolean mouseIsOver = false; if (c instanceof AbstractButton) { ButtonModel bmodel = ((AbstractButton) c).getModel(); mouseIsOver = bmodel.isRollover(); } if (mouseIsOver) ...
21,704
static Border getToolbarButtonBorder() { if (toolbarButtonBorder == null) { Border outer = new ButtonBorder(); Border inner = new RolloverMarginBorder(); toolbarButtonBorder = new BorderUIResource.CompoundBorderUIResource (outer, inner); } return toolbarButtonBorder; }
static Border getToolbarButtonBorder() { if (toolbarButtonBorder == null) { Border outer = new ButtonBorder(); Border inner = new RolloverMarginBorder(); toolbarButtonBorder = new BorderUIResource.CompoundBorderUIResource (outer, inner); } return toolbarButtonBorder; }
21,705
protected ChangeListener createChangeListener() { return new ChangeListener() { public void stateChanged(ChangeEvent e) { AbstractButton.this.fireStateChanged(e); AbstractButton.this.repaint(); } }; }
protected ChangeListener createChangeListener() { return new ChangeListener() { public void stateChanged(ChangeEvent e) { AbstractButton.this.fireStateChanged(); AbstractButton.this.repaint(); } }; }
21,707
public void stateChanged(ChangeEvent e) { AbstractButton.this.fireStateChanged(e); AbstractButton.this.repaint(); }
public void stateChanged(ChangeEvent e) { AbstractButton.this.fireStateChanged(); AbstractButton.this.repaint(); }
21,708
public void fireActionPerformed(ActionEvent e) { e.setSource(this); EventListener[] ll = listenerList.getListeners(ActionListener.class); for (int i = 0; i < ll.length; i++) ((ActionListener)ll[i]).actionPerformed(e); }
public void fireActionPerformed(ActionEvent e) { e.setSource(this); EventListener[] ll = listenerList.getListeners(ActionListener.class); for (int i = 0; i < ll.length; i++) ((ActionListener)ll[i]).actionPerformed(e); }
21,709
public void fireItemStateChanged(ItemEvent e) { e.setSource(this); EventListener[] ll = listenerList.getListeners(ItemListener.class); for (int i = 0; i < ll.length; i++) ((ItemListener)ll[i]).itemStateChanged(e); }
public void fireItemStateChanged(ItemEvent e) { e.setSource(this); EventListener[] ll = listenerList.getListeners(ItemListener.class); for (int i = 0; i < ll.length; i++) ((ItemListener)ll[i]).itemStateChanged(e); }
21,710
public void fireStateChanged(ChangeEvent e) { EventListener[] ll = listenerList.getListeners(ChangeListener.class); for (int i = 0; i < ll.length; i++) ((ChangeListener)ll[i]).stateChanged(changeEvent); }
public void fireStateChanged() { EventListener[] ll = listenerList.getListeners(ChangeListener.class); for (int i = 0; i < ll.length; i++) ((ChangeListener)ll[i]).stateChanged(changeEvent); }
21,711
public void fireStateChanged(ChangeEvent e) { EventListener[] ll = listenerList.getListeners(ChangeListener.class); for (int i = 0; i < ll.length; i++) ((ChangeListener)ll[i]).stateChanged(changeEvent); }
public void fireStateChanged(ChangeEvent e) { EventListener[] ll = listenerList.getListeners(ChangeListener.class); for (int i = 0; i < ll.length; i++) ((ChangeListener)ll[i]).stateChanged(changeEvent); }
21,712
protected void init(String text, Icon icon) { this.text = text; default_icon = icon; model = new DefaultButtonModel(); actionListener = createActionListener(); changeListener = createChangeListener(); itemListener = createItemListener(); model.addActionListener(actionListener); model.addChange...
protected void init(String text, Icon icon) { this.text = text; default_icon = icon; model = new DefaultButtonModel(); actionListener = createActionListener(); changeListener = createChangeListener(); itemListener = createItemListener(); model.addActionListener(actionListener); model.addChange...
21,713
protected void init(String text, Icon icon) { this.text = text; default_icon = icon; model = new DefaultButtonModel(); actionListener = createActionListener(); changeListener = createChangeListener(); itemListener = createItemListener(); model.addActionListener(actionListener); model.addChange...
protected void init(String text, Icon icon) { this.text = text; default_icon = icon; model = new DefaultButtonModel(); actionListener = createActionListener(); changeListener = createChangeListener(); itemListener = createItemListener(); model.addActionListener(actionListener); model.addChange...
21,714
public void setBorderPainted(boolean b) { boolean old = borderPainted; borderPainted = b; if (b != old) { firePropertyChange(BORDER_PAINTED_CHANGED_PROPERTY, old, b); revalidate(); repaint(); } }
public void setBorderPainted(boolean b) { boolean old = borderPainted; borderPainted = b; if (b != old) { firePropertyChange(BORDER_PAINTED_CHANGED_PROPERTY, old, b); revalidate(); repaint(); } }
21,715
public void setBorderPainted(boolean b) { boolean old = borderPainted; borderPainted = b; if (b != old) { firePropertyChange(BORDER_PAINTED_CHANGED_PROPERTY, old, b); revalidate(); repaint(); } }
public void setBorderPainted(boolean b) { boolean old = borderPainted; borderPainted = b; if (b != old) { firePropertyChange(BORDER_PAINTED_CHANGED_PROPERTY, old, b); revalidate(); repaint();
21,716
public void setContentAreaFilled(boolean b) { boolean old = contentAreaFilled; contentAreaFilled = b; if (b != old) { firePropertyChange(CONTENT_AREA_FILLED_CHANGED_PROPERTY, old, b); revalidate(); repaint(); } }
public void setContentAreaFilled(boolean b) { boolean old = contentAreaFilled; contentAreaFilled = b; if (b != old) { firePropertyChange(CONTENT_AREA_FILLED_CHANGED_PROPERTY, old, b); revalidate(); repaint(); } }
21,717
public void setContentAreaFilled(boolean b) { boolean old = contentAreaFilled; contentAreaFilled = b; if (b != old) { firePropertyChange(CONTENT_AREA_FILLED_CHANGED_PROPERTY, old, b); revalidate(); repaint(); } }
public void setContentAreaFilled(boolean b) { boolean old = contentAreaFilled; contentAreaFilled = b; if (b != old) { firePropertyChange(CONTENT_AREA_FILLED_CHANGED_PROPERTY, old, b); revalidate(); repaint();
21,718
public void setDisabledSelectedIcon(Icon disabledSelectedIcon) { Icon old = disabledSelectedIcon; disabledSelectedIcon = disabledSelectedIcon; if (old != disabledSelectedIcon) { firePropertyChange(DISABLED_SELECTED_ICON_CHANGED_PROPERTY, old, disabledSelectedIcon); ...
public void setDisabledSelectedIcon(Icon icon) { Icon old = disabledSelectedIcon; disabledSelectedIcon = disabledSelectedIcon; if (old != disabledSelectedIcon) { firePropertyChange(DISABLED_SELECTED_ICON_CHANGED_PROPERTY, old, disabledSelectedIcon); revalidate(); ...
21,719
public void setDisabledSelectedIcon(Icon disabledSelectedIcon) { Icon old = disabledSelectedIcon; disabledSelectedIcon = disabledSelectedIcon; if (old != disabledSelectedIcon) { firePropertyChange(DISABLED_SELECTED_ICON_CHANGED_PROPERTY, old, disabledSelectedIcon); ...
public void setDisabledSelectedIcon(Icon disabledSelectedIcon) { Icon old = disabledSelectedIcon; disabledSelectedIcon = disabledSelectedIcon; if (old != disabledSelectedIcon) { firePropertyChange(DISABLED_SELECTED_ICON_CHANGED_PROPERTY, old, disabledSelectedIcon); ...
21,720
public void setDisabledSelectedIcon(Icon disabledSelectedIcon) { Icon old = disabledSelectedIcon; disabledSelectedIcon = disabledSelectedIcon; if (old != disabledSelectedIcon) { firePropertyChange(DISABLED_SELECTED_ICON_CHANGED_PROPERTY, old, disabledSelectedIcon); ...
public void setDisabledSelectedIcon(Icon disabledSelectedIcon) { Icon old = disabledSelectedIcon; disabledSelectedIcon = disabledSelectedIcon; if (old != disabledSelectedIcon) { firePropertyChange(DISABLED_SELECTED_ICON_CHANGED_PROPERTY, old, disabledSelectedIcon); ...
21,721
public void setDisplayedMnemonicIndex(int index) { if (index < -1 || (text != null && index >= text.length())) throw new IllegalArgumentException(); else mnemonicIndex = index; }
public void setDisplayedMnemonicIndex(int index) { if (index < -1 || (text != null && index >= text.length())) throw new IllegalArgumentException(); mnemonicIndex = index; }
21,722
public void setFocusPainted(boolean p) { boolean old = focusPainted; focusPainted = p; if (old != focusPainted) { firePropertyChange(FOCUS_PAINTED_CHANGED_PROPERTY, old, p); revalidate(); repaint(); } }
public void setFocusPainted(boolean p) { boolean old = focusPainted; focusPainted = p; if (old != focusPainted) { firePropertyChange(FOCUS_PAINTED_CHANGED_PROPERTY, old, p); revalidate(); repaint(); } }
21,723
public void setFocusPainted(boolean p) { boolean old = focusPainted; focusPainted = p; if (old != focusPainted) { firePropertyChange(FOCUS_PAINTED_CHANGED_PROPERTY, old, p); revalidate(); repaint(); } }
public void setFocusPainted(boolean p) { boolean old = focusPainted; focusPainted = p; if (old != focusPainted) { firePropertyChange(FOCUS_PAINTED_CHANGED_PROPERTY, old, p); revalidate(); repaint();
21,724
public void setHorizontalAlignment(int a) { int old = horizontalAlignment; horizontalAlignment = a; if (old != a) { firePropertyChange(HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, old, a); revalidate(); repaint(); } }
public void setHorizontalAlignment(int a) { int old = horizontalAlignment; horizontalAlignment = a; if (old != a) { firePropertyChange(HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, old, a); revalidate(); repaint(); } }
21,725
public void setHorizontalAlignment(int a) { int old = horizontalAlignment; horizontalAlignment = a; if (old != a) { firePropertyChange(HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, old, a); revalidate(); repaint(); } }
public void setHorizontalAlignment(int a) { int old = horizontalAlignment; horizontalAlignment = a; if (old != a) { firePropertyChange(HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, old, a); revalidate(); repaint();
21,726
public void setHorizontalTextPosition(int t) { int old = horizontalTextPosition; horizontalTextPosition = t; if (old != t) { firePropertyChange(HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY, old, t); revalidate(); repaint(); } }
public void setHorizontalTextPosition(int t) { int old = horizontalTextPosition; horizontalTextPosition = t; if (old != t) { firePropertyChange(HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY, old, t); revalidate(); repaint(); } }
21,727
public void setHorizontalTextPosition(int t) { int old = horizontalTextPosition; horizontalTextPosition = t; if (old != t) { firePropertyChange(HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY, old, t); revalidate(); repaint(); } }
public void setHorizontalTextPosition(int t) { int old = horizontalTextPosition; horizontalTextPosition = t; if (old != t) { firePropertyChange(HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY, old, t); revalidate(); repaint();
21,728
public void setIcon(Icon i) { if (default_icon != i) { Icon old = default_icon; default_icon = i; firePropertyChange(ICON_CHANGED_PROPERTY, old, i); revalidate(); repaint(); } }
public void setIcon(Icon i) { if (default_icon != i) { Icon old = default_icon; default_icon = i; firePropertyChange(ICON_CHANGED_PROPERTY, old, i); revalidate(); repaint(); } }
21,729
public void setIcon(Icon i) { if (default_icon != i) { Icon old = default_icon; default_icon = i; firePropertyChange(ICON_CHANGED_PROPERTY, old, i); revalidate(); repaint(); } }
public void setIcon(Icon i) { if (default_icon != i) { Icon old = default_icon; default_icon = i; firePropertyChange(ICON_CHANGED_PROPERTY, old, i); revalidate(); repaint();
21,730
public void setIconTextGap(int i) { int old = iconTextGap; iconTextGap = i; if (old != i) { fireStateChanged(new ChangeEvent(this)); revalidate(); repaint(); } }
public void setIconTextGap(int i) { int old = iconTextGap; iconTextGap = i; if (old != i) { fireStateChanged(new ChangeEvent(this)); revalidate(); repaint(); } }
21,731
public void setIconTextGap(int i) { int old = iconTextGap; iconTextGap = i; if (old != i) { fireStateChanged(new ChangeEvent(this)); revalidate(); repaint(); } }
public void setIconTextGap(int i) { int old = iconTextGap; iconTextGap = i; if (old != i) { fireStateChanged(new ChangeEvent(this)); revalidate(); repaint();
21,732
public void setMargin(Insets m) { Insets old = margin; margin = m; if (m != old) { firePropertyChange(MARGIN_CHANGED_PROPERTY, old, m); revalidate(); repaint(); } }
public void setMargin(Insets m) { Insets old = margin; margin = m; if (m != old) { firePropertyChange(MARGIN_CHANGED_PROPERTY, old, m); revalidate(); repaint(); } }
21,733
public void setMargin(Insets m) { Insets old = margin; margin = m; if (m != old) { firePropertyChange(MARGIN_CHANGED_PROPERTY, old, m); revalidate(); repaint(); } }
public void setMargin(Insets m) { Insets old = margin; margin = m; if (m != old) { firePropertyChange(MARGIN_CHANGED_PROPERTY, old, m); revalidate(); repaint();
21,734
public void setPressedIcon(Icon pressedIcon) { Icon old = pressed_icon; pressed_icon = pressedIcon; if (pressed_icon != old) { firePropertyChange(PRESSED_ICON_CHANGED_PROPERTY, old, pressed_icon); revalidate(); repaint(); } }
public void setPressedIcon(Icon pressedIcon) { Icon old = pressed_icon; pressed_icon = pressedIcon; if (pressed_icon != old) { firePropertyChange(PRESSED_ICON_CHANGED_PROPERTY, old, pressed_icon); revalidate(); repaint(); } }
21,735
public void setPressedIcon(Icon pressedIcon) { Icon old = pressed_icon; pressed_icon = pressedIcon; if (pressed_icon != old) { firePropertyChange(PRESSED_ICON_CHANGED_PROPERTY, old, pressed_icon); revalidate(); repaint(); } }
public void setPressedIcon(Icon pressedIcon) { Icon old = pressed_icon; pressed_icon = pressedIcon; if (pressed_icon != old) { firePropertyChange(PRESSED_ICON_CHANGED_PROPERTY, old, pressed_icon); revalidate(); repaint();
21,736
public void setRolloverIcon(Icon r) { Icon old = rolloverIcon; rolloverIcon = r; if (old != rolloverIcon) { firePropertyChange(ROLLOVER_ICON_CHANGED_PROPERTY, old, rolloverIcon); revalidate(); repaint(); } }
public void setRolloverIcon(Icon r) { Icon old = rolloverIcon; rolloverIcon = r; if (old != rolloverIcon) { firePropertyChange(ROLLOVER_ICON_CHANGED_PROPERTY, old, rolloverIcon); revalidate(); repaint(); } }
21,737
public void setRolloverIcon(Icon r) { Icon old = rolloverIcon; rolloverIcon = r; if (old != rolloverIcon) { firePropertyChange(ROLLOVER_ICON_CHANGED_PROPERTY, old, rolloverIcon); revalidate(); repaint(); } }
public void setRolloverIcon(Icon r) { Icon old = rolloverIcon; rolloverIcon = r; if (old != rolloverIcon) { firePropertyChange(ROLLOVER_ICON_CHANGED_PROPERTY, old, rolloverIcon); revalidate(); repaint();
21,738
public void setRolloverSelectedIcon(Icon r) { Icon old = rolloverSelectedIcon; rolloverSelectedIcon = r; if (old != rolloverSelectedIcon) { firePropertyChange(ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY, old, rolloverSelectedIcon); revalidate(); repaint(); } }
public void setRolloverSelectedIcon(Icon r) { Icon old = rolloverSelectedIcon; rolloverSelectedIcon = r; if (old != rolloverSelectedIcon) { firePropertyChange(ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY, old, rolloverSelectedIcon); revalidate(); repaint(); } }
21,739
public void setRolloverSelectedIcon(Icon r) { Icon old = rolloverSelectedIcon; rolloverSelectedIcon = r; if (old != rolloverSelectedIcon) { firePropertyChange(ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY, old, rolloverSelectedIcon); revalidate(); repaint(); } }
public void setRolloverSelectedIcon(Icon r) { Icon old = rolloverSelectedIcon; rolloverSelectedIcon = r; if (old != rolloverSelectedIcon) { firePropertyChange(ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY, old, rolloverSelectedIcon); revalidate(); repaint();
21,740
public void setSelectedIcon(Icon s) { Icon old = selectedIcon; selectedIcon = s; if (old != selectedIcon) { firePropertyChange(SELECTED_ICON_CHANGED_PROPERTY, old, selectedIcon); revalidate(); repaint(); } }
public void setSelectedIcon(Icon s) { Icon old = selectedIcon; selectedIcon = s; if (old != selectedIcon) { firePropertyChange(SELECTED_ICON_CHANGED_PROPERTY, old, selectedIcon); revalidate(); repaint(); } }
21,741
public void setSelectedIcon(Icon s) { Icon old = selectedIcon; selectedIcon = s; if (old != selectedIcon) { firePropertyChange(SELECTED_ICON_CHANGED_PROPERTY, old, selectedIcon); revalidate(); repaint(); } }
public void setSelectedIcon(Icon s) { Icon old = selectedIcon; selectedIcon = s; if (old != selectedIcon) { firePropertyChange(SELECTED_ICON_CHANGED_PROPERTY, old, selectedIcon); revalidate(); repaint();
21,742
public void setText(String t) { String old = text; text = t; if (t != old) { firePropertyChange(TEXT_CHANGED_PROPERTY, old, t); revalidate(); repaint(); } }
public void setText(String t) { String old = text; text = t; if (t != old) { firePropertyChange(TEXT_CHANGED_PROPERTY, old, t); revalidate(); repaint(); } }
21,743
public void setText(String t) { String old = text; text = t; if (t != old) { firePropertyChange(TEXT_CHANGED_PROPERTY, old, t); revalidate(); repaint(); } }
public void setText(String t) { String old = text; text = t; if (t != old) { firePropertyChange(TEXT_CHANGED_PROPERTY, old, t); revalidate(); repaint();
21,744
public void setVerticalAlignment(int a) { int old = verticalAlignment; verticalAlignment = a; if (old != a) { firePropertyChange(VERTICAL_ALIGNMENT_CHANGED_PROPERTY, old, a); revalidate(); repaint(); } }
public void setVerticalAlignment(int a) { int old = verticalAlignment; verticalAlignment = a; if (old != a) { firePropertyChange(VERTICAL_ALIGNMENT_CHANGED_PROPERTY, old, a); revalidate(); repaint(); } }
21,745
public void setVerticalAlignment(int a) { int old = verticalAlignment; verticalAlignment = a; if (old != a) { firePropertyChange(VERTICAL_ALIGNMENT_CHANGED_PROPERTY, old, a); revalidate(); repaint(); } }
public void setVerticalAlignment(int a) { int old = verticalAlignment; verticalAlignment = a; if (old != a) { firePropertyChange(VERTICAL_ALIGNMENT_CHANGED_PROPERTY, old, a); revalidate(); repaint();
21,746
public void setVerticalTextPosition(int t) { int old = verticalTextPosition; verticalTextPosition = t; if (old != t) { firePropertyChange(VERTICAL_TEXT_POSITION_CHANGED_PROPERTY, old, t); revalidate(); repaint(); } }
public void setVerticalTextPosition(int t) { int old = verticalTextPosition; verticalTextPosition = t; if (old != t) { firePropertyChange(VERTICAL_TEXT_POSITION_CHANGED_PROPERTY, old, t); revalidate(); repaint(); } }
21,747
public void setVerticalTextPosition(int t) { int old = verticalTextPosition; verticalTextPosition = t; if (old != t) { firePropertyChange(VERTICAL_TEXT_POSITION_CHANGED_PROPERTY, old, t); revalidate(); repaint(); } }
public void setVerticalTextPosition(int t) { int old = verticalTextPosition; verticalTextPosition = t; if (old != t) { firePropertyChange(VERTICAL_TEXT_POSITION_CHANGED_PROPERTY, old, t); revalidate(); repaint();
21,748
public Serializable read_value(InputStream input) { if (input instanceof noHeaderInput) { ((noHeaderInput) input).subsequentCalls = true; } component = arrayClass.getComponentType(); if (component.equals(byte.class)) return OctetSeqHelper.read(input); else if (component.equals(Strin...
public Serializable read_value(InputStream input) { if (input instanceof HeadlessInput) { ((noHeaderInput) input).subsequentCalls = true; } component = arrayClass.getComponentType(); if (component.equals(byte.class)) return OctetSeqHelper.read(input); else if (component.equals(Strin...
21,749
public Serializable read_value(InputStream input) { if (input instanceof noHeaderInput) { ((noHeaderInput) input).subsequentCalls = true; } component = arrayClass.getComponentType(); if (component.equals(byte.class)) return OctetSeqHelper.read(input); else if (component.equals(Strin...
public Serializable read_value(InputStream input) { if (input instanceof noHeaderInput) { ((HeadlessInput) input).subsequentCalls = true; } component = arrayClass.getComponentType(); if (component.equals(byte.class)) return OctetSeqHelper.read(input); else if (component.equals(Strin...
21,750
public Serializable read_value(InputStream input) { if (input instanceof noHeaderInput) { ((noHeaderInput) input).subsequentCalls = true; } component = arrayClass.getComponentType(); if (component.equals(byte.class)) return OctetSeqHelper.read(input); else if (component.equals(Strin...
public Serializable read_value(InputStream input) { if (input instanceof noHeaderInput) { ((noHeaderInput) input).subsequentCalls = true; } component = arrayClass.getComponentType(); if (component.equals(byte.class)) return OctetSeqHelper.read(input); else if (component.equals(Strin...
21,751
public static void main(String[] args) { try { String name = "/javax/swing/text/html/default.css"; InputStream in = CSSScanner.class.getResourceAsStream(name); BufferedInputStream bin = new BufferedInputStream(in); InputStreamReader r = new InputStreamReader(bin); CSSParser...
public static void main(String[] args) { try { String name = "/javax/swing/text/html/default.css"; in = CSSScanner.class.getResourceAsStream(name); } BufferedInputStream bin = new BufferedInputStream(in); InputStreamReader r = new InputStreamReader(bin); CSSParserCallback c...
21,752