PDA

View Full Version : Desperate help about Java



kayz
07-29-2005, 01:23 AM
Ok please can someone correct me if im wrong, DHTM would be Java or Java related? now the main thing, i am desperately wanting to make my own Java Navigation menus, ive searched everywhere but cant find anywhere which will give me a free version of something. I'd like to make my own java navigation. Also is Java the same thing as Java Script? Can i have a Java Script orientated navigation and say to myself yes thats a java navigation menu?

Please Help!

Willdawg
07-29-2005, 02:04 AM
hm.. maybe you should've done some research there are many websites on these topics. Such as this one :P, it has free menu scripts on the main page. Java is completely different language developed by sun; compiled before-hand, just run by a plug-in for internet explorer or w/e browser. Javascript is what you want it is well if you know html it goes:

<html>
<head>
//In here//
</head>
<body>
//or here//
</body>
</html>
there are many great javascript tutorials a fairly good one is on :W3 schools (http://www.w3schools.com)
but if you're not really intrested on the ins-and-outs if javascript then just get a free script probably found on the main page of this site.

kayz
07-29-2005, 02:13 AM
thx for ytour reply, i dont want js i know what js is, but im trying to get hold of pure java applet menus and navs, which i can customize myself, would you know any free softwares that do this? or any free scripts for java applets?

Willdawg
07-29-2005, 02:19 AM
Java applet why are you here? javascript forum this forum or website is not affiliated with java at all. why would you use java for a website use something a lot simpler. like javascript/html/dhtml. You have no idea what you're talking about free scripts/applet applet is java. script is javascript and we have free ones on the main page.

Twey
07-29-2005, 10:00 AM
is Java the same thing as Java Script?
No it isn't. Java and JavaScript are two totally and utterly different languages, which happen to (occasionally) share some syntax. Java is compiled; Javascript is interpreted. For a nav menu, yes, I would recommend Javascript, unless you were thinking of something particularly complex, in which case you can use Java. All you need to build your own Java apps is the JDK (http://java.sun.com/j2se/1.4.2/download.html) (Download J2SE SDK, Accept License Agreement, then choose the appropriate package for your platform) from Sun, and a decent Java tutorial (http://java.sun.com/docs/books/tutorial/). You'll also need some very basic command-line knowledge to get started with the JDK, as it's command-line based - if you know how to use DOS or BASH, you're probably OK.

A script (in this context) is embedded Javascript, using <script> tags; an applet is an embedded Java program, using <object> tags.

mwinter
07-29-2005, 10:36 AM
You'll also need some very basic command-line knowledge to get started with the JDK, as it's command-line based [...]Or use an IDE like NetBeans (http://www.netbeans.org/) which is available as a bundle with the JDK (from both Sun and the NetBeans project, as I recall).


[...] an applet is an embedded Java program, using <object> tags.See an article on Usenet for more information (http://groups.google.co.uk/group/alt.html/tree/browse_frm/thread/1a71a3fd69503de8/92be686849cad53f?rnum=1&hl=en&_done=%2Fgroup%2Falt.html%2Fbrowse_frm%2Fthread%2F1a71a3fd69503de8%2F92be686849cad53f%3Flnk%3Dst%26rnum%3D1%26hl%3Den%26#doc_d4b02174e1cf3f16).

Mike

Twey
07-29-2005, 10:50 AM
The Netbeans IDE is, by Sun's own admission, a toy - not suitable for real projects. I recommend Eclipse (http://www.eclipse.org/) for such.

mwinter
07-29-2005, 11:14 AM
The Netbeans IDE is, by Sun's own admission, a toy - not suitable for real projects.That isn't what I read:


"NetBeans IDE is a fun software productivity tool that allows you to develop state-of-the-art applications -- whether stand-alone, web-based, or mobile/wireless. If you are a serious Java developer looking for an IDE that enables you to get the work done, and that is easy to install, easy to learn and use, fun to work with, then get NetBeans IDE today ... and prepare yourself for NetBeans 4.0 because it is going to eclipse all other IDEs that you have seen before."

-- Netbeans IDE: What's New in NetBeans 4.0 IDE (http://java.sun.com/developer/technicalArticles/JavaLP/netbeans40/index.html)Of course, Sun are potentially biased as they sponsor the NetBeans development effort. Not having used Eclipse, I can't give an objective opinion myself.

Mike

kayz
07-29-2005, 01:38 PM
Java applet why are you here? javascript forum this forum or website is not affiliated with java at all. why would you use java for a website use something a lot simpler. like javascript/html/dhtml. You have no idea what you're talking about free scripts/applet applet is java. script is javascript and we have free ones on the main page.


lol dude i know exactly what im doing, um a freelance web designer too! lol ok yes you can get Java on a site with a script, i dont mean Java Script, i mean pure applet Java can be generated by a script supported by a .class applet file, understand now? the reason why i asked if Java Script and Java applet was the same was because they both use scripts, and geuss what? ive got a Java Applet Script right here and it works supported with a .class applet file, and ive been searching everywhere and all those people charge for a java nav generator software, and its not for me i know java is not really recommended when i have simpler things like Java Script, and not everyone has Java installed, anyways thanks for all your help!

Twey
07-29-2005, 03:19 PM
because it is going to eclipse all other IDEs that you have seen before.
Not to mention any names, of course... :-\
The quote I was referring to was quite a while ago... perhaps Netbeans has improved since then.

A "Java Applet Script"?
I presume that what you are referring to is a Java applet that has customizable parameters? Or public instance variables? Editable in some manner by a Javascript, in any case.
Yes, you would usually use Javascript for something like a nav menu - it allows greater interaction with the page, as well as being faster and more likely to be supported by the browser.

Willdawg
07-29-2005, 05:46 PM
edit:bah why argue

Twey
07-29-2005, 06:58 PM
I've downloaded NetBeans; in the process of checking it out.