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.
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...