Construct the object including its GUI
super();
setLayout(new GridLayout(0, 1));
JComponent foo;
add(foo = new LabelText("Hello, and welcome to the world of Java"));
foo.setFont(new Font("helvetica", Font.BOLD, 24));
add(foo = new LabelText("Exit"));
foo.setForeground(Color.red);