Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Removing a Node from GridPane

 
ganga prasad pandaraboina
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

How to remove any Node from GridPane
 
Darryl Burke
Bartender
Posts: 5126
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The subject line of your first thread, which you never returned to, was changed by a moderator. I'm changing this from 'javafx' which is the subject matter of all threads in this section, to 'Removing a Node from GridPane.'

Please go through UseAMeaningfulSubjectLine and SayThanks. While you're about it, also take a look at ShowSomeEffort and TellTheDetails.

Have you gone through the JavaFX tutorial? What have you tried? What did you find in the API? What didn't you understand?
 
John Damien Smith
Ranch Hand
Posts: 285
13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
gridPane.getChildren().remove(node);
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic