JButton, JTextField getVisible property required
I want to show/hide some controls.
The idea is:
myButton.setVisible(!myButton.getVisible());
So I simply revert a state that I expect to know.
But a getVisible method doesn't exist.
A isShowing() metod does exist, but it's rather different.
What is the java/swing approach to this problem? Hope not save a state in a boolean field...

