Home : Course Map :
Chapter 12: Tips & Techniques
JavaTech
Course Map

Printing
  Demo 1
Cursor Icons
  Demo 2
MouseButtons
  Demo 3
PopupMenu
  Demo 4
Keystrokes
  Demo 5
Audio
  Demo 6
Timing & Speed
  Demo 7
Toolkit
  Demo 8
AppletContext
  Demo 9
Exercises

    Supplements
Java Beans
More APIs
Java & Browsers
  Demo 1
     About JavaTech
     Codes List
     Exercises
     Feedback
     References
     Resources
     Tips
     Topic Index
     Course Guide
     What's New

This chapter looks at various tips and techniques to assist with Java programming:

Java

  • Printing Screen - send graphical output to the printer instead of the monitor.
  • Cursor Icons - change the icon for the cursor according to the component over which the cursor moves or the status of the program.
  • MouseButtons - identify what mouse buttons have been clicked.
  • PopupMenu - create a popup menu
  • Keystrokes - capture keystrokes.
  • Audio - basics of playing simple audioclips
  • Timing & Speed - measure execution times of code segments..
  • Toolkit - the windowing toolkit provides a range of useful info about the display on which a program is running.
  • AppletContext - in an applet the AppletContext class provides access to images, clips, and other info.
  • Exercises

Supplements

Tech

Physics

 

              Tech
Tech APIs
Exercises

           Physics
Math/Science APIs
JAIDA Program
  Demo 1
Demo 1 Discussion
Exercises

  Part I Part II Part III
Java Core 1  2  3  4  5  6  7  8  9  10  11  12 13 14 15 16 17
18 19 20
21
22 23 24
Supplements

1  2  3  4  5  6  7  8  9  10  11  12

Tech 1  2  3  4  5  6  7  8  9  10  11  12
Physics 1  2  3  4  5  6  7  8  9  10  11  12

Java is a trademark of Sun Microsystems, Inc.