Duplicate :
|
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.
|