Friday, September 3, 2010

Running Your 1st Applet in every one of the platform - Simple Java Training tips


Java Training

Java isn't just for net sites. Learning Java and strategy towards Java Training will lead to job related opportunities in application trade. Java can be a programming language that lets you do virtually anything you are able to do using a traditional programming language like FORTRAN or C ..! Nevertheless Java has learned from the mistakes of its predecessors. It can be considerably cleaner and easier to use than individuals languages. So learn java by Java Training whether you know C language or not.

Unix Instructions

Start the Applet Viewer by doing the following:

1.Open a command line prompt, and cd to a single from the directories in /usr/local/java/demo, for example

2.% cd /usr/local/java/demo/TicTacToe

3.Run the appletviewer around the html file:

% appletviewer example1.html

4.Play Tic-Tac-Toe! The algorithm was deliberately broken so it's feasible to win.

Macintosh Instructions

1.Start off the Applet Viewer by double-clicking it.

2.Select Open.!!!. from the File menu and navigate into the java folder, then the Sample Applets folder, then the TicTacToe folder.

3.Select the file example1.html and click around the Open button. Alternately it is possible to drag and drop this file onto the Applet Viewer.

4.Play Tic-Tac-Toe! The algorithm was deliberately broken so it can be probable to win.

Windows Instructions

Begin the Applet Viewer by doing the following:

1.Open a DOS window, and cd to 1 from the directories in C:\JAVA\DEMO, for example

2.C:<>

3. Run the appletviewer around the html file:

C:<>

4. Play Tic-Tac-Toe! The algorithm was deliberately broken so it really is probable to win.

Hot Tip: Getting Rid of that Annoying License Dialog Box

Do you know the annoying dialog box I'm talking about? I bet you do. It's the one that comes up each and every time you launch the applet viewer to make you agree to Sun's license. Do you want to get rid of it? If so make a directory called .hotjava in your java/bin directory. You won't see it again.

Applets in Netscape

Netscape 3.0 will run Java applets on most platforms except Windows 3.1. Netscape contains a Java Demo Page with links to several applets which will mostly run. On the other hand do not be surprised if an applet fails to give good results properly in Netscape.

No comments:

Post a Comment