fixed wrong styling of textfields with Java8