Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how add text to GridPane in java fx fxml

 
wesley johnsen
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have make in scenebuilder a textfield, button and gridpane.
In scenebuilder I have call the id of the gridpane: gridpane
When I click on the button the data save in a list (with system.out.println()).
But I want to have when you click on the button you see the data in the gridpane.

How can I make this?

thanks in advance.

my code is:

 
Knute Snortum
Sheriff
Posts: 3323
84
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is that all the code or a snippet?  Please post the full code or a SSCCE (that's a link).
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!