JDK-4392097 : Would like ability to determine why focus gained
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.0
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2000-11-23
  • Updated: 2002-07-29
  • Resolved: 2002-07-29
Related Reports
Duplicate :  
Relates :  
Description
It would be nice if FocusEvent had some identifier, or reason, the focus gained event was received. For example, if I would like to select the text in a textfield when it receives focus, except when the focus is gained as a result of MousePressed, I could use the reason to determine if the text should be selected.