package wow.doge.chatto.control import javafx.scene.layout.HBox import javafx.scene.control.Label import scalafx.Includes._ class UserBox2(_username: String) extends HBox() { val usernameLabel = new Label(_username) this.children ++= Seq { usernameLabel } }