Tag: java getsize

Java Centered Text with Underline

May 9, 2011 · 2 min read
This code gives strength on AWT graphics programming. There are no predefined methods that can be used straightaway to place the text in the center of the frame and also underline the text. Some programming techniques are required to solve the task.