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

    Default how to code a button to switch a certain tab in the jtabbedpane

    hey Friends!

    i am develloping an application,that needs button on the first page( tab1),each button to
    switch a certain tab.

    thanks,hope that i will get soon ur reply

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    United States
    Posts
    2,931
    Rep Power
    4

    Default Re: how to code a button to switch a certain tab in the jtabbedpane

    First, you need to submit your code or reasonable attempt at writing the software. Second, that's what the tabs are for.

    Edit: double posted -->how to code a button to switch a certain tab in the jtabbedpane

    Regards,
    Jim
    Last edited by jim829; 11-13-2013 at 01:21 PM.
    The Java™ Tutorial | SSCCE | Java Naming Conventions
    Poor planning our your part does not constitute an emergency on my part.

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,083
    Rep Power
    4

    Default Re: how to code a button to switch a certain tab in the jtabbedpane

    EDIT: HA! I'm just an old man complaining. Moving along.
    Last edited by gimbal2; 11-13-2013 at 01:44 PM.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,450
    Rep Power
    18

    Default Re: how to code a button to switch a certain tab in the jtabbedpane

    I'll close this one then.
    Please do not ask for code as refusal often offends.

Similar Threads

  1. button to switch off or on for music backgroud
    By palie in forum New To Java
    Replies: 1
    Last Post: 03-28-2012, 01:32 AM
  2. How can I make tab button of Jtabbedpane biger
    By calippus in forum AWT / Swing
    Replies: 2
    Last Post: 06-22-2011, 09:40 PM
  3. Button in JTabbedPane
    By nik_meback in forum AWT / Swing
    Replies: 1
    Last Post: 12-27-2010, 11:07 PM
  4. Replies: 2
    Last Post: 02-05-2010, 11:47 PM
  5. Help with Switch string code
    By toby in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 06:00 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
  •