Function has different results when searching for template

Jython wrapping of Swing components requires some customization to have dynamic properties and custom methods show up in the result. This normally only happens correctly in certain system.* script functions and container methods. .getComponents() is not one of them. See this topic, especially the end, for enhancements to this operation.