Examples of Java Applets problems solved for PR11n

Menu:

(Pajak Homepages:)

Pajak.20m.com

Pajak.20fr.com


(Pajak here:)

Home Page

About Page

Links Page

Catalog of notes


(Sample programs:)

Calculators

JavaScript

Server scripting

Java Applets

Delphi (OO)

C++ (PP)

(OO) C++


(Web tutorials:)

Websitemaker


(My research:)

Computing

Search Engine


 

Solutions of "Java Applets" problems - by Dr Jan Pajak


In order to run any of these solutions, simply click on the underlined part of the HTML source code (means on a file which has the extension *.htm) for a given problem!
- For further instructions see the end of this Web page.
- Click the button BACK (from the browser) to return to the previous Web page.
The last update of the Web page on: 23 June 2002.


Solutions:

ButtonIn.htm: Display of numbers keyed in (source code for HTML part of Web page with a Java Applet).


ButtonIn.java: Display of numbers keyed in (source code for Java part of the Web page with a Java Applet).


ButtonIn.class: Display of numbers keyed in (compiled Java part of the Web page with a Java Applet).


ButtontoRoman.htm: Conversion of Arabic numbers into Roman numbers (source code for HTML part of the Web page with a Java Applet).


ButtontoRoman.java: Conversion of Arabic numbers into Roman numbers (source code for Java part of the Web page with a Java Applet).


ButtontoRoman.class: Conversion of Arabic numbers into Roman numbers (compiled Java part of the Web page with a Java Applet).


isbn.htm: Validates an ISBN number (source code for HTML part of Web page with a Java Applet).


isbn.java: Validates an ISBN number (source code for Java part of the Web page with a Java Applet).


isbn.class: Validates an ISBN number (compiled Java part of the Web page with a Java Applet).


fuel.htm: Converts fuel consumption units (source code for HTML part of Web page with a Java Applet).


fuel.java: Converts fuel consumption units (source code for Java part of the Web page with a Java Applet).


fuel.class: Converts fuel consumption units (compiled Java part of the Web page with a Java Applet).



Problems:

Text of sample problems for Java Applets (MS *.doc format).

Text of Java Applet Assignment 1 (MS *.doc format).


Instructions:

(1) Each Java Applet solution is consisting of three parts, namely (a) a Web page (*.htm), which has a Java Applet incorporated into it, (b) a source code of the Java Applet (*.java), and (c) a compiled Java code (*.class). Each one of these parts needs to be downloaded separately.
(2) In order to download to your computer the HTML part (*.htm) from a given Java solutions click on it, and when the entire Web page appears on your screen, reveal the source code (means click on: view/source pull-down menu), finally save the source code of the Web page to your own computer!
(3) In order to download to your computer the remaining two parts (*.java or/and *.class) from a given Java solutions click on this part, and then follow the instructions that appear in the downloading window.
(4) To return to this Web page, click on the Back button on the tool palette of your browser.
(5) If you wish to see any othger related Web pages (e.g. "Blue Book" with the Syllabus), see Favorite Links Page.
(6) Address for correspondence (May 2002): Dr Jan Pajak, P.O. Box 33250, Petone 6340, New Zealand.

Note that "self-paste" type exercises, which prepare students for solving these programming problems, are outlined in lecture notes (Topic T2 for Java Applets programming).



You are the th visitor at this page.

7host ASP Hosting