In my wo application, I have a class that was created by
the development environment (when the project was created) called
Application.java.
I am trying to add a start up routine to my application (to
read information in a Properties file) and thought that the best place to put
this would be in the constructor of this class.
It does not, however, appear to be working… the
constructor doesn’t appear to get called. Is there a better way to
add start up routines? In a different class perhaps?
I’m not sure if this is the class that is used to
create the ‘actual’ application instance when the wo application
starts up. It does also inherit from WOApplication.
Further more, when I try the following cast in my code it
fails:
Application app = (Application) this.application();
The instanced referenced by this.application() also
inherits from WOApplication. Why won’t this cast work?
Any help on this matter would be greatly appreciated.
Thanks,
Colin Shreffler
Castle Rock, CO