Menu

Tree has 2 getRootItem methods

pguih
2009-08-10
2013-04-24
  • pguih

    pguih - 2009-08-10

    Hi,

    thinwire.ui.Tree has 2 getRootItem methods and so cannot be used (as far as i can see).
    Not sure if this is a legitimate bug or just my setup?

    This is my code:
    . . . . .
    Tree vendors = new Tree();
    vendors.setBounds(30, 70, 200, 300);
    Tree.Item root = vendors.getRootItem();
    . . . . .

    My IDE is Eclipse for Java EE and it underlines the getRootItem() and gives the error "...is ambiguous for the type Tree".  When i look in the choices of methods and properties offered after typing vendors. i see there are two getRootItem()'s

    Any help would be appreciated.

     
    • pguih

      pguih - 2009-08-10

      Just saw the response - I'm having some trouble navigating the forums
      Thanks for the help

       

Log in to post a comment.