• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wrapping a GUI around my programming

 
Jaytee Simon
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everybody!!!
I have a simple algorithms done but what I want to do is wrap a gui (view) around my program with javafx fxml. I already designed the gui with scene builder and now I'm trying to intergrate the view with the model and controller. Is there a hot tutorial out there that teaches this or does anybody have any suggestions?
 
John Damien Smith
Ranch Hand
Posts: 299
15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Makery has a great tutorial. Learn from that.
 
Jaytee Simon
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply yeah I got it wrapped I'm just trying to do small things like click a button and select a text file then manipulate it in my gui
 
Liutauras Vilda
Bartender
Pie
Posts: 2803
112
BSD VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jaytee Simon wrote:Thanks for the reply yeah I got it wrapped I'm just trying to do small things like click a button and select a text file then manipulate it in my gui
In a Scene Builder when you select the button there will be a "Code" tab on the right hand side of the screen. When you click that, you should see the line "On Action". When you place the cursor on that line, you should be able to see the public methods defined within your controller class. One more thing, on the left hand side of the screen of Scene Builder there is a tab "Controller" where you need to link your "fxml" file with "Controller" class by specifying your "package_name.ControllerClassName".
 
Jaytee Simon
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah I got the controller linked, well the root frame/controller I have linked and thanks for reminding about the menu to the right in scenebuilder...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic