Adding Menus to an existing Xlet
It seems the usual route is to have the GRIN application be the main application that runs an Xlet, has anyone had any success with having a normal xlet use GRIN extensively?
What I would like is an easy way to get input into the application, but implementing GRIN has been an afterthought. In my main Xlet, it has similar methods and purpose as the GrinXlet, but loading an image from an imagemap (the entire initialisation of the animation area) takes a long time, if it even loads.
I've been able to get an image up eventually, but when replaced with text it seems to flash once then disappear (if it shows up at all). What could be the cause of this? The xlet implements the right interfaces and calls the AnimationEngine.start in the start of the Xlet and initializsation of the engine is done in the initXlet.
Would there be an easier way to get input (as in a psuedo on screen keyboard) from the user in an Xlet?
Also, what does the exports command in GRIN do? Finding it difficult to find an explanation of its purpose.