• Post Reply Bookmark Topic Watch Topic
  • New Topic

TextField.getText() not working

 
Ertan Hasani
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im trying to add some text to a textfield, but when i click the button nothing happens , why is this happening?

MainWindowController.java



MainWindowFXML.fxml



ZgjedhKonsumatorinController.java



ZgjedhKonsumatorinFXML.fxml
 
L Foster
Ranch Hand
Posts: 213
11
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Not sure this helps, but why do you have this method defined in two different places?

zgjedhKonsumatorin

Are you sure you are calling the correct one?
HTH
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!