Computer Science Canada Sounds and Static string |
Author: | Leo Crimson [ Sun Apr 29, 2012 9:09 am ] |
Post subject: | Sounds and Static string |
Currently I'm working on a Who Wants to be a Millionaire game for Java. I ran into a few major problems that I need help with: 1. What would be the easiest way to play Soundtrack A while the game is played in Frame B, and then replace it with Soundtrack B in Frame C (the winning frame)? 2. I also try to have the user enter their name in a JTextField in Frame A, and then assign that value to a static String variable; unfortunately, that doesn't work either and I can't seem to figure out. Attached is a copy of my file; thanks in advance. ![]() EDIT: Nvm, I figured it out. |