Examples of Java Applets problems solved for PR11n

Menu 1:

(This web site:) (Homepage:)
Index

(Pages on
this web site:)

Home Page

About Me

Links

Catalog of notes


(My lecture
notes on
this web site:)

JavaScript

PR515 (JavaScript
cs/ss scripting)

PR655 (JavaScript
cs/ss advanced)

CS/SS scripting

Java Applets

SE5120 (C)

PP (C++)

OO (C++)

PR611 (C++)

Delphi (OO)


(Program samples:)

2002 Search engines

1999-2003 Calculators


(My computer
research
on this web site:)

Computing

Search Engine


Menu 2:

(Other web sites about:)


(Seismograph:)

alarm.gq.nu

alert.1hwy.com

capsule.20m.com

magnocraft.20fr.com

totalizm.fanspace.com

jp.7h.com


(Magnocraft:)

magnocraft.20fr.com

capsule.20m.com

jp.7h.com

totalizm.fanspace.com

alarm.gq.nu

alert.1hwy.com


(Oscillatory Chamber:)

capsule.20m.com

magnocraft.20fr.com

jp.7h.com

totalizm.fanspace.com

alarm.gq.nu

alert.1hwy.com


(Totalizm:)

totalizm.fanspace.com

jp.7h.com

magnocraft.20fr.com

capsule.20m.com

alarm.gq.nu

alert.1hwy.com


(Computing:)

(Web sites with my lecturing notes - from 2004 till 2005:)

pajak.orcon.net.nz

pajak.ownsthis.com

free.7host03.com/Pajak


(Web sites with
my old lecturing notes - from 1999
till 2003:)

Pajak.20m.com

Pajak.20fr.com


(My web site on
web tutorials:)

Websitemaker.20m.com


(All-in-one
prototypes:)

totalizm.fanspace.com

jp.7h.com

magnocraft.20fr.com

capsule.20m.com

alarm.gq.nu

alert.1hwy.com

Pajak.20m.com

Pajak.20fr.com


 

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 July 2005.


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 2005): 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).

3655