You can do this like

    userNameLabel = new Text()
        .text(entity.id())
        .color("white")
        .font("Verdana")
    ...

If you want.