001package jmri.jmrix.loconet.sdfeditor;
002
003
004/**
005 * Label which displays the contents of parameter messages.
006 *
007 * @author Bob Jacobsen Copyright (C) 2007
008 */
009public class MonitoringLabel extends javax.swing.JTextArea implements java.beans.PropertyChangeListener {
010
011    public MonitoringLabel() {
012        super();
013    }
014
015    public MonitoringLabel(int row, int col) {
016        super(row, col);
017    }
018
019    /**
020     * Listening method, diplays results
021     */
022    @Override
023    public void propertyChange(java.beans.PropertyChangeEvent evt) {
024        setText(evt.getNewValue().toString());
025    }
026
027}