While trying to answer a applet question, the OP didn't know how to view error messages for his applet. It's been a while since I did this myself and I didn't find any step-by-step instructions for doing it, so I am posting a question and answer here for future generations.
How do I view error messages for my Java applet?
Asked Answered
Windows:
Double-click on the Java icon in the System tray next to the clock in the lower right corner. This will open the Java Control Panel.
Click on the Advanced tab.
Click on the
+
next to "Java Console" then click on "Show the Console".
The Java Console will display any stacktraces showing error messages from thrown Exceptions. You can also add System.out.println()
calls to your applet code to print your own custom messages in the console.
I typically send people to How do I enable and view the Java Console? –
Greengrocer
@AndrewThompson Thanks for the link. That didn't come up in my google search. But then I was googling for "Java Control Panel" rather than "Java Console". –
Scudder
© 2022 - 2024 — McMap. All rights reserved.