The convenience classes provide static functions to obtain a value
from the user without using any complex widget hierarchies. Because
the functions are static they can be called directly without the need
to create an instance of the class. For example, to get a filename all
that is necessary is to call
FileDialog.getOpenFileName().