JApplet - maintaining state?
Dear users,
I'm am developing a JApplet with two JPanels on it. One of the panels has buttons and a textarea on it, and the other one is where i do some painting. It works wonderfully on my local machine. However, i have some problems when deploying it on a web server.
As this applet reads certain files on the server before getting started, i had signed the applet properly and have uploaded it. It does not throw any exceptions and loads properly, meaning that it is able to read the files it wants. But while painting, i check if one of the hashtables has atleast one record in it. if it has, painting will proceed. if it doesnt, an error string will be painted on the JPanel. And now, my problem is, even with correct input (which is likely to put a couple of entries in the hashtable), my applet shows the error string.
while debugging, i tried to populate the textarea with the contents of one of the files i'm trying to read. and this does not happen either. no exceptions are thrown. i'm lost.
please have a look at this to know what i'm talking about
http://www.mrc-lmb.cam.ac.uk/genomes/pkota/ncit/SliceIt.html
my misery doesnt end here. when i scroll down the page, even the error string that is getting painted, disappears. how do i block that call to repaint() and maintain the so-called "state" ?
any help is greatly appreciated.
kota.

