import javafx.application.Application;
import javafx.collections.FXCollections;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.ComboBox;
import javafx.scene.control.Tooltip;
import javafx.scene.layout.HBox;
import javafx.stage.Stage;

public class MultiScreenControlsTest extends Application {

    public static void main(String[] args) {
        Application.launch(args);
    }

    @Override
    public void start(final Stage primaryStage) {
        Button button = new Button("Button");
        Tooltip buttonTooltip = new Tooltip("JavaFX Button");
        button.setTooltip(buttonTooltip);

        ComboBox comboBox = new ComboBox(FXCollections.observableArrayList("AAA", "BBB", "CCC"));
        comboBox.setEditable(true);
        Tooltip comboBoxTooltip = new Tooltip("JavaFX ComboBox");
        comboBox.setTooltip(comboBoxTooltip);

        HBox content = new HBox(button, comboBox);
        content.setSpacing(20);

        primaryStage.setScene(new Scene(content));

        primaryStage.setWidth(500);
        primaryStage.setHeight(500);
        primaryStage.show();
    }

}
