This content has been marked as final. Show 10 replies
I'm not clear exactly what you mean by 'until Java console is opened'. Do you mean that you open it yourself and then the applet starts working? or that you have it set to auto-open and when it does the applet starts working? I would find it hard to believe in the former case, but the latter case is simply explained: the Java console doesn't auto-open until the JVM loads in the browser, so the applet can't run until then.
thank you all
the applet is not working until java console is open. Initially my applet in the browser not reading anything then after reading some forums, I changed the settings of JAVA Control Panel i.e Hide java console to show java console, when I restart my webpage again the java console is coming. If the java console is in front of the webpage the applet is reading, If I minimize the java console then it is not reading.
IF the java console is in front of the applet webpage, the applet is working properly. for reference please check the images. Thanking you
please check the imagesWhat images?
sorry images are not there. but how to solve it.....
How indeed? You've been told you haven't made yourself clear, and you've said 'for reference please check the images', and we've asked 'what images', and you've said there are no images, and you're still expecting a solution to arise via some magical process?
I am new to applets, I don't know much about applets. The applet is not reading anything until the java console is open.
We are all new to your problem and to your refusal to provide the images you asked us to refer to.
I'm not sure what you're expecting to happen next, but don't hold your breath.
how can i provide the images?
is any option is there to attach images?
you can post your images elsewhere and post links here.
But i'd suggest to start with enabling full trace details
and running with console hidden to reproduce your problem.
Check generated trace file - any exceptions or errors reported? Post content of the file here (it is text file).
If your applet is stuck - use jstack on the java process to get full stack trace. This way we can at least understand what is happening at that moment.
Applet or JApplet? if the latter, try calling setFocusable(true) on the JApplet's contentPane and/or other JPanels in your GUI hierarchy.