Results 1 to 6 of 6
  1. #1
    blu_fox88 is offline Member
    Join Date
    Feb 2010
    Posts
    9
    Rep Power
    0

    Default Working with Tabbedpane

    If i have say 3 tabs on a pane...When I click the "next" button on the first tab it should take me to the second one..how do I go about doing that???

  2. #2
    camickr is offline Senior Member
    Join Date
    Jul 2009
    Posts
    1,236
    Rep Power
    7

    Default

    a) Get the selected index
    b) add 1 to it
    c) set the selected index

  3. #3
    blu_fox88 is offline Member
    Join Date
    Feb 2010
    Posts
    9
    Rep Power
    0

    Default

    How do i do that in code???

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    The API will show you the methods that can be called on a JTabbedPane. Using this and camickr's suggestion should get you started. If your code still doesn't work, then why not post a small compilable program here that shows your attempt and let's see what can be done with it. Much luck.

  5. #5
    programmer_007's Avatar
    programmer_007 is offline Senior Member
    Join Date
    Aug 2009
    Posts
    125
    Rep Power
    0

    Default

    lihongwei
    Member

    Join Date: Dec 2009
    Posts: 8
    Rep Power: 0

    Do you know nike
    Here is a nike air rift Nike shoes. Inspired by barefoot runners of Kenya, this trainer/racer offers lightweight flexibility and natural motion. It has the following features: a split toe creates a powerful push-off; four-way stretch mesh ensures a superior fit with moisture-wicking ability; an articulated forefoot enhances balance, control and power; sculpted Phylon midsole cradles the foot, and a heel Air-Sole unit provides impact protection; BRS 1000 Waffle outsole offers primo cushioning, traction and durability. Durable. Versatile. Revolutionary. nike shox r4 was the first air technology developed at Nike, and it changed the way we think about cushioning: encapsulated air to cushion the footstrike in athletic shoes. It remains the standard in impact protection more than 20 years after its debut. It?s great and comfortable using forrunning and walking, nike air max ltdPlease see the pictures for more details. They are the model in the picture. Welcome visit to AirShooes,Free shipping,Accept Paypal,Nike Shox R4 ,Nike Shox NZ ,Puma Shoes,Nike Air Max TN,Nike shoes,Nike Air Rift,Nike Air Max 360,Nike Air Max 95,NIKE SHOX Torch,nike max shoes,UGG boots, AirShooes,Free shipping,Accept Paypal,Nike Shox R4 ,Nike
    __________________
    Airtnfr.Com:Livraison gratuite toutes les chaussures nike, nike air max, nike air max tn, nike shox r4, nike air max 2010, nike air max 2009 nike shox r3, Airtnfr.Com:Livraison gratuite toutes les chaussures nike, nike air max, nike air max tn, nike
    i see this reply on many threads !! whts goinf on with the forum..

  6. #6
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,662
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by programmer_007 View Post
    i see this reply on many threads !! whts goinf on with the forum..
    Another bloody spammer again; I already reported him. They're a nuisance.

    kind regards,

    Jos

Similar Threads

  1. How can I add popUp menu on a tab of a tabbedPane?
    By shahid0627 in forum AWT / Swing
    Replies: 1
    Last Post: 08-31-2009, 04:19 AM
  2. Another Color TabbedPane Example
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-26-2008, 07:37 PM
  3. Color TabbedPane Example
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-26-2008, 07:36 PM
  4. Replies: 8
    Last Post: 05-28-2008, 07:00 AM
  5. Help with tabbedpane
    By carl in forum AWT / Swing
    Replies: 1
    Last Post: 08-07-2007, 07:06 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
  •