devxlogo

February 20, 1999

Exception Handling Misuses

Exceptions can be used as an alternative control structure in addition to for-loops or while-blocks. For example, you can use exceptions to implement a simple application that prompts the user

Timely Capture of Font Metrics

If you extend an AWT class to add text to a GUI component, then you probably need access to the font’s metrics so that you can deduce the amount of

Directing CGI Output to Another Frame

A little-known attribute of the tag is TARGET. This attribute can be used to direct the output of a CGI program to another browser window, or another frame in the