Results 1 to 5 of 5
  1. #1
    java_novice is offline Member
    Join Date
    Aug 2007
    Posts
    2
    Rep Power
    0

    Default Same component on all JTabbedPane

    Hey
    I would like to know if it is possible to put a same component on all the Jtabs ? If we can could u plz guide me about how to do it???
    Thanks.

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

    Default

    is possible to put a same component on all the Jtabs
    No. You can add a component to only one container. If you add it to another container it is removed from the first container and added to the second container.

  3. #3
    jashutosh is offline Member
    Join Date
    Aug 2007
    Posts
    1
    Rep Power
    0

    Default

    But I believe this was allowed in JRE1.5 and below. Is it documented anywhere for JRE1.6 we can't use the same component?

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

    Default

    Look at the second bulleted paragraph (list item) on Using Top-Level Containers.

  5. #5
    java_novice is offline Member
    Join Date
    Aug 2007
    Posts
    2
    Rep Power
    0

Similar Threads

  1. Adding information to a JTable in a JTabbedPane
    By bigpappatrader in forum AWT / Swing
    Replies: 0
    Last Post: 12-05-2007, 07:09 AM
  2. Adding Tabs to JTabbedPane
    By blackstone in forum AWT / Swing
    Replies: 2
    Last Post: 11-14-2007, 03:15 PM
  3. help drag and drop in JTabbedPane
    By RO86 in forum AWT / Swing
    Replies: 0
    Last Post: 08-14-2007, 01:22 PM
  4. Help with JTabbedPane
    By lenny in forum SWT / JFace
    Replies: 1
    Last Post: 08-07-2007, 06:18 AM
  5. resize tabs in jtabbedpane
    By osval in forum New To Java
    Replies: 1
    Last Post: 08-02-2007, 03:02 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
  •