// Path: src/james/DataSource.java
// public class DataSource {
// 	Map<String, String> dataMap = new HashMap<>();
// 
// 	public DataSource() {
// 		dataMap.put("key1", "value1");
// 		dataMap.put("key2", "value2");
// 		dataMap.put("key3", "value3");
// 	}
// 
// 	public Map<String, String> getDataMap() {
// 		Random generator = new Random();
// 		int randInt = generator.nextInt();
// 		dataMap.put("key1", "value" + randInt);
// 		return dataMap;
// 	}
// }


import james.DataSource;
import javafx.application.Application;
import javafx.application.Platform;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.text.Text;
import javafx.stage.Stage;
package james;



public class AvcHmi extends Application {
	public static void main(String[] args) {
		launch(args);
	}

	@Override
	public void start(Stage primaryStage) {
		Text t = new Text(10, 50,
				"Replace/update this text periodically with data");

		Group root = new Group();
		root.getChildren().add(t);

		primaryStage.setScene(new Scene(root, 400, 300));
		primaryStage.show();

		new Thread() {
// Path: src/james/DataSource.java
// public class DataSource {
// 	Map<String, String> dataMap = new HashMap<>();
// 
// 	public DataSource() {
// 		dataMap.put("key1", "value1");
// 		dataMap.put("key2", "value2");
// 		dataMap.put("key3", "value3");
// 	}
// 
// 	public Map<String, String> getDataMap() {
// 		Random generator = new Random();
// 		int randInt = generator.nextInt();
// 		dataMap.put("key1", "value" + randInt);
// 		return dataMap;
// 	}
// }


// Path: src/james/AvcHmi.java
import james.DataSource;
import javafx.application.Application;
import javafx.application.Platform;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.text.Text;
import javafx.stage.Stage;

package james;



public class AvcHmi extends Application {
	public static void main(String[] args) {
		launch(args);
	}

	@Override
	public void start(Stage primaryStage) {
		Text t = new Text(10, 50,
				"Replace/update this text periodically with data");

		Group root = new Group();
		root.getChildren().add(t);

		primaryStage.setScene(new Scene(root, 400, 300));
		primaryStage.show();

		new Thread() {
			private DataSource dataSource = new DataSource();