java.lang.Object
org.jpo.gui.swing.LabelFrame
Creates a JFrame that holds a centred JLabel.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
LabelFrame
Constructs the LabelFrame. Is EventDispatchThread safe. I.e. will execute synchronously if on EDT else will invokeAndWait.- Parameters:
title
- The title for the JFrame
-
-
Method Details
-
update
Updates the label with the supplied message- Parameters:
message
- the message to show in the label
-
getRid
public void getRid()method that closes the frame and gets rid of it
-