Google
 
Site navigation: [ Home | Theory | Java | Moodle courses | Resource wiki | About ]

Re-inforcing the core Java concepts

Use of additional Java libraries (the awt)

Not a mastery factor but a key skill for your dossier project.

Spicing up your Applets

This Applet demonstrates some of the other GUI objects available as part of the awt library. There are also a vast amount of Swing library objects but we don't cover these here (maybe later if there is a demand).

Micro-project

One of the tools of the programmer when analysing a problem and designing a solution is the prototype. This can be as simple as a series of screen drawings (see the prototypes page for further possibilities).

In groups of two or three, choose a potential user (from another group) and get them to verbally describe an information screen they want designed. For example:

  • design a screen to collect information about used cars
  • design a screen to collect voter registration information
  • design a screen to collect computer details
  • design a screen for a librarian to record book details
  • design a sceen to do multiple choice tests
  • design a screen for an online calculator

From your notes of their verbal description , sketch a screen design and get user feedback on how accurate your interpretation of their needs actually was.

Design a non-functional Applet to implement the final, refined screen design . Non-functional means the Applet doesn't have to store any data anywhere or do any processing.

Extra: Try to make a project where you have to learn to look up constructors and methods for new awt objects on the web (as described in Gooey.html ).

Back to top

Applications vs Applets

Early on, we briefly introduced the IBIO Classes and showed how to use BlueJ to produce a simple console-based application. This page shows how some of the Applet examples might have appeared as Java applications.

This has the potential to cause great confusion in your mind so you might not want to look at this yet.

Related: [ Java Core | previous Helper methods | next:Applications]

Link to the Gooey Applet.


 
The site is partly financed by advertising revenue, partly by online teaching activities and partly by donations. If you or your organisation feel these resouces have been useful to you, please consider a donation, $9.95 is suggested. Please report any issues with the site, such as broken links, via the feedback page, thanks.

Questions or problems related to this web site should be addressed to Richard Jones who asserts his right to be identified as the author and owner of these materials - unless otherwise indicated. Please feel free to use the material presented here and to create links to it for non-commercial purposes; an acknowledgement of the source is required by the Creative Commons licence. Use of materials from this site is conditional upon your having read the additional terms of use on the about page and the Creative Commons Licence. View privacy policy.

Creative Commons License


This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. © 2001 - 2009 Richard Jones, PO BOX 246, Cambridge, New Zealand;
This page was last modified: May 31, 2009