JDK-4055780 : need to override preProcessKeyEvent() and postProcessKeyEvent()
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_95
  • CPU: x86
  • Submitted: 1997-05-31
  • Updated: 2000-03-01
  • Resolved: 2000-03-01
Related Reports
Duplicate :  
Description
This one is more of a feature request than a bug.

The preProcessKeyEvent() and postProcessKeyEvent() methods should be methods 
that subclasses of Container can override.  Currently if a container wants all 
its children's keypresses (and this is a very common occurance) it must 
register as KeyListeners on them all.  A very time consuming action, 
especially since the methods are already existing to handle this correctly 
but just with the wrong visibility. 

Comments
EVALUATION This is basically the functionality requested in 4056074. eric.hawkes@eng 2000-03-01
01-03-2000