Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2013
    Posts
    12
    Rep Power
    0

    Default how to switch to jtabbedpane 's tabb from a tabb of another jtabbedpane

    hi friends!

    can u help me to guide me how for example i may use a button which is in tabb1 of jtabbedpane1 to switch on tabb1 of jtabbedpane3?
    it is going to help me alot in my project.

    thnx!

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,889
    Rep Power
    8

    Default Re: how to switch to jtabbedpane 's tabb from a tabb of another jtabbedpane

    You have to have a reference to jtabbedpane3 inside the ActionListener of your button in jtappedpane1.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Join Date
    Nov 2013
    Posts
    12
    Rep Power
    0

    Default Re: how to switch to jtabbedpane 's tabb from a tabb of another jtabbedpane

    Quote Originally Posted by KevinWorkman View Post
    You have to have a reference to jtabbedpane3 inside the ActionListener of your button in jtappedpane1.
    thnx!kevin

Similar Threads

  1. Replies: 5
    Last Post: 11-14-2013, 02:53 PM
  2. Replies: 3
    Last Post: 11-13-2013, 03:04 PM
  3. What Event Can Act only on Selected jTabbedPane Among jTabbedPane's
    By raj.mscking@gmail.com in forum AWT / Swing
    Replies: 1
    Last Post: 05-18-2012, 04:39 PM
  4. Using JtabbedPane
    By simmi in forum AWT / Swing
    Replies: 9
    Last Post: 03-24-2010, 12:24 PM
  5. How to use JTabbedPane
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-27-2008, 07:50 PM

Posting Permissions

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