pojo base tree structure

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sumancal
    New Member
    • Mar 2008
    • 4

    pojo base tree structure

    hallo guys,
    I am facing in a problem,
    i am creating a pojo thats take only name and i will take it in array list,
    and make a another class to make one jlable component.
    I Jtree which will populate through this pojo and component.
    please give opinion
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by sumancal
    hallo guys,
    I am facing in a problem,
    i am creating a pojo thats take only name and i will take it in array list,
    and make a another class to make one jlable component.
    I Jtree which will populate through this pojo and component.
    please give opinion
    Does a single POJO object store a single name? If so why are you feeding it with
    an entire list (of names?). Of course you can populate a JTable with those POJOs.

    kind regards,

    Jos

    Comment

    Working...