Making textTextField's and JPasswordField's Visible on Event
I have come across what seems like it should be a trivial problem in my project:
I have set some of my fields on my GUI to invisible (with .setVisible(false);) in post-creation code. When I run the GUI the items are indeed invisible but when I click on my button which has myTextField.setVisible(true); nothing happens. I can get the button to print out something to the terminal everytime I click on it but I can work out how to make the fields appear upon user request.
Any help is greatly appretiated,
3rd Year BSc Computer Science, University of Exeter