wrapping a GUI around my programming

Jaytee Simon

Greenhorn

Posts: 5

posted 1 year ago

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?

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

posted 1 year ago

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...