For customizing the look of your lightweight component and making it look lucid like it was made of glass.
Or: how to make your component more Apple-ish ;)
This tip assumes your component to be of rectangular shape and completely opaque.
Working with files is a moderately common task in Java. For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.
However, when your application has vi…