Unit Of competency
Modification History
Release |
Comments |
Release 1 |
This version first released with ICT Information and Communications Technology Training Package Version 1.0. |
Application
This unit describes the skills and knowledge required to compile and run an applet that executes in Java-enabled browsers, and interacts with users.
It applies to individuals involved in software, web or games development and who are required to build applets, using Java that interacts with users via a browser.
No licensing, legislative or certification requirements apply to this unit at the time of publication.
Unit Sector
Programming and software development
Elements and Performance Criteria
ELEMENT |
PERFORMANCE CRITERIA |
Elements describe the essential outcomes. |
Performance criteria describe the performance needed to demonstrate achievement of the element. |
1. Create Java source file |
1.1 Create a file with a text editor 1.2 Create a sub-class of the class Java.applet. 1.3 Ensure that applet sub-class implements at least one of the following methods: init and paint 1.4 Define classes that contain instance variables, methods and local variables 1.5 Ensure that the init method initialises instance variables, and constructs any graphical interface used in the applet sub-class 1.6 Implement the paint and update methods to manage output that is drawn in the applet window 1.7 Incorporate event handling methods 1.8 Implement the code that allows a user to enter values, and assigns these values to variables 1.9 Use available graphical user interface (GUI) components to allow user interaction with the applet 1.10 Specify and load images and sounds 1.11 Include comments to describe the behaviour of the applet |
2. Compile a source file |
2.1 Use a Java compiler to compile the file 2.2 Correct errors detected by the compiler 2.3 Confirm basic correctness of the file, to ensure that all variables have been initialised 2.4 Ensure the compiler creates a class file, and that the class is interpreted correctly |
3. Run applet |
3.1 Create and name a hypertext markup language (HTML) file, and add APPLET tag 3.2 Write the applet class file to match the HTML document that contains an APPLET tag 3.3 Confirm that the applet loads and executes correctly 3.4 Identify and correct run-time errors 3.5 Identify and correct logic errors 3.6 Ensure that the appearance of the applet window renders it accessible and intuitive for the user, and that its design complies with organisational standards 3.7 Ensure that user interaction is implemented efficiently and effectively |
Foundation Skills
This section describes language, literacy, numeracy and employment skills incorporated in the performance criteria that are required for competent performance.
Skill |
Performance Criteria |
Description |
Reading |
2.2, 3.4, 3.5 |
|
Writing |
1.1, 3.1 |
|
Get the work done |
1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 2.1, 2.3, 2.4, 3.3, 3.4, 3.4, 3.6, 3.7 |
|
Unit Mapping Information
Code and title current version |
Code and title previous version |
Comments |
Equivalence status |
ICTPRG525 Build Java applets |
ICAPRG525A Build Java applets |
Updated to meet Standards for Training Packages |
Equivalent unit |
Links
Companion Volume implementation guides are found in VETNet - https://vetnet.gov.au/Pages/TrainingDocs.aspx?q=a53af4e4-b400-484e-b778-71c9e9d6aff2