bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof Font)) return(false); Font f = (Font)obj; return (f.getName ().equals (this.getName ()) && f.getFamily ().equals (this.getFamily ()) && f.getFontName ().equals (this.getFontName ()) && f.getTransform ().equals ... | equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof Font)) return(false); Font f = (Font)obj; return (f.getName ().equals (this.getName ()) && f.getFamily ().equals (this.getFamily ()) && f.getFontName ().equals (this.getFontName ()) && f.getTransform ().equals ... | 55,422 |
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof Font)) return(false); Font f = (Font)obj; return (f.getName ().equals (this.getName ()) && f.getFamily ().equals (this.getFamily ()) && f.getFontName ().equals (this.getFontName ()) && f.getTransform ().equals ... | equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof Font)) return false; Font f = (Font)obj; return (f.getName ().equals (this.getName ()) && f.getFamily ().equals (this.getFamily ()) && f.getFontName ().equals (this.getFontName ()) && f.getTransform ().equals (... | 55,423 |
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof Font)) return(false); Font f = (Font)obj; return (f.getName ().equals (this.getName ()) && f.getFamily ().equals (this.getFamily ()) && f.getFontName ().equals (this.getFontName ()) && f.getTransform ().equals ... | equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof Font)) return false; Font f = (Font)obj; return (f.getName ().equals (this.getName ()) && f.getFamily ().equals (this.getFamily ()) && f.getFontName ().equals (this.getFontName ()) && f.getTransform ().equals (... | 55,424 |
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof Font)) return(false); Font f = (Font)obj; return (f.getName ().equals (this.getName ()) && f.getFamily ().equals (this.getFamily ()) && f.getFontName ().equals (this.getFontName ()) && f.getTransform ().equals ... | equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof Font)) return(false); Font f = (Font)obj; return (f.getName ().equals (this.getName ()) && f.getFamily ().equals (this.getFamily ()) && f.getFontName ().equals (this.getFontName ()) && f.getTransform ().equals ... | 55,425 |
protected static Font getFontFromToolkit (String name, Map attribs) { return tk ().getFont (name, attribs); } | static Font getFontFromToolkit(String name, Map attribs) { return tk ().getFont (name, attribs); } | 55,426 |
protected static ClasspathFontPeer getPeerFromToolkit (String name, Map attrs) { return tk ().getClasspathFontPeer (name, attrs); } | static ClasspathFontPeer getPeerFromToolkit(String name, Map attrs) { return tk ().getClasspathFontPeer (name, attrs); } | 55,427 |
public int getSize (){ return (int) peer.getSize (this);} | public int getSize (){ return (int) peer.getSize (this);} | 55,428 |
public float getSize2D (){ return peer.getSize (this);} | public float getSize2D (){ return peer.getSize (this);} | 55,429 |
protected static ClasspathToolkit tk () { return (ClasspathToolkit)(Toolkit.getDefaultToolkit ()); } | static ClasspathToolkit tk() { return (ClasspathToolkit)(Toolkit.getDefaultToolkit ()); } | 55,430 |
protected static ClasspathToolkit tk () { return (ClasspathToolkit)(Toolkit.getDefaultToolkit ()); } | protected static ClasspathToolkit tk () { return (ClasspathToolkit) Toolkit.getDefaultToolkit(); } | 55,431 |
toString(){ String styleString = ""; switch (getStyle ()) { case 0: styleString = "plain"; break; case 1: styleString = "bold"; break; case 2: styleString = "italic"; break; default: styleString = "unknown"; } return getClass ().getName () + "[family=" + getFa... | toString(){ String styleString = ""; switch (getStyle ()) { case 0: styleString = "plain"; break; case 1: styleString = "bold"; break; case 2: styleString = "italic"; break; default: styleString = "unknown"; } return getClass ().getName () + "[family=" + getFa... | 55,432 |
public ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length) throws NamingException; | ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length) throws NamingException; | 55,433 |
public byte[] getEncodedValue(); | public byte[] getEncodedValue(); | 55,434 |
public String getID(); | public String getID(); | 55,435 |
public synchronized void start() throws Exception { if (started) { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager()... | public synchronized void start() throws Exception { if (started) { return; }loadClientAOPConfig();loadServerAOPConfig();log.info(this + " starting");mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager(); jpm.start(); pm = jpm;txRepository = new TransactionRepository(pm); ... | 55,436 |
public synchronized void start() throws Exception { if (started) { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager()... | public synchronized void start() throws Exception { if (started) { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager()... | 55,437 |
public static Font getFont( Context c, Node e ) { //u.p("testing node: " + e); //Font f = c.getGraphics().getFont(); // if plain text then get the styling from the parent node if ( e.getNodeType() == e.TEXT_NODE ) { //u.p("it's a node"); Element el = (Element)e.getP... | publicstaticFontgetFont(Contextc,Nodee){//u.p("testingnode:"+e);//Fontf=c.getGraphics().getFont();//ifplaintextthengetthestylingfromtheparentnodeif(e.getNodeType()==e.TEXT_NODE){//u.p("it'sanode");Elementel=(Element)e.getParentNode();returngetElementFont(c,el);}if(e.getNodeType()==e.ELEMENT_NODE){Elementel=(Element)e;r... | 55,439 |
public static Font getFont( Context c, Node e ) { //u.p("testing node: " + e); //Font f = c.getGraphics().getFont(); // if plain text then get the styling from the parent node if ( e.getNodeType() == e.TEXT_NODE ) { //u.p("it's a node"); Element el = (Element)e.getP... | /* /* /* /* public/* static/* Font/* getFont(/* Context/* c,/* Node/* e/* )/* {/* /* /* /* /* /* /* /* //u.p("testing/* node:/* "/* +/* e);/* /* /* /* /* /* /* /* //Font/* f/* =/* c.getGraphics().getFont();/* /* /* /* /* /* /* /* ///* if/* plain/* text/* then/* get/* the/* styling/* from/* the/* parent/* node/* /* /* /... | 55,440 |
public static Font getFont( Context c, Node e ) { //u.p("testing node: " + e); //Font f = c.getGraphics().getFont(); // if plain text then get the styling from the parent node if ( e.getNodeType() == e.TEXT_NODE ) { //u.p("it's a node"); Element el = (Element)e.getP... | public static Font getFont( Context c, Node e ) { //u.p("testing node: " + e); //Font f = c.getGraphics().getFont(); // if plain text then get the styling from the parent node if ( e.getNodeType() == e.TEXT_NODE ) { //u.p("it's a node"); Element el = (Element)e.getP... | 55,441 |
protected List getBindings() throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); List list = new ArrayList(); try { conn = ds.getConnection(); ps = c... | protected List getBindings() throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); List list = new ArrayList(); try { conn = ds.getConnection(); ps = c... | 55,442 |
protected void insertBinding(Binding binding) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); ps = conn.prepareStatement(getSQLStatement("INSERT... | protected void insertBinding(Binding binding) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); ps = conn.prepareStatement(getSQLStatement("INSERT... | 55,443 |
public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Object o = i.next(); if (o inst... | public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Object o = i.next(); if (o inst... | 55,444 |
public MemoryDisplay() { super(); setLayout(new BorderLayout(5, 0)); panel = new MemoryPanel(); panel.setOpaque(false); invokeGC = new JLabel(gcIcon); invokeGC.setRequestFocusEnabled(false); invokeGC.setFocusable(false); setBorder(new EmptyBorder(1, 1, 1, 1)); invokeGC.setBorder(BorderFact... | public MemoryDisplay() { super(); setLayout(new BorderLayout(5, 0)); panel = new MemoryPanel(); panel.setOpaque(false); invokeGC = new JButton(gcIcon); invokeGC.setRequestFocusEnabled(false); invokeGC.setFocusable(false); setBorder(new EmptyBorder(1, 1, 1, 1)); invokeGC.setBorder(BorderFac... | 55,445 |
public MemoryDisplay() { super(); setLayout(new BorderLayout(5, 0)); panel = new MemoryPanel(); panel.setOpaque(false); invokeGC = new JLabel(gcIcon); invokeGC.setRequestFocusEnabled(false); invokeGC.setFocusable(false); setBorder(new EmptyBorder(1, 1, 1, 1)); invokeGC.setBorder(BorderFact... | public MemoryDisplay() { super(); setLayout(new BorderLayout(5, 0)); panel = new MemoryPanel(); panel.setOpaque(false); invokeGC = new JLabel(gcIcon); invokeGC.setRequestFocusEnabled(false); invokeGC.setFocusable(false); setBorder(new EmptyBorder(1, 1, 1, 1)); invokeGC.setBorder(BorderFact... | 55,446 |
public MemoryDisplay() { super(); setLayout(new BorderLayout(5, 0)); panel = new MemoryPanel(); panel.setOpaque(false); invokeGC = new JLabel(gcIcon); invokeGC.setRequestFocusEnabled(false); invokeGC.setFocusable(false); setBorder(new EmptyBorder(1, 1, 1, 1)); invokeGC.setBorder(BorderFact... | public MemoryDisplay() { super(); setLayout(new BorderLayout(5, 0)); panel = new MemoryPanel(); panel.setOpaque(false); invokeGC = new JLabel(gcIcon); invokeGC.setRequestFocusEnabled(false); invokeGC.setFocusable(false); setBorder(new EmptyBorder(1, 1, 1, 1)); invokeGC.setBorder(BorderFact... | 55,447 |
public synchronized void startService() throws Exception { super.startService(); try { postOffice = serverPeer.getTopicPostOfficeInstance(); destination.setPostOffice(postOffice); // We deploy any queues corresponding to pre-existing durable subscrip... | public synchronized void startService() throws Exception { super.startService(); try { postOffice = serverPeer.getTopicPostOfficeInstance(); destination.setPostOffice(postOffice); // We deploy any queues corresponding to pre-existing durable subscrip... | 55,448 |
public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ... | public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ... | 55,449 |
public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ... | public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ... | 55,450 |
public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ... | public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ... | 55,451 |
public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ... | public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ... | 55,452 |
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ClientConnectionFactoryDelegate cfd = (ClientConnectionFactoryDelegate)inv.getTargetObject(); ClientConnectionDelegate connectionDelegate = (ClientConnectionDelegate)inv.invokeNext(); connectionDelegate.init(); Stri... | public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ClientConnectionFactoryDelegate cfd = (ClientConnectionFactoryDelegate)inv.getTargetObject(); ClientConnectionDelegate connectionDelegate = (ClientConnectionDelegate)inv.invokeNext(); connectionDelegate.init(); Stri... | 55,453 |
public void testZeroExpiration() throws Exception { Message m = queueProducerSession.createMessage(); queueProducer.send(m); assertEquals(Long.MAX_VALUE, queueConsumer.receive().getJMSExpiration()); } | public void testZeroExpiration() throws Exception { Message m = queueProducerSession.createMessage(); queueProducer.send(m); assertEquals(0, queueConsumer.receive().getJMSExpiration()); } | 55,454 |
public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP... | public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP... | 55,455 |
public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP... | public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP... | 55,456 |
public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP... | public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP... | 55,457 |
public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP... | public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP... | 55,458 |
public void actionPerformed(ActionEvent e) { startEditing(editPath, EDIT); } | public void actionPerformed( ActionEvent e) { startEditing(editPath, EDIT); } | 55,459 |
public void actionPerformed(ActionEvent e) { startEditing(editPath, EDIT); } | public void actionPerformed(ActionEvent e) { startEditing(editPath, EDIT); } | 55,460 |
protected int getRowX(int row, int depth) { if (row == 0) return 0; return depth * rightChildIndent; } | protected int getRowX(int row, int depth) { if (row == 0) return 0; return depth * rightChildIndent; } | 55,462 |
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | 55,464 |
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | 55,465 |
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | 55,466 |
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | 55,467 |
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | 55,468 |
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | 55,469 |
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | 55,470 |
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | 55,471 |
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio... | 55,472 |
public void treeCollapsed(TreeExpansionEvent event) { validCachedPreferredSize = false; tree.repaint(); } | public void treeCollapsed(TreeExpansionEvent event) { validCachedPreferredSize = false; treeState.setExpandedState(event.getPath(), false); } | 55,473 |
public void treeExpanded(TreeExpansionEvent event) { validCachedPreferredSize = false; tree.repaint(); } | public void treeExpanded(TreeExpansionEvent event) { validCachedPreferredSize = false; treeState.setExpandedState(event.getPath(), true); } | 55,474 |
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath... | public void actionPerformed(ActionEvent e) { TreePath currentPath = tree.getLeadSelectionPath(); int currentRow; if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPa... | 55,475 |
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath... | public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (currentPath != null) currentRow = treeState.getRowForPath(currentPath); else currentRow = 0; int rows = treeState.getRowCount(); int nextRow = currentRow + 1; int prevRow = currentRow - ... | 55,476 |
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath... | public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath... | 55,477 |
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath... | public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { newPath = treeSt... | 55,478 |
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath... | public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath... | 55,479 |
public void treeStructureChanged(TreeModelEvent e) { if (e.getPath().length == 1 && !e.getPath()[0].equals(treeModel.getRoot())) tree.expandPath(new TreePath(treeModel.getRoot())); validCachedPreferredSize = false; tree.repaint(); } | public void treeStructureChanged(TreeModelEvent e) { if (e.getPath().length == 1 && ! e.getPath()[0].equals(treeModel.getRoot())) tree.expandPath(new TreePath(treeModel.getRoot())); validCachedPreferredSize = false; tree.repaint(); } | 55,483 |
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(treeModel.getRoot(), last); if (... | public void actionPerformed(ActionEvent e) { TreePath current = tree.getLeadSelectionPath(); if (current == null) return; if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(treeModel.getRoot(), last); ... | 55,485 |
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(treeModel.getRoot(), last); if (... | public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(treeModel.getRoot(), last); if (... | 55,486 |
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(treeModel.getRoot(), last); if (... | public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { Object node = current.getLastPathComponent(); int nc = treeModel.getChildCount(node); if (nc > 0) node = treeModel.getChild(n... | 55,487 |
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(treeModel.getRoot(), last); if (... | public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(treeModel.getRoot(), last); if (... | 55,488 |
public BasicTreeUI() { validCachedPreferredSize = false; drawingCache = new Hashtable(); nodeDimensions = createNodeDimensions(); configureLayoutCache(); propertyChangeListener = createPropertyChangeListener(); focusListener = createFocusListener(); treeSelectionListener = createTreeSelectionLis... | public BasicTreeUI() { validCachedPreferredSize = false; drawingCache = new Hashtable(); nodeDimensions = createNodeDimensions(); configureLayoutCache(); propertyChangeListener = createPropertyChangeListener(); focusListener = createFocusListener(); treeSelectionListener = createTreeSelectionLis... | 55,489 |
private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DOWN_MASK; } if ((... | private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~ KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DOWN_MASK; } if (... | 55,491 |
private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DOWN_MASK; } if ((... | private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~ KeyEvent.CTRL_DOWN_MASK; } if (... | 55,492 |
private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DOWN_MASK; } if ((... | private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DOWN_MASK; } if ((... | 55,493 |
private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DOWN_MASK; } if ((... | private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DOWN_MASK; } if ((... | 55,494 |
private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DOWN_MASK; } if ((... | private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DOWN_MASK; } if ((... | 55,495 |
protected AbstractLayoutCache createLayoutCache() { return new FixedHeightLayoutCache(); } | protected AbstractLayoutCache createLayoutCache() { return new VariableHeightLayoutCache(); } | 55,496 |
protected void ensureRowsAreVisible(int beginRow, int endRow) { if (beginRow < endRow) { int temp = endRow; endRow = beginRow; beginRow = temp; } for (int i = beginRow; i < endRow; i++) { TreePath path = getPathForRow(tree, i); if (!tree.isVisible(path)) ... | protected void ensureRowsAreVisible(int beginRow, int endRow) { if (beginRow < endRow) { int temp = endRow; endRow = beginRow; beginRow = temp; } for (int i = beginRow; i < endRow; i++) { TreePath path = getPathForRow(tree, i); if (! tree.isVisible(path)) ... | 55,497 |
private Object findNode(Object root, Object node) { if (!treeModel.isLeaf(root) && !root.equals(node)) { int size = treeModel.getChildCount(root); for (int j = 0; j < size; j++) { Object child = treeModel.getChild(root, j); if (node.equals(child)) return root... | private Object findNode(Object root, Object node) { if (! treeModel.isLeaf(root) && ! root.equals(node)) { int size = treeModel.getChildCount(root); for (int j = 0; j < size; j++) { Object child = treeModel.getChild(root, j); if (node.equals(child)) return ro... | 55,498 |
void finish() { editingPath = null; editingRow = -1; stopEditingInCompleteEditing = false; isEditing = false; tree.removeAll(); validCachedPreferredSize = false; // Repaint the region, where was the editing component. tree.repaint(editingComponent.getParent().getBounds()); editingCompo... | void finish() { editingPath = null; editingRow = - 1; stopEditingInCompleteEditing = false; isEditing = false; tree.removeAll(); validCachedPreferredSize = false; // Repaint the region, where was the editing component. tree.repaint(editingComponent.getParent().getBounds()); editingComp... | 55,499 |
public TreePath getClosestPathForLocation(JTree tree, int x, int y) { int row = Math.round(y / getMaxHeight(tree)); TreePath path = getPathForRow(tree, row); // no row is visible at this node while (row > 0 && path == null) { --row; path = getPathForRow(tree, row); } return pat... | public TreePath getClosestPathForLocation(JTree tree, int x, int y) { int row = Math.round(y / getMaxHeight(tree)); TreePath path = getPathForRow(tree, row); // no row is visible at this node while (row > 0 && path == null) { --row; path = getPathForRow(tree, row); } return pat... | 55,500 |
private int getMaxHeight(JTree tree) { if (maxHeight != 0) return maxHeight; Icon e = UIManager.getIcon("Tree.openIcon"); Icon c = UIManager.getIcon("Tree.closedIcon"); Icon l = UIManager.getIcon("Tree.leafIcon"); int rc = getRowCount(tree); int iconHeight = 0; for (int row = 0; row < rc; r... | int getMaxHeight(JTree tree) { if (maxHeight != 0) return maxHeight; Icon e = UIManager.getIcon("Tree.openIcon"); Icon c = UIManager.getIcon("Tree.closedIcon"); Icon l = UIManager.getIcon("Tree.leafIcon"); int rc = getRowCount(tree); int iconHeight = 0; for (int row = 0; row < rc; row++) ... | 55,501 |
public Dimension getMaximumSize(JComponent c) { if (c instanceof JTree) return ((JTree) c).getPreferredSize(); return new Dimension(); } | public Dimension getMaximumSize(JComponent c) { if (c instanceof JTree) return ((JTree) c).getPreferredSize(); return new Dimension(); } | 55,502 |
public Dimension getMinimumSize(JComponent c) { Dimension min = getPreferredMinSize(); if (min == null) return new Dimension(); return min; } | public Dimension getMinimumSize(JComponent c) { Dimension min = getPreferredMinSize(); if (min == null) return new Dimension(); return min; } | 55,503 |
public Rectangle getPathBounds(JTree tree, TreePath path) { int row = -1; Object cell = null; if (path != null) { row = getRowForPath(tree, path); cell = path.getLastPathComponent(); } return nodeDimensions.getNodeDimensions(cell, row, getLevel(cell), ... | public Rectangle getPathBounds(JTree tree, TreePath path) { int row = -1; Object cell = null; if (path != null) { row = getRowForPath(tree, path); cell = path.getLastPathComponent(); } return nodeDimensions.getNodeDimensions(cell, row, getLevel(cell), ... | 55,504 |
public TreePath getPathForRow(JTree tree, int row) { if (treeModel != null && currentVisiblePath != null) { Object[] nodes = currentVisiblePath.getPath(); if (row < nodes.length) return new TreePath(getPathToRoot(nodes[row], 0)); } return null; } | public TreePath getPathForRow(JTree tree, int row) { if (treeModel != null && currentVisiblePath != null) { Object[] nodes = currentVisiblePath.getPath(); if (row < nodes.length) return new TreePath(getPathToRoot(nodes[row], 0)); } return null; } | 55,505 |
public int getRowCount(JTree tree) { if (currentVisiblePath != null) return currentVisiblePath.getPathCount(); return 0; } | public int getRowCount(JTree tree) { if (currentVisiblePath != null) return currentVisiblePath.getPathCount(); return 0; } | 55,507 |
public int getRowForPath(JTree tree, TreePath path) { int row = 0; Object dest = path.getLastPathComponent(); int rowCount = getRowCount(tree); if (currentVisiblePath != null) { Object[] nodes = currentVisiblePath.getPath(); while (row < rowCount) { if (dest.equals(... | public int getRowForPath(JTree tree, TreePath path) { int row = 0; Object dest = path.getLastPathComponent(); int rowCount = getRowCount(tree); if (currentVisiblePath != null) { Object[] nodes = currentVisiblePath.getPath(); while (row < rowCount) { if (dest.equals(... | 55,508 |
protected int getRowHeight() { return treeState.getRowHeight(); } | protected int getRowHeight() { return tree.getRowHeight(); } | 55,509 |
protected boolean isLocationInExpandControl(TreePath path, int mouseX, int mouseY) { boolean cntlClick = false; int row = getRowForPath(tree, path); if (!isLeaf(row)) { Rectangle bounds = getPathBounds(tree, path); if (hasControlIcons() ... | protected boolean isLocationInExpandControl(TreePath path, int mouseX, int mouseY) { boolean cntlClick = false; int row = getRowForPath(tree, path); if (! isLeaf(row)) { Rectangle bounds = getPathBounds(tree, path); if (hasControlIcons() ... | 55,511 |
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl... | public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(clip.x, clip.y); int en... | 55,512 |
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl... | public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null) { int startIndex = tree.getClosestRowForLocation(clip.x, clip.y); int endI... | 55,513 |
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl... | public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl... | 55,514 |
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl... | public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl... | 55,515 |
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl... | public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl... | 55,516 |
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... | 55,518 |
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... | 55,519 |
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... | 55,520 |
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... | 55,521 |
protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) { int max = tree.getVisibleRowCount(); for (int i = 0; i < max; i++) { Object curr = path.getPathComponent(i); TreePath currPath = new TreePath(getPath... | protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) { int max = tree.getVisibleRowCount(); for (int i = 0; i < max; i++) { Object curr = path.getPathComponent(i); TreePath currPath = new TreePath(getPath... | 55,522 |
protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) { int max = tree.getVisibleRowCount(); for (int i = 0; i < max; i++) { Object curr = path.getPathComponent(i); TreePath currPath = new TreePath(getPath... | protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) { int max = tree.getVisibleRowCount(); for (int i = 0; i < max; i++) { Object curr = path.getPathComponent(i); TreePath currPath = new TreePath(getPath... | 55,523 |
protected void setRowHeight(int rowHeight) { if (rowHeight == 0) rowHeight = Math.max(getMaxHeight(tree), 20); treeState.setRowHeight(rowHeight); } | protected void setRowHeight(int rowHeight) { if (rowHeight == 0) rowHeight = getMaxHeight(tree); treeState.setRowHeight(rowHeight); } | 55,528 |
protected boolean shouldPaintExpandControl(TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { Object node = path.getLastPathComponent(); return... | protected boolean shouldPaintExpandControl(TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { Object node = path.getLastPathComponent(); return... | 55,529 |
protected boolean startEditing(TreePath path, MouseEvent event) { // Force to recalculate the maximal row height. maxHeight = 0; // Force to recalculate the cached preferred size. validCachedPreferredSize = false; updateCellEditor(); TreeCellEditor ed = getCellEditor(); if (ed != null && ... | protected boolean startEditing(TreePath path, MouseEvent event) { // Force to recalculate the maximal row height. maxHeight = 0; // Force to recalculate the cached preferred size. validCachedPreferredSize = false; updateCellEditor(); TreeCellEditor ed = getCellEditor(); if (ed != null && ... | 55,530 |
public boolean stopEditing(JTree tree) { if (isEditing(tree)) { completeEditing(false, false, true); finish(); } return !isEditing(tree); } | public boolean stopEditing(JTree tree) { if (isEditing(tree)) { completeEditing(false, false, true); finish(); } return ! isEditing(tree); } | 55,531 |
protected void updateCachedPreferredSize() { int maxWidth = 0; updateCurrentVisiblePath(); boolean isLeaf = false; if (currentVisiblePath != null) { Object[] path = currentVisiblePath.getPath(); for (int i = 0; i < path.length; i++) { TreePath curr = new TreePat... | protected void updateCachedPreferredSize() { int maxWidth = 0; updateCurrentVisiblePath(); boolean isLeaf = false; if (currentVisiblePath != null) { Object[] path = currentVisiblePath.getPath(); for (int i = 0; i < path.length; i++) { TreePath curr = new TreePat... | 55,532 |
public static void load(InputStream is) throws FactoryException { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); DocumentBuilder db = null; try { db = dbf.newDocumentBuilder(); } catch... | public static void load(InputStream is) throws FactoryException { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); DocumentBuilder db = null; try { db = dbf.newDocumentBuilder(); } catch... | 55,536 |
ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool... | ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool... | 55,537 |
ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool... | ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool... | 55,538 |
ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool... | ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool... | 55,539 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.