Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009
    Posts
    88
    Rep Power
    0

    Default get component from jtabbed pane

    how to get jtable from jtabbed pane i want to dump a copy of table from jtabbed pane plz help me out and the jtable is dynamically add.

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    The JTabbedPane class api has a method getComponentAt(int index) that returns a Component. You could call this and cast the return value to a JTable.

Similar Threads

  1. How to set the size of Drawing pane
    By cassysumandak in forum New To Java
    Replies: 2
    Last Post: 09-27-2009, 03:13 AM
  2. tabbed Pane .
    By programmer_007 in forum AWT / Swing
    Replies: 2
    Last Post: 09-03-2009, 08:52 PM
  3. [SOLVED] Mouse event in JTabbed Pane
    By javanewbie in forum AWT / Swing
    Replies: 6
    Last Post: 06-10-2009, 08:50 AM
  4. [SOLVED] Jtabbed pane hide a tab...?
    By prabhurangan in forum AWT / Swing
    Replies: 5
    Last Post: 08-26-2008, 08:31 AM
  5. Tabbed pane using struts 2.x......?
    By prabhurangan in forum Web Frameworks
    Replies: 1
    Last Post: 07-19-2008, 06:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •