Compatibility issues with my applet and label color.
Jos� Alberto Mu�iz Navarro
posted 12 years ago
Hi. I recently wrote an applet that is like a quiz. If you win, an animation appears. If you lose, another animation appears. Everything works fine with my appletviewer (Running Java2 SDK 1.4.2). However, I have the following problems running my applet on other computers: * MacOS X - The applet is displayed but instead of the animation a black square appears in the place where the animation should appear. * Windows XP - The applet is not displayed at all. An exception appears. I am not in the computer right now so I will post the error in a minute. However, I read somewhere else that Java VM under Windows is unable to display applets run locally because there is some problem to access files from a location like file://. According to them, the only solutions are either to get appletviewer or install a server there to get the applet to run as localhost/applet.htm. Is this true? Also... is there a way to change the color of labels and checkboxes? Thanks a lot for your time My code goes here: