
12-21-2006, 07:22 AM
|
|
Newbie
|
|
Join Date: Dec 2006
Posts: 2
Rep Power: 0
|
|
Crossword program creation
Hi there,
I want to create a crossword that users can type in their answers in the boxes. I also want it to be compatible with a Macromedia Director project because this game will be included on an interactive CD-ROM i will be authoring.
Has anyone programmed something similar? What is the best language to use to create this?
I did find the following Java applet on the Internet:
http://javaboutique.internet.com/crossword/
along with its source code: http://javaboutique.internet.com/cro...crossword.java
You can download the .class file for this applet which succesfully runs in an html file.
However, if I modify the source code using BlueJ, say change the string for one of the crossword clues, and compile, the applet does not run.
I noticed that when it is compiled, I get a compiler error: "crossword.java uses or overrides a deprecated API."
I have managed to replace the old "size()" method with the new "getSize()" method in the source code, but I don't know how to convert the "mouseDown(Event, int, int)" method into the new "processMouseEvent(MouseEvent)" method.
Thanks,
Tristan
|