What is the best way to implement inner classes in VisualAge for Java?
Created May 4, 2012
[FAQ Manager's comment] If coding by hand, static and member classes are declared in the class declaration (along with import statments, static and instance variables, etc). Local classes are defined in method bodies in a method editor. As of version 3.0/3.02, VAJ does not present inner classes in the project, package, or hierarchy browsers as it does regular classes. Inner classes can't be edited on their own; you must select the containing class or method in order to edit an inner class.
Some VisualAge SmartGuides provide options to use inner classes while generating code. The CICS Enterprise Access Builder and the Visual Composition smartguide are two examples.
Tips on using Inner classes to handle Event Handling:
VAJ 3.0+ optionally generates event handling code using inner classes. You have three options while generating inner classes to handle events: