mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
minor bug fix.
text area may still be null when log interfaces update
This commit is contained in:
parent
34785be0a8
commit
2b5846e967
@ -26,7 +26,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: LogListener.java,v 1.1 2006/08/21 12:13:08 fros4943 Exp $
|
||||
* $Id: LogListener.java,v 1.2 2006/10/23 16:14:02 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.plugins;
|
||||
@ -70,6 +70,9 @@ public class LogListener extends VisPlugin {
|
||||
// Log observer
|
||||
logObserver = new Observer() {
|
||||
public void update(Observable obs, Object obj) {
|
||||
if (logTextArea == null)
|
||||
return;
|
||||
|
||||
logTextArea.append("\n");
|
||||
|
||||
Mote mote = (Mote) obj;
|
||||
|
Loading…
Reference in New Issue
Block a user