public class JTextAreaApplicationLogger extends AbstractApplicationLogger
ApplicationLogger
appends all messages to a JTextArea
.Constructor and Description |
---|
JTextAreaApplicationLogger(javax.swing.JTextArea textArea) |
Modifier and Type | Method and Description |
---|---|
void |
addMessage(ApplicationLoggerMessage message)
Outputs a usual message to the user.
|
javax.swing.JTextArea |
getTextArea() |
addError, addError, addError, addError, addMessage, addMessage, addWarning, addWarning
public JTextAreaApplicationLogger(javax.swing.JTextArea textArea)
public javax.swing.JTextArea getTextArea()
public void addMessage(ApplicationLoggerMessage message)
ApplicationLogger