src/main/resources/fxml/comps/join_room_window.fxml
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.TextField?>
<?import javafx.geometry.Insets?>
<HBox xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
alignment="CENTER_LEFT"
fx:id="join_room_root"
spacing="8.0">
<padding>
<Insets top="8" right="8" bottom="8" left="8"/>
</padding>
<Label text="Room name:"/>
<TextField fx:id="room_name" />
<Button fx:id="join_room" text="join"/>
</HBox>