TextBox
TextBox displays text on a window, very much like a java.util.JLabel field, but it will use multiple lines as needed. Text can be justified any way, horizontally and vertically. Given a rectangular area and a String of any length, it will always display the string as nicely as possible. A TextBox object may be used like a JLabel and placed in any Container or extended for use as a renderer in JTables, JLists, etc. It can also place text in a rectangle in any graphics context without being added to the canvas. (In other words, it can do immediate mode text graphics as well as retained mode text graphics.)