Files in the sample application

File name

Description

ScreenTransitionsDemo.java

This file contains the following items:

  • the entry point for the sample application
  • the ScreenTransitionsDemo() constructor, which creates and displays the ScreenTransitionsDemoScreen
  • the startOrStopThread() method that pauses or resumes the screen transitions thread
  • the ScreenTransitionsDemoScreen inner class that determines whether the user clicked the trackball or touched the screen and then invokes the startOrStopThread() method
  • the TransitionThread inner class that presents a sequence of different screen transitions

TransitionScreen.java

This file contains the TransitionScreen constructor that creates a screen to display before the screen transition occurs.

Next topic: System requirements
Previous topic: Featured classes

Was this information helpful? Send us your comments.