-
January 25th, 2011, 05:39 PM
#1
Editing JTable cells
Hi,
First post - please be kind
I wrote an applet which seems to work fine, but then I decided to add a JTable with editable cells to make the applet more user friendly, and to allow for some experimentation. When I run the
applet using appletviewer, it works fine, and I can edit the cells by clicking on them.
But, when I run the applet on a web browser, the JTable is displayed, but the cells can't be edited.
For the life of me I can't see what is up and why it wont' work on a browser. I can't believe its a security
issue as the data manipulation is done to data help implicitly within the applet, and doesn't access text files or a database.
I've zipped up the files on my website http://www.paullee.com/sinking.zip
- it also includes the sinking.html which I use to view the applet. I compile the applet using a small series of instructions in the file called run.sh (its a small script that I use on Linux). So far I get non-editability on Firefox and Chrome under Linux. Can anyone suggest what is wrong (please be kind!)
Best wishes
Paul
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|