bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
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... | 34,468 |
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... | 34,469 |
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... | 34,470 |
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... | 34,471 |
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... | 34,472 |
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... | 34,473 |
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... | 34,474 |
public long getBlockSize() { return superblock.getBlockSize(); } | public long getBlockSize() { return superblock.getBlockSize(); } | 34,475 |
public INode getINode(int iNodeNr) throws IOException, FileSystemException{ if(iNodeNr<1) throw new IOException("INode number must be greater than 0"); int group = (int) ((iNodeNr-1) / superblock.getINodesPerGroup()); int index = (int) ((iNodeNr - 1) % superblock.getINodesPerGroup()); //get the part of the in... | public INode getINode(int iNodeNr) throws IOException, FileSystemException{ if(iNodeNr<1) throw new IOException("INode number must be greater than 0"); int group = (int) ((iNodeNr-1) / superblock.getINodesPerGroup()); int index = (int) ((iNodeNr - 1) % superblock.getINodesPerGroup()); //get the part of the in... | 34,476 |
public INode getINode(int iNodeNr) throws IOException, FileSystemException{ if(iNodeNr<1) throw new IOException("INode number must be greater than 0"); int group = (int) ((iNodeNr-1) / superblock.getINodesPerGroup()); int index = (int) ((iNodeNr - 1) % superblock.getINodesPerGroup()); //get the part of the in... | public INode getINode(int iNodeNr) throws IOException, FileSystemException{ if(iNodeNr<1) throw new IOException("INode number must be greater than 0"); int group = (int) ((iNodeNr-1) / superblock.getINodesPerGroup()); int index = (int) ((iNodeNr - 1) % superblock.getINodesPerGroup()); //get the part of the in... | 34,477 |
public INode getINode(int iNodeNr) throws IOException, FileSystemException{ if(iNodeNr<1) throw new IOException("INode number must be greater than 0"); int group = (int) ((iNodeNr-1) / superblock.getINodesPerGroup()); int index = (int) ((iNodeNr - 1) % superblock.getINodesPerGroup()); //get the part of the in... | public INode getINode(int iNodeNr) throws IOException, FileSystemException{ if(iNodeNr<1) throw new IOException("INode number must be greater than 0"); int group = (int) ((iNodeNr-1) / superblock.getINodesPerGroup()); int index = (int) ((iNodeNr - 1) % superblock.getINodesPerGroup()); //get the part of the in... | 34,478 |
public FSEntry getRootEntry() throws IOException { Ext2Debugger.debug("Ext2FileSystem.getRootEntry()",2); try{ if(!closed) { return new Ext2Entry( getINode(Ext2Constants.EXT2_ROOT_INO), "/", Ext2Constants.EXT2_FT_DIR ); } }catch(FileSystemException e) { throw new IOException(e); } return null; } | public FSEntry getRootEntry() throws IOException { Ext2Debugger.debug("Ext2FileSystem.getRootEntry()",2); try{ if(!closed) { return new Ext2Entry( getINode(Ext2Constants.EXT2_ROOT_INO), "/", Ext2Constants.EXT2_FT_DIR ); } }catch(FileSystemException e) { throw new IOException(e); } return null; } | 34,479 |
public FSEntry getRootEntry() throws IOException { Ext2Debugger.debug("Ext2FileSystem.getRootEntry()",2); try{ if(!closed) { return new Ext2Entry( getINode(Ext2Constants.EXT2_ROOT_INO), "/", Ext2Constants.EXT2_FT_DIR ); } }catch(FileSystemException e) { throw new IOException(e); } return null; } | public FSEntry getRootEntry() throws IOException { Ext2Debugger.debug("Ext2FileSystem.getRootEntry()",2); try{ if(!closed) { return new Ext2Entry( getINode(Ext2Constants.EXT2_ROOT_INO), "/", Ext2Constants.EXT2_FT_DIR ); } }catch(FileSystemException e) { throw new IOException(e); } return null; } | 34,480 |
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; Component c; Dimension dims; // Find out the minimum/preferred size to display the largest child // of the tabbed pane. for (int i = 0; i < tab... | protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; Component c; Dimension dims; // Find out the minimum/preferred size to display the largest child // of the tabbed pane. for (int i = 0; i < tab... | 34,481 |
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; //... | 34,482 |
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; //... | 34,483 |
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; //... | 34,484 |
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; //... | 34,485 |
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; //... | 34,486 |
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 ... | 34,487 |
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... | 34,488 |
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... | 34,489 |
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... | 34,490 |
protected VmType(String name, String superClassName, AbstractVmClassLoader loader, int accessFlags) { this(name, null, superClassName, loader, false, accessFlags, -1); } | protected VmType(String name, String superClassName, AbstractVmClassLoader loader, int accessFlags) { this(name, null, superClassName, loader, false, accessFlags, -1); } | 34,491 |
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... | 34,492 |
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... | 34,493 |
public final AbstractVmClassLoader getLoader() { return loader; } | public final AbstractVmClassLoader getLoader() { return loader; } | 34,494 |
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(AbstractVmClassLoader clc) throws ClassNotFoundException { ObjectClass = (VmNormalClass) clc.loadClass("java.lang.Object", false); CloneableClass = (VmInterfaceClass) clc.loadClass("java.lang.Cloneable", false); SerializableClass = (VmInterfaceClass) clc.loadClass... | 34,496 |
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(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 = ... | 34,497 |
public ExceptionInInitializerError(Throwable t) { super(null); initCause(t); exception = t; } | public ExceptionInInitializerError() { super(null); initCause(t); exception = t; } | 34,499 |
public ExceptionInInitializerError(Throwable t) { super(null); initCause(t); exception = t; } | public ExceptionInInitializerError(Throwable t) { super(null); initCause(t); exception = t; } | 34,500 |
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(AbstractVmClassLoader cl) { try { type = new Signature(getSignature(), declaringClass.getLoader()).getType(); } catch (ClassNotFoundException ex) { throw (Error)new NoClassDefFoundError().initCause(ex); } } | 34,501 |
protected synchronized void resolve(AbstractVmClassLoader cl) { resolveTypes(); } | protected synchronized void resolve(AbstractVmClassLoader cl) { resolveTypes(); } | 34,502 |
public void actionPerformed(ActionEvent e) { if (block) { // Only need to check it if it's block scrolling // We only block scroll if the click occurs // in the track. if (!trackListener.shouldScroll(direction)) { trackHighlight = NO_HIGHLIGHT; scrollbar.repaint(); re... | public void actionPerformed(ActionEvent e) { if (block) { // Only need to check it if it's block scrolling // We only block scroll if the click occurs // in the track. if (!trackListener.shouldScroll(direction)) { trackHighlight = NO_HIGHLIGHT; scrollbar.repaint(); re... | 34,503 |
public void mousePressed(MouseEvent e) { currentMouseX = e.getX(); currentMouseY = e.getY(); int value; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) value = valueForXPosition(currentMouseX); else value = valueForYPosition(currentMouseY); if (value == scrollbar.getVal... | public void mousePressed(MouseEvent e) { currentMouseX = e.getX(); currentMouseY = e.getY(); int value; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) value = valueForXPosition(currentMouseX); else value = valueForYPosition(currentMouseY); if (value == scrollbar.getVal... | 34,504 |
public boolean shouldScroll (int direction) { int value; if (scrollbar.getOrientation() == HORIZONTAL) value = valueForXPosition(currentMouseX); else value = valueForYPosition(currentMouseY); if (direction == POSITIVE_SCROLL) return (value > scrollbar.getValue()); el... | public boolean shouldScroll(int direction) { int value; if (scrollbar.getOrientation() == HORIZONTAL) value = valueForXPosition(currentMouseX); else value = valueForYPosition(currentMouseY); if (direction == POSITIVE_SCROLL) return (value > scrollbar.getValue()); els... | 34,505 |
private void calculatePreferredSize() { // System.err.println(this + ".calculatePreferredSize()"); int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().ge... | privatevoidcalculatePreferredSize(){//System.err.println(this+".calculatePreferredSize()");intheight;intwidth;height=width=0;if(scrollbar.getOrientation()==SwingConstants.HORIZONTAL){ width+=incrButton.getPreferredSize().getWidth(); width+=decrButton.getPreferredSize().getWidth(); width+=(scrollbar.getMaximum()-scrollb... | 34,506 |
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... | 34,507 |
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... | 34,508 |
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... | 34,509 |
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... | 34,510 |
protected Rectangle getThumbBounds() { int max = scrollbar.getMaximum(); int min = scrollbar.getMinimum(); int value = scrollbar.getValue(); int extent = scrollbar.getVisibleAmount(); // System.err.println(this + ".getThumbBounds()"); if (max == min) { thumbRect.x = trackRect.x; thumbR... | protectedRectanglegetThumbBounds(){intmax=scrollbar.getMaximum();intmin=scrollbar.getMinimum();intvalue=scrollbar.getValue();intextent=scrollbar.getVisibleAmount();//System.err.println(this+".getThumbBounds()");if(max==min){thumbRect.x=trackRect.x;thumbRect.y=trackRect.y;if(scrollbar.getOrientation()==HORIZONTAL){ thum... | 34,511 |
protected Rectangle getThumbBounds() { int max = scrollbar.getMaximum(); int min = scrollbar.getMinimum(); int value = scrollbar.getValue(); int extent = scrollbar.getVisibleAmount(); // System.err.println(this + ".getThumbBounds()"); if (max == min) { thumbRect.x = trackRect.x; thumbR... | protectedRectanglegetThumbBounds(){intmax=scrollbar.getMaximum();intmin=scrollbar.getMinimum();intvalue=scrollbar.getValue();intextent=scrollbar.getVisibleAmount();//System.err.println(this+".getThumbBounds()");if(max==min){thumbRect.x=trackRect.x;thumbRect.y=trackRect.y;if(scrollbar.getOrientation()==HORIZONTAL){ thum... | 34,512 |
protected Rectangle getThumbBounds() { int max = scrollbar.getMaximum(); int min = scrollbar.getMinimum(); int value = scrollbar.getValue(); int extent = scrollbar.getVisibleAmount(); // System.err.println(this + ".getThumbBounds()"); if (max == min) { thumbRect.x = trackRect.x; thumbR... | protected Rectangle getThumbBounds() { int max = scrollbar.getMaximum(); int min = scrollbar.getMinimum(); int value = scrollbar.getValue(); int extent = scrollbar.getVisibleAmount(); // System.err.println(this + ".getThumbBounds()"); if (max == min) { thumbRect.x = trackRect.x; thumbR... | 34,513 |
protected void paintIncreaseHighlight(Graphics g) { Color saved = g.getColor(); g.setColor(trackHighlightColor); if (scrollbar.getOrientation() == HORIZONTAL) g.fillRect(thumbRect.x + thumbRect.width, trackRect.y, trackRect.x + trackRect.width - thumbRect.x - thumbRect.width, ... | protected void paintIncreaseHighlight(Graphics g) { Color saved = g.getColor(); g.setColor(trackHighlightColor); if (scrollbar.getOrientation() == HORIZONTAL) g.fillRect(thumbRect.x + thumbRect.width, trackRect.y, trackRect.x + trackRect.width - thumbRect.x - thumbRect.width, ... | 34,514 |
protected void scrollByBlock(int direction) { scrollbar.setValue(scrollbar.getValue() + scrollbar.getBlockIncrement(direction)); } | protected void scrollByBlock(int direction) { scrollbar.setValue(scrollbar.getValue() + scrollbar.getBlockIncrement(direction)); } | 34,515 |
protected void scrollByUnit(int direction) { scrollbar.setValue(scrollbar.getValue() + scrollbar.getUnitIncrement(direction)); } | protected void scrollByUnit(int direction) { scrollbar.setValue(scrollbar.getValue() + scrollbar.getUnitIncrement(direction)); } | 34,516 |
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); } | 34,517 |
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++; /... | 34,518 |
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... | 34,519 |
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... | 34,520 |
public void initialize(int keysize, SecureRandom random) { initialize(keysize, random); } | public void initialize(int keysize) { initialize(keysize, random); } | 34,521 |
public void initialize(int keysize, SecureRandom random) { initialize(keysize, random); } | public void initialize(int keysize, SecureRandom random) { initialize(keysize, new SecureRandom()); } | 34,522 |
public int read() throws IOException { // FIXME: Implement me. throw new Error("not implemented"); } | public int read() throws IOException, NotImplementedException { // FIXME: Implement me. throw new Error("not implemented"); } | 34,523 |
public Insets getBorderInsets(Component c) { return getBorderInsets(c, null); } | public Insets getBorderInsets(Component c) { return borderInsets; } | 34,524 |
public Insets getBorderInsets(Component c) { return getBorderInsets(c, null); } | public Insets getBorderInsets(Component c) { return borderInsets; } | 34,525 |
public Insets getBorderInsets(Component c) { return getBorderInsets(c, null); } | public Insets getBorderInsets(Component c) { return borderInsets; } | 34,526 |
public Insets getBorderInsets(Component c) { return getBorderInsets(c, null); } | public Insets getBorderInsets(Component c) { return borderInsets; } | 34,527 |
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) ... | 34,528 |
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; } | 34,529 |
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(); } }; } | 34,531 |
public void stateChanged(ChangeEvent e) { AbstractButton.this.fireStateChanged(e); AbstractButton.this.repaint(); } | public void stateChanged(ChangeEvent e) { AbstractButton.this.fireStateChanged(); AbstractButton.this.repaint(); } | 34,532 |
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); } | 34,533 |
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); } | 34,534 |
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); } | 34,535 |
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); } | 34,536 |
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... | 34,537 |
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... | 34,538 |
public void setAction(Action a) { if (action != null) { action.removePropertyChangeListener(actionPropertyChangeListener); removeActionListener(action); if (actionPropertyChangeListener != null) { action.removePropertyChangeListener(actionPropertyChangeListener); ... | public void setAction(Action a){if (action != null){action.removePropertyChangeListener(actionPropertyChangeListener);removeActionListener(action);if (actionPropertyChangeListener != null){action.removePropertyChangeListener(actionPropertyChangeListener);actionPropertyChangeListener = null;}}Action old = action;action ... | 34,539 |
public void setAction(Action a) { if (action != null) { action.removePropertyChangeListener(actionPropertyChangeListener); removeActionListener(action); if (actionPropertyChangeListener != null) { action.removePropertyChangeListener(actionPropertyChangeListener); ... | publicvoidsetAction(Actiona){if(action!=null){action.removePropertyChangeListener(actionPropertyChangeListener);removeActionListener(action);if(actionPropertyChangeListener!=null){action.removePropertyChangeListener(actionPropertyChangeListener);actionPropertyChangeListener=null;}}Actionold=action;action=a;configurePro... | 34,540 |
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(); } } | 34,541 |
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(); } | 34,542 |
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(); } } | 34,543 |
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(); } | 34,544 |
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(); ... | 34,545 |
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); ... | 34,546 |
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); ... | 34,547 |
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; } | 34,548 |
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(); } } | 34,549 |
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(); } | 34,550 |
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(); } } | 34,551 |
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(); } | 34,552 |
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(); } } | 34,553 |
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(); } | 34,554 |
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(); } } | 34,555 |
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(); } | 34,556 |
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(); } } | 34,557 |
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(); } | 34,558 |
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(); } } | 34,559 |
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(); } | 34,560 |
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(); } } | 34,561 |
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(); } | 34,562 |
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(); } } | 34,563 |
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(); } | 34,564 |
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(); } } | 34,565 |
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(); } | 34,566 |
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(); } } | 34,567 |
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(); } | 34,568 |
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(); } } | 34,569 |
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(); } | 34,570 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.