I am writing an applet that randomly selects 10 cards and then displays them. I can compile my code fine but when I run it, the applet viewer says Start: Applet not initialized. I am unsure what is wrong with my code, can anyone help?
Ulf Dittmer wrote:There are probably error messages in the Java Console; post those here.
No idea what you mean. It compiled fine.
That response makes it sound like you are entirely unfamiliar with the possibility that you might have errors at run-time. That being the case, you should stick to writing ordinary applications until you get a bit more experience with the language. Applets are not a technology for beginners.
Albert Dong
Greenhorn
Joined: Sep 15, 2012
Posts: 4
posted
0
Michael Dunn wrote:Graphics g = null;
...
paint( g, ranNum, card );
does something look strange here?
I had no idea what to set it too so I out null there as a temp.
Albert Dong
Greenhorn
Joined: Sep 15, 2012
Posts: 4
posted
0
Paul Clapham wrote:
Albert Dong wrote:
Ulf Dittmer wrote:There are probably error messages in the Java Console; post those here.
No idea what you mean. It compiled fine.
That response makes it sound like you are entirely unfamiliar with the possibility that you might have errors at run-time. That being the case, you should stick to writing ordinary applications until you get a bit more experience with the language. Applets are not a technology for beginners.
It's homework.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.