bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public final boolean dispatchEvent(Event event) throws EventException { DomEvent e = (DomEvent) event; DomNode[] ancestors = null; int ancestorMax = 0; boolean haveDispatchDataLock = false; if (e.type == null) { throw new DomEventException(); } e.doDefault = true; e.targe...
public final boolean dispatchEvent(Event event) throws EventException { DomEvent e = (DomEvent) event; DomNode[] ancestors = null; int ancestorMax = 0; boolean haveDispatchDataLock = false; if (e.type == null) { throw new DomEventException(); } e.doDefault = true; e.targe...
24,820
public final boolean dispatchEvent(Event event) throws EventException { DomEvent e = (DomEvent) event; DomNode[] ancestors = null; int ancestorMax = 0; boolean haveDispatchDataLock = false; if (e.type == null) { throw new DomEventException(); } e.doDefault = true; e.targe...
public final boolean dispatchEvent(Event event) throws EventException { DomEvent e = (DomEvent) event; DomNode[] ancestors = null; int ancestorMax = 0; boolean haveDispatchDataLock = false; if (e.type == null) { throw new DomEventException(); } e.doDefault = true; e.targe...
24,821
ActionMap createActionMap() { Action[] actions = textComponent.getActions(); ActionMap am = new ActionMap(); for (int i = 0; i < actions.length; ++i) { String name = (String) actions[i].getValue(Action.NAME); if (name != null) am.put(name, actions[i]); } return am; }
ActionMap createActionMap() { Action[] actions = textComponent.getActions(); ActionMap am = new ActionMapUIResource(); for (int i = 0; i < actions.length; ++i) { String name = (String) actions[i].getValue(Action.NAME); if (name != null) am.put(name, actions[i]); } return ...
24,822
protected String getKeymapName() { return "BasicTextUI"; }
protected String getKeymapName() { String fullClassName = getClass().getName(); int index = fullClassName.lastIndexOf('.'); String className = fullClassName.substring(index + 1); return className; }
24,823
public DefaultTreeCellRenderer() { // TODO } // DefaultTreeCellRenderer()
public DefaultTreeCellRenderer() { // TODO UIDefaults defaults = UIManager.getLookAndFeelDefaults(); setLeafIcon(getDefaultLeafIcon()); setOpenIcon(getDefaultOpenIcon()); setClosedIcon(getDefaultClosedIcon()); setTextNonSelectionColor(defaults.getColor("Tree.textForeground")); setTextSelectionColor(defaults.getColo...
24,824
public Color getBackgroundNonSelectionColor() { return null; // TODO } // getBackgroundNonSelectionColor()
public Color getBackgroundNonSelectionColor() { return null; // TODO } // getBackgroundNonSelectionColor()
24,825
public Color getBackgroundSelectionColor() { return null; // TODO } // getBackgroundSelectionColor()
public Color getBackgroundSelectionColor() { return null; // TODO } // getBackgroundSelectionColor()
24,826
public Color getBorderSelectionColor() { return null; // TODO } // getBorderSelectionColor()
public Color getBorderSelectionColor() { return null; // TODO } // getBorderSelectionColor()
24,827
public Icon getClosedIcon() { return null; // TODO } // getClosedIcon()
public Icon getClosedIcon() { return null; // TODO } // getClosedIcon()
24,828
public Icon getDefaultClosedIcon() { return null; // TODO } // getDefaultClosedIcon()
public Icon getDefaultClosedIcon() { return null; // TODO } // getDefaultClosedIcon()
24,829
public Icon getDefaultLeafIcon() { return null; // TODO } // getDefaultLeafIcon()
public Icon getDefaultLeafIcon() { return null; // TODO } // getDefaultLeafIcon()
24,830
public Icon getDefaultOpenIcon() { return null; // TODO } // getDefaultOpenIcon()
public Icon getDefaultOpenIcon() { return null; // TODO } // getDefaultOpenIcon()
24,831
public Icon getLeafIcon() { return null; // TODO } // getLeafIcon()
public Icon getLeafIcon() { return null; // TODO } // getLeafIcon()
24,832
public Icon getOpenIcon() { return null; // TODO } // getOpenIcon()
public Icon getOpenIcon() { return null; // TODO } // getOpenIcon()
24,833
public Color getTextNonSelectionColor() { return null; // TODO } // getTextNonSelectionColor()
public Color getTextNonSelectionColor() { return null; // TODO } // getTextNonSelectionColor()
24,834
public Color getTextSelectionColor() { return null; // TODO } // getTextSelectionColor()
public Color getTextSelectionColor() { return null; // TODO } // getTextSelectionColor()
24,835
public Component getTreeCellRendererComponent(JTree value0, Object value1, boolean value2, boolean value3, boolean value4, int value5, boolean value6) { return null; // TODO } // getTreeCellRendererComponent()
public Component getTreeCellRendererComponent(JTree value0, Object value1, boolean value2, boolean value3, boolean value4, int value5, boolean value6) { return null; // TODO } // getTreeCellRendererComponent()
24,836
public void paint(Graphics value0) { // TODO } // paint()
public void paint(Graphics value0) { // TODO } // paint()
24,837
public void setBackground(Color value0) { // TODO } // setBackground()
public void setBackground(Color value0) { // TODO } // setBackground()
24,838
public void setBackgroundNonSelectionColor(Color value0) { // TODO } // setBackgroundNonSelectionColor()
public void setBackgroundNonSelectionColor(Color value0) { // TODO } // setBackgroundNonSelectionColor()
24,839
public void setBackgroundSelectionColor(Color value0) { // TODO } // setBackgroundSelectionColor()
public void setBackgroundSelectionColor(Color value0) { // TODO } // setBackgroundSelectionColor()
24,840
public void setBorderSelectionColor(Color value0) { // TODO } // setBorderSelectionColor()
public void setBorderSelectionColor(Color value0) { // TODO } // setBorderSelectionColor()
24,841
public void setClosedIcon(Icon value0) { // TODO } // setClosedIcon()
public void setClosedIcon(Icon value0) { // TODO } // setClosedIcon()
24,842
public void setFont(Font value0) { // TODO } // setFont()
public void setFont(Font value0) { // TODO } // setFont()
24,843
public void setLeafIcon(Icon value0) { // TODO } // setLeafIcon()
public void setLeafIcon(Icon value0) { // TODO } // setLeafIcon()
24,844
public void setOpenIcon(Icon value0) { // TODO } // setOpenIcon()
public void setOpenIcon(Icon value0) { // TODO } // setOpenIcon()
24,845
public void setTextNonSelectionColor(Color value0) { // TODO } // setTextNonSelectionColor()
public void setTextNonSelectionColor(Color value0) { // TODO } // setTextNonSelectionColor()
24,846
public void setTextSelectionColor(Color value0) { // TODO } // setTextSelectionColor()
public void setTextSelectionColor(Color value0) { // TODO } // setTextSelectionColor()
24,847
private void boxEntries() { ArrayList parentFiles = new ArrayList(); File parent = filechooser.getCurrentDirectory(); if (parent == null) parent = filechooser.getFileSystemView().getDefaultDirectory(); while (parent != null) { String name = parent.getName(); if (name.equals("")) name = parent...
void boxEntries() { ArrayList parentFiles = new ArrayList(); File parent = filechooser.getCurrentDirectory(); if (parent == null) parent = filechooser.getFileSystemView().getDefaultDirectory(); while (parent != null) { String name = parent.getName(); if (name.equals("")) name = parent.getAbso...
24,848
private final void sendHelper(IPv4Header ipHdr, TCPHeader hdr, int dataOffset) throws SocketException { // Adjust the sequence numbers hdr.setSequenceNr(snd_next); if (hdr.isFlagSynchronizeSet() || hdr.isFlagFinishedSet()) { snd_next++; //snd_unack++; } e...
private final void sendHelper(IPv4Header ipHdr, TCPHeader hdr, int dataOffset) throws SocketException { // Adjust the sequence numbers hdr.setSequenceNr(snd_next); if (hdr.isFlagSynchronizeSet() || hdr.isFlagFinishedSet()) { snd_next++; //snd_unack++; } e...
24,850
public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals("model")) { ((BoundedRangeModel) e.getOldValue()).removeChangeListener(modelListener); scrollbar.getModel().addChangeListener(modelListener); getThumbBounds(); } else if (e.getPropertyName().equals("o...
public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals("model")) { ((BoundedRangeModel) e.getOldValue()).removeChangeListener(modelListener); scrollbar.getModel().addChangeListener(modelListener); getThumbBounds(); } else if (e.getPropertyName().equals("o...
24,851
protected JButton createDecreaseButton(int orientation) { if (decrButton == null) decrButton = new BasicArrowButton((orientation == SwingConstants.HORIZONTAL) ? SwingConstants.WEST : SwingConstants.NORTH); else { if (ori...
protected JButton createDecreaseButton(int orientation) { if (decrButton == null) decrButton = new BasicArrowButton((orientation == SwingConstants.HORIZONTAL) ? SwingConstants.WEST : SwingConstants.NORTH); else { if (ori...
24,852
protected JButton createDecreaseButton(int orientation) { if (decrButton == null) decrButton = new BasicArrowButton((orientation == SwingConstants.HORIZONTAL) ? SwingConstants.WEST : SwingConstants.NORTH); else { if (ori...
protected JButton createDecreaseButton(int orientation) { if (decrButton == null) decrButton = new BasicArrowButton((orientation == SwingConstants.HORIZONTAL) ? SwingConstants.WEST : SwingConstants.NORTH); else { if (ori...
24,853
protected JButton createIncreaseButton(int orientation) { if (incrButton == null) incrButton = new BasicArrowButton((orientation == SwingConstants.HORIZONTAL) ? SwingConstants.EAST : SwingConstants.SOUTH); else { if (ori...
protected JButton createIncreaseButton(int orientation) { if (incrButton == null) incrButton = new BasicArrowButton((orientation == SwingConstants.HORIZONTAL) ? SwingConstants.EAST : SwingConstants.SOUTH); else { if (ori...
24,854
protected JButton createIncreaseButton(int orientation) { if (incrButton == null) incrButton = new BasicArrowButton((orientation == SwingConstants.HORIZONTAL) ? SwingConstants.EAST : SwingConstants.SOUTH); else { if (ori...
protected JButton createIncreaseButton(int orientation) { if (incrButton == null) incrButton = new BasicArrowButton((orientation == SwingConstants.HORIZONTAL) ? SwingConstants.EAST : SwingConstants.SOUTH); else { if (ori...
24,855
protected void installComponents() { incrButton = createIncreaseButton(scrollbar.getOrientation()); scrollbar.add(incrButton); decrButton = createDecreaseButton(scrollbar.getOrientation()); scrollbar.add(decrButton); }
protected void installComponents() { int orientation = scrollbar.getOrientation(); switch (orientation) { case (JScrollBar.HORIZONTAL): incrButton = createIncreaseButton(EAST); decrButton = createDecreaseButton(WEST); break; default: incrButton = createIncreaseButton(SOUTH); decrButton = createDecreaseButton(NORT...
24,856
protected void installComponents() { incrButton = createIncreaseButton(scrollbar.getOrientation()); scrollbar.add(incrButton); decrButton = createDecreaseButton(scrollbar.getOrientation()); scrollbar.add(decrButton); }
protected void installComponents() { incrButton = createIncreaseButton(scrollbar.getOrientation()); scrollbar.add(incrButton); scrollbar.add(decrButton); }
24,857
public void installUI(JComponent c) { super.installUI(c); if (c instanceof JScrollBar) { scrollbar = (JScrollBar) c; trackRect = new Rectangle(); thumbRect = new Rectangle(); scrollTimer = new Timer(200, null); scrollTimer.setRepeats(true); installComponents(); installListeners(); installDefaults(); confi...
public void installUI(JComponent c) { super.installUI(c); if (c instanceof JScrollBar) { scrollbar = (JScrollBar) c; trackRect = new Rectangle(); thumbRect = new Rectangle(); scrollTimer = new Timer(200, null); scrollTimer.setRepeats(true); installComponents(); installDefaults(); configureScrollBarColors...
24,858
void paintBlit(Graphics g) { // We cannot perform blitted painting as it is described in Sun's API docs. // There it is suggested that this painting method should blit directly // on the parent window's surface. This is not possible because when using // Swing's double buffering (at least our implementat...
void paintBlit(Graphics g) { // We cannot perform blitted painting as it is described in Sun's API docs. // There it is suggested that this painting method should blit directly // on the parent window's surface. This is not possible because when using // Swing's double buffering (at least our implementat...
24,861
public void repaint(long tm, int x, int y, int w, int h) { Component parent = getParent(); if (parent != null) { parent.repaint(tm, x + getX(), y + getY(), w, h); } }
public void repaint(long tm, int x, int y, int w, int h) { Component parent = getParent(); if (parent != null) { parent.repaint(tm, x + getX(), y + getY(), w, h); } }
24,863
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
24,864
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
24,865
void paintCell(Graphics g, int row, int col, Rectangle bounds, TableCellRenderer rend, TableModel data, int rowLead, int colLead) { boolean rowSelAllowed = table.getRowSelectionAllowed(); boolean colSelAllowed = table.getColumnSelectionAllowed(); boolean isSel = false; if ...
void paintCell(Graphics g, int row, int col, Rectangle bounds, TableCellRenderer rend, TableModel data, int rowLead, int colLead) { boolean rowSelAllowed = table.getRowSelectionAllowed(); boolean colSelAllowed = table.getColumnSelectionAllowed(); boolean isSel = false; if ...
24,866
public void initialize(Frame awtComponent, SwingFramePeer peer) { this.awtFrame = awtComponent; this.swingPeer = peer; awtComponent.invalidate(); }
public void initialize(Frame awtComponent, SwingFramePeer peer) { this.awtFrame = awtComponent; this.swingPeer = peer; awtFrame.invalidate(); }
24,867
public SwingFrame(Frame awtFrame) { this.awtComponent = awtFrame; awtFrame.addWindowListener(this); }
public SwingFrame(Frame awtFrame) { this.awtComponent = awtFrame; addInternalFrameListener(this); }
24,868
public void validate() { if (awtComponent != null) { awtComponent.validate(); } super.validate(); }
public void validate() { if (awtComponent != null) { awtComponent.validate(); } }
24,869
public SwingFramePeer(SwingToolkit toolkit, final JDesktopPane desktopPane, Frame awtFrame) { super(toolkit, awtFrame, new SwingFrame(awtFrame)); jComponent.initialize(this); SwingToolkit.copyAwtProperties(awtFrame, this.jComponent); jComponent.getContentPane().setLayout(new SwingConta...
public SwingFramePeer(SwingToolkit toolkit, final JDesktopPane desktopPane, Frame awtFrame) { super(toolkit, awtFrame, new SwingFrame(awtFrame)); jComponent.initialize(this); SwingToolkit.copyAwtProperties(awtFrame, this.jComponent); jComponent.getContentPane().setLayout(new SwingConta...
24,870
public void setVisible(boolean b){ super.setVisible(b); toolkit.getAwtContext().getDesktop().repaint(); }
public void setVisible(boolean b){ super.setVisible(b); toolkit.getAwtContext().getDesktop().repaint(); }
24,872
protected Object readValue(Class valueClass) throws IOException, ClassNotFoundException { if(valueClass.isPrimitive()){ if(valueClass == Boolean.TYPE) return new Boolean(readBoolean()); if(valueClass == Byte.TYPE) return new Byte(readByte()); if(valueClass == Character.TYPE...
protected Object readValue(Class valueClass) throws IOException, ClassNotFoundException { if(valueClass.isPrimitive()){ if(valueClass == Boolean.TYPE) return Boolean.valueOf(readBoolean()); if(valueClass == Byte.TYPE) return new Byte(readByte()); if(valueClass == Character....
24,873
public final ByteBuffer encode (CharBuffer in) throws CharacterCodingException { // XXX: Sun's Javadoc seems to contradict itself saying an // IllegalStateException is thrown "if a decoding operation is already // in progress" and also that "it resets this Encoder". // Should we check to see that the ...
public final ByteBuffer encode (CharBuffer in) throws CharacterCodingException { // XXX: Sun's Javadoc seems to contradict itself saying an // IllegalStateException is thrown "if a decoding operation is already // in progress" and also that "it resets this Encoder". // Should we check to see that the ...
24,874
protected void fireTreeNodesChanged(Object value0, Object[] value1, int[] value2, Object[] value3) { // TODO } // fireTreeNodesChanged()
protected void fireTreeNodesChanged(Object value0, Object[] value1, int[] value2, Object[] value3) { // TODO } // fireTreeNodesChanged()
24,875
protected void fireTreeNodesInserted(Object value0, Object[] value1, int[] value2, Object[] value3) { // TODO } // fireTreeNodesInserted()
protected void fireTreeNodesInserted(Object value0, Object[] value1, int[] value2, Object[] value3) { // TODO } // fireTreeNodesInserted()
24,876
protected void fireTreeNodesRemoved(Object value0, Object[] value1, int[] value2, Object[] value3) { // TODO } // fireTreeNodesRemoved()
protected void fireTreeNodesRemoved(Object value0, Object[] value1, int[] value2, Object[] value3) { // TODO } // fireTreeNodesRemoved()
24,877
protected void fireTreeStructureChanged(Object value0, Object[] value1, int[] value2, Object[] value3) { // TODO } // fireTreeStructureChanged()
protected void fireTreeStructureChanged(Object value0, Object[] value1, int[] value2, Object[] value3) { // TODO } // fireTreeStructureChanged()
24,878
public EventListener[] getListeners(Class classType) { return listenerList.getListeners(classType); } // getListeners()
public EventListener[] getListeners(Class classType) { return listenerList.getListeners(classType); } // getListeners()
24,879
public final void visit_if_acmpeq(int address) { visit_if_xcmp(address, X86Constants.JE); // JE }
public final void visit_if_acmpeq(int address) { visit_if_acmp(address, X86Constants.JE); // JE }
24,880
public final void visit_if_acmpne(int address) { visit_if_xcmp(address, X86Constants.JNE); // JNE }
public final void visit_if_acmpne(int address) { visit_if_acmp(address, X86Constants.JNE); // JNE }
24,881
public final void visit_if_icmpeq(int address) { visit_if_xcmp(address, X86Constants.JE); // JE }
public final void visit_if_icmpeq(int address) { visit_if_icmp(address, X86Constants.JE); // JE }
24,882
public final void visit_if_icmpge(int address) { visit_if_xcmp(address, X86Constants.JGE); // JGE }
public final void visit_if_icmpge(int address) { visit_if_icmp(address, X86Constants.JGE); // JGE }
24,883
public final void visit_if_icmpgt(int address) { visit_if_xcmp(address, X86Constants.JG); // JG }
public final void visit_if_icmpgt(int address) { visit_if_icmp(address, X86Constants.JG); // JG }
24,884
public final void visit_if_icmple(int address) { visit_if_xcmp(address, X86Constants.JLE); // JLE }
public final void visit_if_icmple(int address) { visit_if_icmp(address, X86Constants.JLE); // JLE }
24,885
public final void visit_if_icmplt(int address) { visit_if_xcmp(address, X86Constants.JL); // JL }
public final void visit_if_icmplt(int address) { visit_if_icmp(address, X86Constants.JL); // JL }
24,886
public final void visit_if_icmpne(int address) { visit_if_xcmp(address, X86Constants.JNE); // JNE }
public final void visit_if_icmpne(int address) { visit_if_icmp(address, X86Constants.JNE); // JNE }
24,887
public final void visit_instanceof(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); RefItem v = vstack.popRef(); vstack.pushItem(v); /* Objectref is already on the stack */ writeResolveAndLoadClassToEAX(classRef, S0); final Label trueLabel = ...
public final void visit_instanceof(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); RefItem v = vstack.popRef(); v.release(eContext); /* Objectref is already on the stack */ writeResolveAndLoadClassToEAX(classRef, S0); final Label trueLabel =...
24,888
public final void visit_instanceof(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); RefItem v = vstack.popRef(); vstack.pushItem(v); /* Objectref is already on the stack */ writeResolveAndLoadClassToEAX(classRef, S0); final Label trueLabel = ...
public final void visit_instanceof(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); RefItem v = vstack.popRef(); vstack.pushItem(v); /* Objectref is already on the stack */ writeResolveAndLoadClassToEAX(classRef, S0); final Label trueLabel = ...
24,889
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); final int nofArgs = mts.getNoArguments(); for (int i = 0; i < nofArgs; i++) ...
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); final int nofArgs = mts.getNoArguments(); for (int i = 0; (!vstack.isEmpty()...
24,890
public final void visit_putstatic(VmConstFieldRef fieldRef) { //TODO: port to orp-style vstack.push(eContext); Item val = vstack.popItem(); val.release(eContext); fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); if (!s...
public final void visit_putstatic(VmConstFieldRef fieldRef) { //TODO: port to orp-style vstack.push(eContext); Item val = vstack.popItem(); val.release(eContext); fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); if (!s...
24,892
static boolean getBooleanProperty(String name, boolean defaultValue) { try { return (new Boolean(getLogManager().getProperty(name))).booleanValue(); } catch (Exception ex) { return defaultValue; } }
static boolean getBooleanProperty(String name, boolean defaultValue) { try { return (Boolean.valueOf(getLogManager().getProperty(name))).booleanValue(); } catch (Exception ex) { return defaultValue; } }
24,893
public Object decodeSignature(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger r, s; DERReader der = new DERReader(input); try { DERValue derSignature = der.read(); if (! (derSignature.getValue() instanceof BitStrin...
public Object decodeSignature(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger r, s; DERReader der = new DERReader(input); try { DERValue derSignature = der.read(); if (! (derSignature.getValue() instanceof BitStrin...
24,894
public byte[] encodeSignature(Object signature) { BigInteger[] rs = (BigInteger[]) signature; DERValue derR = new DERValue(DER.INTEGER, rs[0]); DERValue derS = new DERValue(DER.INTEGER, rs[1]); ArrayList dssSigValue = new ArrayList(2); dssSigValue.add(derR); dssSigValue.add(derS); DERValue derDs...
public byte[] encodeSignature(Object signature) { BigInteger[] rs = (BigInteger[]) signature; DERValue derR = new DERValue(DER.INTEGER, rs[0]); DERValue derS = new DERValue(DER.INTEGER, rs[1]); ArrayList dssSigValue = new ArrayList(2); dssSigValue.add(derR); dssSigValue.add(derS); DERValue derDs...
24,895
public JLabel() { this(null, null, CENTER); }
public JLabel() { this(null, null, LEADING); }
24,897
public Rectangle getNodeDimensions(Object cell, int row, int depth, boolean expanded, Rectangle size) { if (size == null || cell == null) return null; String s = cell.toString(); Font f = tree.getFont(); FontMetrics fm = tree.getToolkit().getFontMetr...
public Rectangle getNodeDimensions(Object cell, int row, int depth, boolean expanded, Rectangle size) { if (size == null || cell == null) return null; String s = cell.toString(); Font f = tree.getFont(); FontMetrics fm = tree.getToolkit().getFontMetr...
24,898
protected int getRowX(int row, int depth) { int iw = getCurrentControlIcon(null).getIconWidth(); return depth * (rightChildIndent + iw/2); }
protected int getRowX(int row, int depth) { int iw = getCurrentControlIcon(null).getIconWidth(); return depth * (rightChildIndent + iw/2); }
24,899
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null) { int startIndex = tree.getClosestRowForLocation(clip.x, clip.y); int endIndex = tree.getClosestRowForLocat...
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null) { int startIndex = tree.getClosestRowForLocation(clip.x, clip.y); int endIndex = tree.getClosestRowForLocat...
24,905
protected void paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boo...
protected void paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boo...
24,906
protected void paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boo...
protected void paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boo...
24,907
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
24,908
protected void updateRenderer() { if (tree != null) { if (tree.getCellRenderer() == null) { if (currentCellRenderer == null) currentCellRenderer = createDefaultCellRenderer(); tree.setCellRenderer(currentCellRenderer); } } }
protected void updateRenderer() { if (tree != null) { if (tree.getCellRenderer() == null) { if (currentCellRenderer == null) currentCellRenderer = createDefaultCellRenderer(); tree.setCellRenderer(currentCellRenderer); } } }
24,909
protected void updateRenderer() { if (tree != null) { if (tree.getCellRenderer() == null) { if (currentCellRenderer == null) currentCellRenderer = createDefaultCellRenderer(); tree.setCellRenderer(currentCellRenderer); } } }
protected void updateRenderer() { if (tree != null) { if (tree.getCellRenderer() == null) { if (currentCellRenderer == null) currentCellRenderer = createDefaultCellRenderer(); } } }
24,910
protected void updateRenderer() { if (tree != null) { if (tree.getCellRenderer() == null) { if (currentCellRenderer == null) currentCellRenderer = createDefaultCellRenderer(); tree.setCellRenderer(currentCellRenderer); } } }
protected void updateRenderer() { if (tree != null) { if (tree.getCellRenderer() == null) { if (currentCellRenderer == null) currentCellRenderer = createDefaultCellRenderer(); tree.setCellRenderer(currentCellRenderer); } } }
24,911
public org.omg.CORBA.portable.InputStream v_invoke(InvokeHandler handler) { if (handler == null) handler = object.getHandler(operation(), cookie, false); cdrBufOutput request_part = new cdrBufOutput(); request_part.setOrb(orb()); if (m_args != null && m_args.count() > 0) { write_paramete...
public org.omg.CORBA.portable.InputStream v_invoke(InvokeHandler handler) { if (handler == null) handler = object.getHandler(operation(), cookie, false); cdrBufOutput request_part = new cdrBufOutput(); request_part.setOrb(orb()); if (m_args != null && m_args.count() > 0) { write_paramete...
24,912
public AttributeSet copyAttributes() { return attributes.copyAttributes(); }
public AttributeSet copyAttributes() { NamedStyle copy = new NamedStyle(); copy.attributes = attributes.copyAttributes(); return copy; }
24,915
public void setName(String n) { name = n; fireStateChanged(); }
public void setName(String n) { name = n; fireStateChanged(); }
24,918
public void setResolveParent(AttributeSet parent) { if (parent != null) { attributes = StyleContext.this.addAttribute (attributes, ResolveAttribute, parent); } fireStateChanged(); }
public void setResolveParent(AttributeSet parent) { if (parent != null) { attributes = StyleContext.this.addAttribute (attributes, ResolveAttribute, parent); } fireStateChanged(); }
24,919
public String toString() { return ("[NamedStyle: name=" + name + ", attrs=" + attributes.toString() + "]"); }
public String toString() { return ("[NamedStyle: name=" + name + ", attrs=" + attributes.toString() + "]"); }
24,920
public SmallAttributeSet(AttributeSet a) { if (a == null) attrs = new Object[0]; else { int n = a.getAttributeCount(); int i = 0; attrs = new Object[n * 2]; Enumeration e = a.getAttributeNames(); while (e.hasMoreElements()) { ...
public SmallAttributeSet(AttributeSet a) { if (a == null) attrs = new Object[0]; else { int n = a.getAttributeCount(); int i = 0; attrs = new Object[n * 2]; Enumeration e = a.getAttributeNames(); while (e.hasMoreElements()) { ...
24,921
public SmallAttributeSet(AttributeSet a) { if (a == null) attrs = new Object[0]; else { int n = a.getAttributeCount(); int i = 0; attrs = new Object[n * 2]; Enumeration e = a.getAttributeNames(); while (e.hasMoreElements()) { ...
public SmallAttributeSet(AttributeSet a) { if (a == null) attrs = new Object[0]; else { int n = a.getAttributeCount(); int i = 0; attrs = new Object[n * 2]; Enumeration e = a.getAttributeNames(); while (e.hasMoreElements()) { ...
24,922
public Object clone() { return new SmallAttributeSet(this.attrs); }
public Object clone() { return this; }
24,923
public boolean containsAttribute(Object name, Object value) { for (int i = 0; i < attrs.length; i += 2) { if (attrs[i].equals(name) && attrs[i+1].equals(value)) return true; } return false; }
public boolean containsAttribute(Object name, Object value) { for (int i = 0; i < attrs.length; i += 2) { if (attrs[i].equals(name) && attrs[i+1].equals(value)) return true; } return false; }
24,924
public boolean containsAttributes(AttributeSet a) { Enumeration e = a.getAttributeNames(); while (e.hasMoreElements()) { Object name = e.nextElement(); Object val = a.getAttribute(name); if (!containsAttribute(name, val)) return false; } return t...
public boolean containsAttributes(AttributeSet a) { Enumeration e = a.getAttributeNames(); while (e.hasMoreElements() && res) { Object name = e.nextElement(); Object val = a.getAttribute(name); if (!containsAttribute(name, val)) return false; } r...
24,925
public boolean containsAttributes(AttributeSet a) { Enumeration e = a.getAttributeNames(); while (e.hasMoreElements()) { Object name = e.nextElement(); Object val = a.getAttribute(name); if (!containsAttribute(name, val)) return false; } return t...
public boolean containsAttributes(AttributeSet a) { Enumeration e = a.getAttributeNames(); while (e.hasMoreElements()) { Object name = e.nextElement(); Object val = a.getAttribute(name); if (!containsAttribute(name, val)) return false; } return t...
24,926
public boolean containsAttributes(AttributeSet a) { Enumeration e = a.getAttributeNames(); while (e.hasMoreElements()) { Object name = e.nextElement(); Object val = a.getAttribute(name); if (!containsAttribute(name, val)) return false; } return t...
public boolean containsAttributes(AttributeSet a) { Enumeration e = a.getAttributeNames(); while (e.hasMoreElements()) { Object name = e.nextElement(); Object val = a.getAttribute(name); if (!containsAttribute(name, val)) return false; } return r...
24,927
public AttributeSet copyAttributes() { return (AttributeSet) clone(); }
public AttributeSet copyAttributes() { return this; }
24,928
public boolean equals(Object obj) { return (obj instanceof AttributeSet) && this.isEqual((AttributeSet)obj); }
public boolean equals(Object obj) { return (obj instanceof AttributeSet) && this.isEqual((AttributeSet)obj); }
24,929
public Object getAttribute(Object key) { for (int i = 0; i < attrs.length; i += 2) { if (attrs[i].equals(key)) return attrs[i+1]; } // Check the resolve parent, unless we're looking for the // ResolveAttribute, which would cause an infinite loop ...
public Object getAttribute(Object key) { Object att = null; if (key == StyleConstants.ResolveAttribute) att = resolveParent; for (int i = 0; i < attrs.length && att == null; i += 2) { if (attrs[i].equals(key)) return attrs[i+1]; } // Check the resolve pare...
24,930
public Object getAttribute(Object key) { for (int i = 0; i < attrs.length; i += 2) { if (attrs[i].equals(key)) return attrs[i+1]; } // Check the resolve parent, unless we're looking for the // ResolveAttribute, which would cause an infinite loop ...
public Object getAttribute(Object key) { for (int i = 0; i < attrs.length; i += 2) { if (attrs[i].equals(key)) att = attrs[i + 1]; } // Check the resolve parent, unless we're looking for the // ResolveAttribute, which would cause an infinite loop ...
24,931
public Object getAttribute(Object key) { for (int i = 0; i < attrs.length; i += 2) { if (attrs[i].equals(key)) return attrs[i+1]; } // Check the resolve parent, unless we're looking for the // ResolveAttribute, which would cause an infinite loop ...
public Object getAttribute(Object key) { for (int i = 0; i < attrs.length; i += 2) { if (attrs[i].equals(key)) return attrs[i+1]; } // Check the resolve parent, unless we're looking for the // ResolveAttribute, which would cause an infinite loop ...
24,932
public Object getAttribute(Object key) { for (int i = 0; i < attrs.length; i += 2) { if (attrs[i].equals(key)) return attrs[i+1]; } // Check the resolve parent, unless we're looking for the // ResolveAttribute, which would cause an infinite loop ...
public Object getAttribute(Object key) { for (int i = 0; i < attrs.length; i += 2) { if (attrs[i].equals(key)) return attrs[i+1]; } // Check the resolve parent, unless we're looking for the // ResolveAttribute, which would cause an infinite loop ...
24,933
public Object getAttribute(Object key) { for (int i = 0; i < attrs.length; i += 2) { if (attrs[i].equals(key)) return attrs[i+1]; } // Check the resolve parent, unless we're looking for the // ResolveAttribute, which would cause an infinite loop ...
public Object getAttribute(Object key) { for (int i = 0; i < attrs.length; i += 2) { if (attrs[i].equals(key)) return attrs[i+1]; } // Check the resolve parent, unless we're looking for the // ResolveAttribute, which would cause an infinite loop ...
24,934
public AttributeSet getResolveParent() { return (AttributeSet) getAttribute(ResolveAttribute); }
public AttributeSet getResolveParent() { return resolveParent; }
24,935