Is it possible to attach components in Java Panel at run time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • akhilkes
    New Member
    • Aug 2006
    • 1

    Is it possible to attach components in Java Panel at run time

    i m working on a dynamic query analyzer , which process queries of user , is it possible to attach components in java panel at run time because i want the program process the query and generates the JTable at run time , what should i do perform the same task
  • Lukman
    New Member
    • Aug 2006
    • 8

    #2
    yeah...its very possible. All you have to do is that after the component has been added to the panel, call the repaint() method....

    Lukman

    Comment

    Working...