![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Nov 2005
Posts: 149
Rep Power: 3
![]() |
Developing applets
I'm writing applets, and I've been using internet explorer to test the applets. I use firefox to surf normally, but it seems like only internet explorer can completely reload an applet without just using the version it has in the cache.
Is there an easier way to test applets? Internet explorer is getting really annoying... |
|
|
|
|
|
#2 |
|
The Supreme Ruler
![]() Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6
![]() |
Have you tried appletviewer?
__________________
"Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children." - Dwight D. Eisenhower |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Nov 2005
Posts: 149
Rep Power: 3
![]() |
Er, no. What is it/where can I find it? That sounds like exactly what I need.
|
|
|
|
|
|
#4 |
|
Programmer
Join Date: Oct 2005
Posts: 68
Rep Power: 3
![]() |
Hava a html file that embeds your applet.
type "appletviewer yourfile.html" in the prompt. appletviewer should come together with the SDK. |
|
|
|
|
|
#5 |
|
Hobbyist Programmer
Join Date: Nov 2005
Posts: 149
Rep Power: 3
![]() |
Eh, I'm on Windows. That's Linux, isn't it?
|
|
|
|
|
|
#6 |
|
Programmer
Join Date: Jan 2006
Location: Dallas, TX
Posts: 49
Rep Power: 0
![]() |
Nope. Java has several executable binaries that you can run via the command line. These can be run from a Windows or Unix shell.
http://www.cs.colostate.edu/helpdocs/JavaHowe.html
__________________
Java Blog |
|
|
|
|
|
#7 |
|
Hobbyist Programmer
Join Date: Nov 2005
Posts: 149
Rep Power: 3
![]() |
Hmm ok. I still can't use appletviewer--my computer doesn't recognize it as a command. I know that I have to change the PATH variable on my computer to do this (or any other of Java's executable binaries), but I don't know where to go to do that.
|
|
|
|
|
|
#8 |
|
Expert Programmer
|
Right click "My computer" select properties, then under one of the tabs theres a button called environmental variables, click it, then edi the path but adding a semicolon and the appletvier path.
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#9 |
|
Programmer
Join Date: Oct 2005
Posts: 68
Rep Power: 3
![]() |
if you have the dos prompt open while changing the environment variables, you need to close and reopen the prompt.
then just type "appletviewer" to test if its working. |
|
|
|
|
|
#10 |
|
Sexy Programmer
|
my programs compile but they dont run!!! why?! help me!
Exception in thread "main" java.lang.NoClassDefFoundError: Looping thats the message I always get, and I do have a main method! help me please!
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|