I write a quiz in german language, all works fine - thanks to the help i received here in forum.
My problem is that at the end of the game, when someone press the "Spiel beenden" Button, the user see on an blank site, the name of the file where the data is saved- VERY bad for me - and some information.
I would like that the user dont see nothing or instead of the filename a message like "Tank you for your participation".
For selftesting, MY QUIZ:
(questions are on german language)
The problem is that the user is not meant to see all this.
The code used for saving the data:
Any suggestions ?
Thanks!
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35220
7
posted
0
Start by handling the exception properly - an empty catch block for an I/O operation is bad; at least log something so you know there was a problem.
I can't reproduce the problem. After pressing that button there's a popup dialog, and after that the applet just goes completely blank, with no text of any kind being displayed.
- the first pop up request some strings (type anything) to start.
- than it should display the quiz with the first question, and when you press the "Spiel beenden" button, you get a pop up with some statistics and a "thanks & goodbye" message,
plus it comes the blanc page with my problem on the upper left conner.
It´s not a problem with the functionality of the programm, it works well, its only about showing the filename and the Base64 coded data in the conner.
I will write a log file to take a look if there are some errors.