title: how to convert Dimension values to string or int
body: <p>Is there a method to convert type Dimension to String so that it could be displayed in a JTextField? Or could you suggest any other possible way to display dimension, please?</p>