This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import akka.actor.ActorRef; | |
import akka.actor.ActorSystem; | |
import akka.actor.Props; | |
import akka.actor.UntypedActor; | |
import akka.event.japi.LookupEventBus; | |
/** | |
* Java example showing the usage of a Akka {@link akka.event.japi.LookupEventBus}. | |
* The case below shows publishing events to two different "channels". A channel is just | |
* a string value carried along with the Event. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javafx.beans.value.ChangeListener; | |
import javafx.beans.value.ObservableValue; | |
import javafx.event.EventHandler; | |
import javafx.scene.control.TextField; | |
import javafx.scene.input.KeyEvent; | |
import org.apache.commons.lang3.StringUtils; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
public class DoubleTextField extends TextField { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javafx.beans.value.ChangeListener; | |
import javafx.beans.value.ObservableValue; | |
import javafx.event.EventHandler; | |
import javafx.scene.control.TextField; | |
import javafx.scene.input.KeyEvent; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
public class IntegerTextField extends TextField { | |
private static final Logger logger = LoggerFactory.getLogger(IntegerTextField.class); |