I have several text fields and other components in a single JFrame, and I want to be able to switch the actions associated with menu items and enable/disable the menu items based upon which text field is being edited (and whether it even is a text field). The obvious thing to do seemed to be to use focus listeners to decide when I enter or leave a particular text field. But just activating a menu item causes it the text field to lose focus. I must be missing something obvious, but I haven't been able to find the answer in the books or in the archives. Keith Bennett posted a similar question about a year ago relating to undo/redo, but I couldn't find a response. Stephen _______________________________________________ Swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/swing
