We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Select the next tab of a panel in java

mn202
mn202 asked
on
Medium Priority
586 Views
Last Modified: 2013-12-14
Hi everyone, I am new to java and would appreciate some help.I have created an application with net beans that includes a jtabbedpanel and  has 3 panels . The user is supposed to fill in some information in the first panel then move to the the second panel and finally to the third.My question is what code should I include in the "next button" so that the user the user doesn't have to move between tabs manually. Thank you in advance.
Comment
Watch Question

Awarded 2011
Awarded 2011

Commented:
Awarded 2011
Awarded 2011
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Awarded 2011
Awarded 2011

Commented:
You probably want to check if the index does not reach
 getTabCount() and if it does  go back to tab number 0

Author

Commented:
Yes, that did it! Thank you very much, I was a bit stuck there.
Awarded 2011
Awarded 2011

Commented:
You are always welcome
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.