Click here to Skip to main content
15,890,845 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
i have developed a program and it has a login panel and visa info panel.
visa panel only visible to users if user name and passwords are correct?

but i have tried to hide JPanel,
using setVisible option.
but it wont work. its still visible to everyone.

visaUser.java means my panel


Java
public Visa_Request() {
        initComponents();
        visaUsers.setVisible(false);
    
    }
Posted
Updated 9-Dec-15 0:10am
v2

1 solution

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