bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void setDocument(Document newdoc) { Document document = getDocument(); if (document == newdoc) return; setDocument(newdoc); firePropertyChange("document", document, newdoc); } | public void setDocument(Document newdoc) { Document document = getDocument(); if (document == newdoc) return; setDocument(newdoc); firePropertyChange("document", document, newdoc); } | 19,323 |
protected void setFormatter (AbstractFormatter formatter) { throw new InternalError ("not implemented"); } | protected void setFormatter (AbstractFormatter formatter) { AbstractFormatter oldFormatter = null; if (formatterFactory != null) oldFormatter = formatterFactory.getFormatter(this); if (oldFormatter == formatter) return; setFormatterFactory(new FormatterFactoryWrapper(formatter)); firePropertyChange("formatter"... | 19,324 |
public void setFormatterFactory (AbstractFormatterFactory factory) { throw new InternalError ("not implemented"); } | public void setFormatterFactory (AbstractFormatterFactory factory) { if (formatterFactory == factory) return; AbstractFormatterFactory oldFactory = formatterFactory; formatterFactory = factory; firePropertyChange("formatterFactory", oldFactory, factory); } | 19,325 |
public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAPublicKey)) { return false; } DSAPublicKey that = (DSAPublicKey) obj; return super.equals(that) && y.equals(that.getY()); } | public boolean equals(Object obj) if (obj == null) return false; } if (!(obj instanceof DSAPublicKey)) return false; } DSAPublicKey that = (DSAPublicKey) obj; return super.equals(that) && y.equals(that.getY()); } | 19,327 |
public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAPublicKey)) { return false; } DSAPublicKey that = (DSAPublicKey) obj; return super.equals(that) && y.equals(that.getY()); } | public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAPublicKey)) { return false; } DSAPublicKey that = (DSAPublicKey) obj; return super.equals(that) && y.equals(that.getY()); } | 19,328 |
public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAPublicKey)) { return false; } DSAPublicKey that = (DSAPublicKey) obj; return super.equals(that) && y.equals(that.getY()); } | public boolean equals(Object obj) { if (obj == null) { return false; if (!(obj instanceof DSAPublicKey)) { return false; DSAPublicKey that = (DSAPublicKey) obj; return super.equals(that) && y.equals(that.getY()); | 19,329 |
public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder(this.getClass().getName()).append("(") .append(super.toString()).append(",").append(ls) .append("y=0x").append(y.toString(16)).append(ls) .appen... | public String toString() { if (str == null) { String ls = (String) AccessController.doPrivileged (new GetPropertyAction("line.separator")); str = new StringBuilder(this.getClass().getName()).append("(") .append(super.toString()).append(",").append(ls) .append("y=0x").append(y.toSt... | 19,330 |
public static TypeCode type() { if (typecode == null) { ORB orb = Restricted_ORB.Singleton; typecode = orb.create_value_box_tc(id(), "WStringValue", twString); } return typecode; } | public static TypeCode type() { if (typecode == null) { ORB orb = OrbRestricted.Singleton; typecode = orb.create_value_box_tc(id(), "WStringValue", twString); } return typecode; } | 19,331 |
public void redo() { super.redo(); try { StringContent.this.insertString(this.start, this.redoContent); } catch (BadLocationException b) { throw new CannotRedoException(); } } | public void redo() { super.redo(); try { insertString(start, redoContent); redoContent = null; if (positions != null) { updateUndoPositions(positions); positions = null; } } catch (BadLocationException b) { throw new CannotRedoException(); } } | 19,332 |
public void undo() { super.undo(); try { StringContent.this.checkLocation(this.start, this.length); this.redoContent = new String(StringContent.this.content, this.start, this.length); StringContent.this.remove(this.start, this.length); } catch ... | public void undo() { super.undo(); try { StringContent.this.checkLocation(this.start, this.length); this.redoContent = new String(StringContent.this.content, this.start, this.length); StringContent.this.remove(this.start, this.length); } catch ... | 19,333 |
public void redo() { super.redo(); try { int end = this.undoString.length(); StringContent.this.remove(this.start, end); } catch (BadLocationException bad) { throw new CannotRedoException(); } } | public void redo() { super.redo(); try { int end = this.undoString.length(); StringContent.this.remove(this.start, end); } catch (BadLocationException bad) { throw new CannotRedoException(); } } | 19,335 |
public StickyPosition(int offset) { this.offset = offset; } | public StickyPosition(int offset) { garbageCollect(); mark = new Mark(offset); mark.refCount++; marks.add(mark); new WeakReference(this, queueOfDeath); } | 19,337 |
public int getOffset() { return offset < 0 ? 0 : offset; } | public int getOffset() { return mark.mark; } | 19,338 |
public Position createPosition(int offset) throws BadLocationException { if (offset < this.count || offset > this.count) checkLocation(offset, 0); StickyPosition sp = new StickyPosition(offset); this.positions.add(sp); return sp; } | public Position createPosition(int offset) throws BadLocationException { if (offset < this.count || offset > this.count) checkLocation(offset, 0); StickyPosition sp = new StickyPosition(offset); this.positions.add(sp); return sp; } | 19,339 |
public Position createPosition(int offset) throws BadLocationException { if (offset < this.count || offset > this.count) checkLocation(offset, 0); StickyPosition sp = new StickyPosition(offset); this.positions.add(sp); return sp; } | public Position createPosition(int offset) throws BadLocationException { if (offset < this.count || offset > this.count) checkLocation(offset, 0); StickyPosition sp = new StickyPosition(offset); return sp; } | 19,340 |
public void getChars(int where, int len, Segment txt) throws BadLocationException { checkLocation(where, len); txt.array = this.content; txt.offset = where; txt.count = len; } | public void getChars(int where, int len, Segment txt) throws BadLocationException { checkLocation(where, len); txt.array = this.content; txt.offset = where; txt.count = len; } | 19,341 |
protected Vector getPositionsInRange(Vector v, int offset, int length) { Vector refPos = new Vector(); Iterator iter = this.positions.iterator(); while(iter.hasNext()) { Position p = (Position) iter.next(); if ((o... | protected Vector getPositionsInRange(Vector v, int offset, int length) { Vector refPos = new Vector(); Iterator iter = this.positions.iterator(); while(iter.hasNext()) { Position p = (Position) iter.next(); if ((o... | 19,342 |
protected Vector getPositionsInRange(Vector v, int offset, int length) { Vector refPos = new Vector(); Iterator iter = this.positions.iterator(); while(iter.hasNext()) { Position p = (Position) iter.next(); if ((o... | protected Vector getPositionsInRange(Vector v, int offset, int length) { Vector refPos = new Vector(); Iterator iter = this.positions.iterator(); while(iter.hasNext()) { Position p = (Position) iter.next(); if ((o... | 19,343 |
public UndoableEdit insertString(int where, String str) throws BadLocationException { checkLocation(where, 0); if (where == this.count) throw new BadLocationException("Invalid location", 1); if (str == null) throw new NullPointerException(); char[] insert = str.toCharArray(); char[] temp ... | public UndoableEdit insertString(int where, String str) throws BadLocationException { checkLocation(where, 0); if (where == this.count) throw new BadLocationException("Invalid location", 1); if (str == null) throw new NullPointerException(); char[] insert = str.toCharArray(); char[] temp ... | 19,344 |
public UndoableEdit insertString(int where, String str) throws BadLocationException { checkLocation(where, 0); if (where == this.count) throw new BadLocationException("Invalid location", 1); if (str == null) throw new NullPointerException(); char[] insert = str.toCharArray(); char[] temp ... | public UndoableEdit insertString(int where, String str) throws BadLocationException { checkLocation(where, 0); if (where == this.count) throw new BadLocationException("Invalid location", 1); if (str == null) throw new NullPointerException(); char[] insert = str.toCharArray(); char[] temp ... | 19,345 |
public UndoableEdit insertString(int where, String str) throws BadLocationException { checkLocation(where, 0); if (where == this.count) throw new BadLocationException("Invalid location", 1); if (str == null) throw new NullPointerException(); char[] insert = str.toCharArray(); char[] temp ... | public UndoableEdit insertString(int where, String str) throws BadLocationException { checkLocation(where, 0); if (where == this.count) throw new BadLocationException("Invalid location", 1); if (str == null) throw new NullPointerException(); char[] insert = str.toCharArray(); char[] temp ... | 19,346 |
public int length() { return this.count; } | public int length() { return count; } | 19,348 |
public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | 19,349 |
public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | 19,350 |
public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | 19,351 |
public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | 19,352 |
private void createType(Map types, ConfigurationElement element) { final String className = element.getAttribute("class"); if (className != null) { try { final Object obj = Class.forName(className).newInstance(); final FileSystemType type = (FileSystemType)obj; types.put(type.getName(), type); } catch ... | private void createType(Map types, ConfigurationElement element) { final String className = element.getAttribute("class"); if (className != null) { try { final ClassLoader cl = Thread.currentThread().getContextClassLoader(); final Object obj = cl.loadClass(className).newInstance(); final FileSystemType type... | 19,354 |
protected byte[] getResult() { byte[] result = new byte[] { (byte) (h0 >>> 24), (byte) (h0 >>> 16), (byte) (h0 >>> 8), (byte) h0, (byte) (h1 >>> 24), (byte) (h1 >>> 16), (byte) (h1 >>> 8), (byte) h1, ... | protected byte[] getResult() { byte[] result = new byte[] { (byte) (h0 >>> 24), (byte) (h0 >>> 16), (byte) (h0 >>> 8), (byte) h0, (byte) (h1 >>> 24), (byte) (h1 >>> 16), (byte) (h1 >>> 8), (byte) h1, ... | 19,355 |
sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | private static synchronized final int[] sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 ... | 19,356 |
sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | 19,357 |
public void installUI(JComponent c) { super.installUI(c); installDefaults((JTree) c); tree = (JTree) c; cellEditor = createDefaultCellEditor(); currentCellRenderer = createDefaultCellRenderer(); rendererPane = createCellRendererPane(); createdRenderer = true; createdCellEditor = true; ... | public void installUI(JComponent c) { super.installUI(c); installDefaults((JTree) c); tree = (JTree) c; currentCellRenderer = createDefaultCellRenderer(); rendererPane = createCellRendererPane(); createdRenderer = true; createdCellEditor = true; TreeModel mod = tree.getModel(); set... | 19,359 |
public void installUI(JComponent c) { super.installUI(c); installDefaults((JTree) c); tree = (JTree) c; cellEditor = createDefaultCellEditor(); currentCellRenderer = createDefaultCellRenderer(); rendererPane = createCellRendererPane(); createdRenderer = true; createdCellEditor = true; ... | public void installUI(JComponent c) { super.installUI(c); installDefaults((JTree) c); tree = (JTree) c; cellEditor = createDefaultCellEditor(); currentCellRenderer = createDefaultCellRenderer(); rendererPane = createCellRendererPane(); createdRenderer = true; createdCellEditor = true; ... | 19,360 |
protected void installKeyboardActions() { } | protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap focusInputMap = (InputMap) defaults.get("Tree.focusInputMap"); InputMapUIResource parentInputMap = new InputMapUIResource(); ActionMap parentActionMap = new ActionMap(); action = new TreeAction(); Object keys[]... | 19,363 |
public abstract void addTreeModelListener(TreeModelListener listener); | void addTreeModelListener(TreeModelListener listener); | 19,364 |
public abstract Object getRoot(); | Object getRoot(); | 19,365 |
public abstract void removeTreeModelListener(TreeModelListener listener); | void removeTreeModelListener(TreeModelListener listener); | 19,366 |
public boolean implies(Permission perm) { SocketPermission p; // First make sure we are the right object type if (perm instanceof SocketPermission) p = (SocketPermission) perm; else return false; // Next check the actions String ourlist = getActions(); String theirlist = ... | public boolean implies(Permission perm) { SocketPermission p; // First make sure we are the right object type if (perm instanceof SocketPermission) p = (SocketPermission) perm; else return false; // Next check the actions String ourlist = getActions(); String theirlist = ... | 19,367 |
public Image getScaledInstance(int width, int height, int flags) { throw new Error("not implemented"); } | public Image getScaledInstance(int width, int height, int flags) { switch (flags) { case SCALE_DEFAULT: case SCALE_FAST: case SCALE_REPLICATE: ImageProducer producer = new FilteredImageSource(this.getSource(), new ReplicateScaleFilter(width, height)); return Toolkit.getDefaultToolkit().createImage(producer); case SCAL... | 19,369 |
private void paintNorthBorderFreeStanding(Graphics g, int w, int h) { if (isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(0, 0, w - 2, 0); g.drawLine(0, 0, 0, h - 1); g.drawLine(2, h - 1, w - 2, h - 1); g.drawLine(w - 2, 2, w - 2, h - 1); ... | private void paintNorthBorderFreeStanding(Graphics g, int w, int h) { if (isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(0, 0, w - 2, 0); g.drawLine(0, 0, 0, h - 1); g.drawLine(2, h - 1, w - 2, h - 1); g.drawLine(w - 2, 2, w - 2, h - 1); ... | 19,371 |
private void paintNorthBorderFreeStanding(Graphics g, int w, int h) { if (isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(0, 0, w - 2, 0); g.drawLine(0, 0, 0, h - 1); g.drawLine(2, h - 1, w - 2, h - 1); g.drawLine(w - 2, 2, w - 2, h - 1); ... | private void paintNorthBorderFreeStanding(Graphics g, int w, int h) { if (isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(0, 0, w - 2, 0); g.drawLine(0, 0, 0, h - 1); g.drawLine(2, h - 1, w - 2, h - 1); g.drawLine(w - 2, 2, w - 2, h - 1); ... | 19,372 |
protected int[] layerToRange (Integer layer) { int[] ret = new int[2]; ret[1] = getComponents ().length; Iterator i = layers.entrySet ().iterator (); while (i.hasNext()) { Map.Entry pair = (Map.Entry) i.next(); Integer layerNum = (Integer) pair.getKey (); Integer layerSz = (Integ... | protected int[] layerToRange (Integer layer) { int[] ret = new int[2]; ret[1] = getComponents ().length; Iterator i = layers.entrySet ().iterator (); while (i.hasNext()) { Map.Entry pair = (Map.Entry) i.next(); Integer layerNum = (Integer) pair.getKey (); Integer layerSz = (Integ... | 19,373 |
public void setPosition(Component c, int position) { Integer layer = getLayer (c); int[] range = layerToRange (layer); if (range[0] == range[1]) throw new IllegalArgumentException (); int top = range[0]; int bot = range[1]; if (position == -1) position = (bot - top) - 1; int targ = top +... | public void setPosition(Component c, int position) { Integer layer = getLayer (c); int[] range = layerToRange (layer); if (range[0] == range[1]) throw new IllegalArgumentException (); int top = range[0]; int bot = range[1]; if (position == -1) position = (bot - top) - 1; int targ = Math.... | 19,374 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 19,375 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 19,376 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 19,377 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 19,378 |
protected void doResolve(AbstractVmClassLoader clc) { getConstClass().resolve(clc); doResolveMember(clc); cachedHashCode = VmMember.calcHashCode(getName(), getSignature()); } | protected void doResolve(VmClassLoader clc) { getConstClass().resolve(clc); doResolveMember(clc); cachedHashCode = VmMember.calcHashCode(getName(), getSignature()); } | 19,379 |
protected abstract void doResolve(AbstractVmClassLoader clc); | protected abstract void doResolve(VmClassLoader clc); | 19,380 |
protected AccessibleJFileChooser(JFileChooser component) { super(component); // TODO } // AccessibleJFileChooser() | protected AccessibleJFileChooser(JFileChooser component) { super(component); // TODO } // AccessibleJFileChooser() | 19,381 |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJFileChooser(this); } // if return accessibleContext; } // getAccessibleContext() | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJFileChooser(this); } // if return accessibleContext; } // getAccessibleContext() | 19,382 |
public FSEntry getEntry(String name) throws IOException{ //parse the directory and search for the file FSEntryIterator iterator=iterator(); while(iterator.hasNext()) { FSEntry entry = (FSEntry)iterator.next(); if(entry.getName().equals(name)) return entry; } return null; } | public FSEntry getEntry(String name) throws IOException{ //parse the directory and search for the file FSEntryIterator iterator=iterator(); while(iterator.hasNext()) { FSEntry entry = iterator.next(); if(entry.getName().equals(name)) return entry; } return null; } | 19,383 |
public void read(long fileOffset, byte[] dest, int off, int len) throws IOException { //a single inode may be represented by more than one Ext2Directory instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getINode()), //so synchronize to the inode synchronized(iNode) { ... | public void read(long fileOffset, byte[] dest, int off, int len) throws IOException { //a single inode may be represented by more than one Ext2Directory instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getINode()), //so synchronize to the inode synchronized(iNode) { ... | 19,384 |
Test getNodeTest(Expr expr) { if (expr instanceof Selector) { Selector selector = (Selector) expr; Test[] tests = selector.getTests(); if (tests.length > 0) return tests[0]; } return null; } | Test getNodeTest(Expr expr) { if (expr instanceof Selector) { Selector selector = (Selector) expr; Test[] tests = selector.getTests(); if (tests.length > 0) return tests[0]; } return null; } | 19,385 |
public JIFSDirectory(String name) { this(); label = name; } | public JIFSDirectory(String name) { this(); label = name; } | 19,386 |
public long getLastModified() { return 0; } | public long getLastModified() { return System.currentTimeMillis(); } | 19,387 |
private static void adjustGreater(int allocated, SizeRequirements[] children, int[] spans, int span) { // Sum up (maxSize - prefSize) over all children int sumDelta = 0; for (int i = 0; i < children.length; i++) { sumDelta += children[i].maximum - children[i].pre... | private static void adjustGreater(int allocated, SizeRequirements[] children, int[] spans, int span) { // Sum up (maxSize - prefSize) over all children long sumDelta = 0; for (int i = 0; i < children.length; i++) { sumDelta += children[i].maximum - children[i].pr... | 19,388 |
private static void adjustGreater(int allocated, SizeRequirements[] children, int[] spans, int span) { // Sum up (maxSize - prefSize) over all children int sumDelta = 0; for (int i = 0; i < children.length; i++) { sumDelta += children[i].maximum - children[i].pre... | private static void adjustGreater(int allocated, SizeRequirements[] children, int[] spans, int span) { // Sum up (maxSize - prefSize) over all children int sumDelta = 0; for (int i = 0; i < children.length; i++) { sumDelta += children[i].maximum - children[i].pre... | 19,389 |
private static void adjustGreater(int allocated, SizeRequirements[] children, int[] spans, int span) { // Sum up (maxSize - prefSize) over all children int sumDelta = 0; for (int i = 0; i < children.length; i++) { sumDelta += children[i].maximum - children[i].pre... | private static void adjustGreater(int allocated, SizeRequirements[] children, int[] spans, int span) { // Sum up (maxSize - prefSize) over all children int sumDelta = 0; for (int i = 0; i < children.length; i++) { sumDelta += children[i].maximum - children[i].pre... | 19,390 |
getTiledSizeRequirements(SizeRequirements[] children) { SizeRequirements result = new SizeRequirements(); for (int i = 0; i < children.length; i++) { result.minimum += children[i].minimum; result.preferred += children[i].preferred; result.maximum += children[i].maximum; } retu... | getTiledSizeRequirements(SizeRequirements[] children) { long minimum = 0; long preferred = 0; long maximum = 0; for (int i = 0; i < children.length; i++) { result.minimum += children[i].minimum; result.preferred += children[i].preferred; result.maximum += children[i].maximum; } ... | 19,391 |
getTiledSizeRequirements(SizeRequirements[] children) { SizeRequirements result = new SizeRequirements(); for (int i = 0; i < children.length; i++) { result.minimum += children[i].minimum; result.preferred += children[i].preferred; result.maximum += children[i].maximum; } retu... | getTiledSizeRequirements(SizeRequirements[] children) { SizeRequirements result = new SizeRequirements(); for (int i = 0; i < children.length; i++) { result.minimum += children[i].minimum; result.preferred += children[i].preferred; result.maximum += children[i].maximum; } retu... | 19,392 |
private final boolean expect (String source, ParsePosition pos, char ch) { int x = pos.getIndex(); boolean r = x < source.length() && source.charAt(x) == ch; if (r) pos.setIndex(x + 1); else pos.setErrorIndex(x); return r; } | private boolean expect(String source, ParsePosition pos, char ch) { int x = pos.getIndex(); boolean r = x < source.length() && source.charAt(x) == ch; if (r) pos.setIndex(x + 1); else pos.setErrorIndex(x); return r; } | 19,394 |
final private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (ite... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 19,395 |
public final String getDisplayName(boolean dst, int style) { return (getDisplayName(dst, style, Locale.getDefault())); } | public final String getDisplayName(boolean dst, int style) { return (getDisplayName(dst, style, Locale.getDefault())); } | 19,396 |
public abstract Date parse (String source, ParsePosition pos); | public Date parse (String source) throws ParseException { ParsePosition pos = new ParsePosition(0); Date result = parse (source, pos); if (result == null) { int index = pos.getErrorIndex(); if (index < 0) index = pos.getIndex(); throw new ParseException("invalid Date syntax in \"" + source + '\"', index); } return re... | 19,397 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 19,398 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 19,399 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 19,400 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 19,401 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 19,402 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 19,403 |
protected GridBagLayoutInfo GetLayoutInfo (Container parent, int sizeflag) { if (sizeflag != MINSIZE && sizeflag != PREFERREDSIZE) throw new IllegalArgumentException(); Dimension parentDim = parent.getSize (); Insets parentInsets = parent.getInsets (); parentDim.width -= parentInsets.l... | protected GridBagLayoutInfo GetLayoutInfo (Container parent, int sizeflag) { if (sizeflag != MINSIZE && sizeflag != PREFERREDSIZE) throw new IllegalArgumentException(); Dimension parentDim = parent.getSize (); Insets parentInsets = parent.getInsets (); parentDim.width -= parentInsets.l... | 19,404 |
private void distributeSizeAndWeight (int size, double weight, int start, int span, int[] sizes, double[] weights) { if (span == 1) { sizes[start] = Math.max(sizes[start], size); weights[start] = Math.... | private void distributeSizeAndWeight (int size, double weight, int start, int span, int[] sizes, double[] weights) { if (span == 1) { sizes[start] = Math.max(sizes[start], size); weights[start] = Math.... | 19,405 |
public void propertyChange(PropertyChangeEvent e) { super.propertyChange(e); if (e.getPropertyName().equals( AbstractButton.ROLLOVER_ENABLED_CHANGED_PROPERTY)) { AbstractButton b = (AbstractButton) e.getSource(); if (b.getBorder() instanceof UIResource) { if (B... | public void propertyChange(PropertyChangeEvent e) { super.propertyChange(e); if (e.getPropertyName().equals( AbstractButton.ROLLOVER_ENABLED_CHANGED_PROPERTY)) { AbstractButton b = (AbstractButton) e.getSource(); if (b.getBorder() instanceof UIResource) { if (B... | 19,406 |
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab... | public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab... | 19,407 |
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab... | public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { int index = tabForCoordinate(tabPane, e.getX(), e.getY()); if (index >= 0 && tabPane.isEnable... | 19,408 |
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab... | public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab... | 19,409 |
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab... | public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab... | 19,410 |
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab... | public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tab... | 19,411 |
public void calculateLayoutInfo() { assureRectsCreated(tabPane.getTabCount()); contentRect = SwingUtilities.calculateInnerArea(tabPane, contentRect); calculateTabRects(tabPane.getTabPlacement(), tabPane.getTabCount()); if (tabPane.getSelectedIndex() != -1) { Component visible ... | public void calculateLayoutInfo() { assureRectsCreated(tabPane.getTabCount()); contentRect = SwingUtilities.calculateInnerArea(tabPane, contentRect); calculateTabRects(tabPane.getTabPlacement(), tabPane.getTabCount()); if (tabPane.getSelectedIndex() != -1) { Component visible ... | 19,412 |
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ... | protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ... | 19,413 |
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ... | protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ... | 19,414 |
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ... | protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ... | 19,415 |
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ... | protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ... | 19,416 |
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ... | protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ... | 19,417 |
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ... | protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ... | 19,418 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,419 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,420 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,421 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,422 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,423 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,424 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,425 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,426 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,427 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,428 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,429 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,430 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,431 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,432 |
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 19,433 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.