This commit is contained in:
Gregor_Dutzler
2019-10-11 09:03:14 +02:00
parent 032d3a9b9c
commit fb2b191a73
7 changed files with 88 additions and 79 deletions

View File

@@ -47,13 +47,13 @@ public class mqttreceiver {
}
private void notifylisteners(String message){
for (ActionListener ac:mylisteners) {
new ActionEvent(this,0,message);
private void notifylisteners(String message) {
for (ActionListener ac : mylisteners) {
new ActionEvent(this, 0, message);
}
}
public void addMessageReceivedListener(ActionListener l){
public void addMessageReceivedListener(ActionListener l) {
mylisteners.add(l);
}
}