Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Here i have developed a program...
so there is a login part on it.
actually its a desktop application..
when user input their user name and password
if its correct it will give an ability to access other tabs.
otherwise its not.

there are few tabs
tab1 - login
tab2 - service info
tab3 - customer info

so tab2 and 3 can access if user put correct input only.

basically i have Jtabbedpane and on the top of it i have 3 Jpanels

so i want to hide tab 2 and 3.
if tab1 okay button click, condition will decide if tab 2 and 3 accessable.

Java
public Visa_Request() {
        initComponents();
        visa_InfoPanel.setVisible(false);
        
        
    }


i just wanna know, is this procedure correct or not?
because my application won't give that hide ability.

please someone provide me an answer...
Posted
Updated 8-Dec-15 0:12am
v2
Comments
Richard MacCutchan 3-Dec-15 7:41am    
i just wanna know, is this procedure correct or not?

What happens when you run it?

1 solution

Actually nothing gonna happen?
it will visible to everyone?

Please provide me an answer as soon as possible....
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900