Notes from Daily Encounters with Technology RSS 2.0
 
# Saturday, February 03, 2001

There probably isn't a computer user out there who hasn't heard of Java before. Well, people are certainly of different opinions about it but nobody can deny its (sort of) cross-platform nature and design for Internet.

The language is already shipped with many ready to use classes and every release has more of them. But still, there are some things which are needed often but programmers have to write them themselves. I have written classes for some of these tasks myself and you can download them from here for free.

CapturingCanvas3D (CapturingCanvas3D.zip (2.88 KB)): CapturingCanvas3D is an extension to the Canvas3D class which offers capabilities of JPEG image capturing in an easy way. The source is heavily based on the work of Peter Z. Kunszt from Dept of Physics and Astronomy at Johns Hopkins University in Baltimore MD which can be found in the Java3D FAQ. I just made the API and class behavior more user friendly. Documentation is included in the source in javadoc format.

CLIArguments (CLIArguments.zip (1.54 KB)): CLIArguments performs the CLI arguments parsing for you. You just pass it the array of Strings with the arguments and use the provided methods to get the values the user entered. It's nothing fancy but it works fine for me. You can generate the documentation by using javadoc.

ImageLoader (ImageLoader.zip (1.36 KB)): Image loader transparently handles loading of images from the jar archives. You don't need to know about the Netscape incompatibilities and you don't have to take care of the image decoding yourself anymore. The class contains only the constructor and a method for obtaining the image, but that's all you really need. The documentation can be generated by using javadoc.

Saturday, February 03, 2001 2:05:32 PM (Central European Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Downloads | Sources
Sponsored Ads

About Me

Microsoft Certified Professional

Microsoft Certified Professional

View Damir Arh's profile on LinkedIn

Profile for ExAmigan

ExAmigan

Twitter
Snow pushed wild animals down from the hills again. Just saw a roe deer couple in a garden at the edge of the town while walking the dog. 1 day ago
I finished the redesign of http://www.damirscorner.com - now it's time to write some new content. 12 days ago
Firebug is great. It helped me solve a CSS problem within minutes. http://getfirebug.com/ 12 days ago
Enjoyed watching Coraline. Would love to get my hands on a scottish terrier puppet from the movie. http://digs.by/1ZsY 12 days ago
@DanijelMalik I guess it depends on the project you are deleting. 14 days ago
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

All Content © 2010, Damir Arh, M. Sc. Send mail to the author(s) - Privacy Policy - Sign In
Based on DasBlog theme 'Business' created by Christoph De Baene (delarou)