startXlet() certain operations performed

Title: Applications should perform certain operations within startXlet()

Number: 50

Specification reference: (Section 6.1.3 page 7)
“Applications SHOULD perform the following operations within startXlet():
• Allocate all major blocks of memory;
• Start any background threads for loading data from the file system;
• Install all event listeners;
• Make the initial GUI components visible;
• Request AWT focus, if using AWT events;
• Otherwise prepare the application for execution.
… The MHP specification indicates that it will be called immediately after the successful return of initXlet() and also when returning from a paused state."

Assertions:
1. Within startXlet() the application allocates all major blocks of memory
2. Within startXlet() the application starts any background threds for loading data from the file system.
3. Within startXlet() the application install all event listeners
4. Within startXlet() the application makes the initial GUI component visible
5. Within startXlet() the application requests AWT focus, if using AWT events
6. The application calls startXlet() immediately after the successful return of initXlet
7. The application calls startXlet() immediately after the successful return from the paused state

Test Procedures:
1. Manually inspect the source code.
2. Use Java reflection API or other tools to inspect the application .class files

Task – Expected result
1. The invocations are found within startXlet()