This construction instanciates a TextField object and saves information needed to set the size of the display window. Over-riding the default minimumSize method in order to set my own size. This construction instanciates a TextField object and saves information needed to set the size of the display window. Specifically, the width of the testString is determined via the the FontMetrics class, as well as it's height. The layout manager will call this when it places the TextField.
Dimension is the size in pixels of the display window.