If you want help, you'll have to provide an SSCCE that demonstrates only the problem at hand- this looks like a problem with a formatter of some kind, so you only need to post that code, not even a gui. Also include the full text of the stack trace along with the exact line it's occurring on.
the applet is here: http://22.214.171.124/Drakborgen/bin/drakborgen.html
the code is here: Index of /Drakborgen/src/cyberdyne, problem class is "DrakBorgen.java"
now this is an attempt for a computer version of an old swedish board game, so it's all in swedish sorry
(fortunately for you, i always write the code in english :)
but basically, you first get to select a player, then a ring and then the game board is drawn. the problem
button is located at the top right, named "nytt spel".
I don't want to be rude, but you just ignored my request. I would suggest you make it easier for people to help you. Asking people to run applets, download code, and translate Swedish isn't making it easy for people to help you.
sorry, if i ignored, i mi ght have read your post too quickly and hasted in my response.
i interpreted it as if you wanted to see the code, so i provided it in the way i figured was
most convenient. the applet i just threw in as a bonus
as for the stack trace, i find no way to put a try/catch somewhere to catch the exception as it just happens
at a mouseEvent. that was my 2nd intention bby supplying the applet, the stack trace appears
in the java console
I solved this now.. i'd just been staring myself blind at my own code... when i got that mouseEvent, i'd simply forgotten
to make a "return", so the method went ahead with a
String coord = b.getName().split(",");
Integer x = Integer.parseInt(coord);
so theres, nothing strange about this. you actually helped me tho, by suggesting to look at the stack trace more carefully