• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

wrapping a GUI around my programming

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Rancher
Posts: 387
30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Makery has a great tutorial. Learn from that.
 
Jaytee Simon
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 8535
615
Mac OS X VI Editor BSD Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic