Hello,
I'm working with a JSpinner and I need to set its' focus with a call to requestFocusInWindow(), but I forget how to get access to its' JTextField. I've tried saying "Spinner.requestFocusInWindow()" but that doesn't seem to do anything and I know the JSpinner has a JTextField which it uses to display and edit the value. I'd like to make a call like "Spinner.getTextField().requestFocusInWindow()" but I don't remember how to gain access to the JTextField (the aformentioned quote doesn't work). Does anybody know how to do this?
Gib


Reply With Quote


Bookmarks