Concurrent Programming with Java
Lab Manual, Version 1.0, F. Astha Ekadiyanto, 2002.

[Contents] [Next] [Previous]


Lab 3: Building Applets - Graphical representation

Try to click or drag your mouse on the shapes below for a couple of times and see what happened.
If the Applet does not work (due to Java VM versioning problem), then download the JAR File and run it using command line interface ( java -jar Lab3.jar )

ALT="Your browser understands the <APPLET> tag but isn't running the applet, for some reason." Your browser is ignoring the <APPLET> tag!

Using the similar topology as the MobileSystem Class, we can create an Applet that can respond to detect which Rbs that can serve a MobileStation that is moving according to a MouseMotionEvent. This of course means that the topology of the MobileSystem itself should be presented Graphically, as well as the behaviour of the MobileStation's movement and its coverage.

To start working in this Lab 3, we need the previous BlueJ Project from Lab2 or you can download the lab2.zip file and extract them into Lab3 directory.

Here are the steps of creating the Applet above:


[Contents] [Next] [Previous]