1 Reply Latest reply on Nov 6, 2012 11:33 AM by Andipa

    Get Children of a GridPane and Make them bold


      i want to set the Children of a Gridpane bold. The Childrens types are text.
      private GridPane labelPane = new GridPane();
              final Text text  = new Text();
              final Text text1 = new Text();
              final Text text2 = new Text();
              final Text text3 = new Text();
         labelPane.getChildren().addAll(text, text1, text2, text3);
      So basically im searching for something like this:
      Does java somehow recognize, that the childrens are from type text, so we can set them bold?
      Because ...
      Text test2 ) = new Text();
      ... wouldn't be a problem. Do i have to choose another way?

      Thank you,