Skip to main content
gamedev.net
🔒 Locked

[java] Applets vs Scripts

Started by Omaha 0 replies 300+ views
Original Post
Omaha
Omaha
I''m aware of the differences between them but I was working on some code for my new website lately, and I was writing a few applets... But I''ve noticed that almost all the websites I visit on a daily basis that use Java use scripts for the things I''m using applets for. For example, I''m writing the main menu as an applet--a sidebar type menu with buttons that exhibit a few special effects as the mouse passes over them. Is this a bad thing, should I consider redoing it as a script? I''m just learning Java this past week, so pardon me if I seem a bit daft in the subject. Luckily, I''m learning quickly since I already know C++.
WayfarerX
WayfarerX
I usually try to only use applets when I need to do something I can't do with scripts or Flash (like open a TCP connection back to the server). Scripts usually download much faster and are easier to get working in different browsers, while doing simple animations in Flash is quick & easy.

If you've got a really cool effect for your applet, then stick with it. Otherwise remember that on the web, being able to navigate the site quickly and easily is much more important than simple eye-candy.

"So crucify the ego, before it's far too late. To leave behind this place so negative and blind and cynical, and you will come to find that we are all one mind. Capable of all that's imagined and all conceivable."
- Tool
------------------------------


Edited by - wayfarerx on December 9, 2001 11:39:38 AM
"There is no reason good should not triumph at least as often as evil. The triumph of anything is a matter of organization. If there are such things as angels, I hope that they're organized along the lines of the mafia." -Kurt Vonnegut

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.