0

How do you allow an action to be performed when a user selects a specific item on a Choice() component?

For example:
If a user selects a specific item on the Choice() component, I want a JTextField() to be set to .setVisible(true) and appear.

Anyone?

2
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by musikluver4
1

... then in that listener just setVisible(true) for the JTextField - or am I missing the point of this question???

0

Thanks! I didn't know that in the listener method itself you can do that. That did the trick!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.