Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question How to properly make a gui

Joined
Jan 23, 2017
Messages
9
So, I've made some pretty extensive bots so far, but unfortunately, I've struggled with making GUI's for them to be fully completed for public release. I was never very knowledgeable with JavaFX or Swing. SceneBuilder won't even work for me so I'm throwing that out.

I'm just pissed and in need of help lol.

The tutorials on the forum show how to invoke the GUI, but not how to actually make one.
 
Client Developer
Joined
Oct 12, 2015
Messages
3,760
Use the Gluon Scenebuilder, join #development channel on Slack.
 
( ͡° ͜ʖ ͡°)
Joined
Mar 30, 2015
Messages
2,410
So, I've made some pretty extensive bots so far, but unfortunately, I've struggled with making GUI's for them to be fully completed for public release. I was never very knowledgeable with JavaFX or Swing. SceneBuilder won't even work for me so I'm throwing that out.

I'm just pissed and in need of help lol.

The tutorials on the forum show how to invoke the GUI, but not how to actually make one.

If you can't use SceneBuilder (why?) and you don't wanna hand-do anything you can prob use JFormDesigner for a Swing gui. Not use if EmbeddableUI supports it, but if so then that's an option.
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
If you can't use SceneBuilder (why?) and you don't wanna hand-do anything you can prob use JFormDesigner for a Swing gui. Not use if EmbeddableUI supports it, but if so then that's an option.
No, swing is not supported at all and highly discouraged to use.
 
( ͡° ͜ʖ ͡°)
Joined
Mar 30, 2015
Messages
2,410
No, swing is not supported at all and highly discouraged to use.

Good to know.
OP looks like you're possibly stuck with hand-designing it if none of the JavaFX scenebuilders work for ya
 
Joined
Jan 23, 2017
Messages
9
If you can't use SceneBuilder (why?) and you don't wanna hand-do anything you can prob use JFormDesigner for a Swing gui. Not use if EmbeddableUI supports it, but if so then that's an option.
I create the .fxml file within my project package, then right click that and select 'Open in SceneBuilder' and I get the following error code:

Code:
Failed to start SceneBuilder: C:\Users\Cameron\IdeaProjects\RuneMate\src\com\herblore\Herblore.fxml C:/Users/Cameron/IdeaProjects/RuneMate/src/com/herblore/Herblore.fxml
 
Client Developer
Joined
Oct 12, 2015
Messages
3,760
I create the .fxml file within my project package, then right click that and select 'Open in SceneBuilder' and I get the following error code:

Code:
Failed to start SceneBuilder: C:\Users\Cameron\IdeaProjects\RuneMate\src\com\herblore\Herblore.fxml C:/Users/Cameron/IdeaProjects/RuneMate/src/com/herblore/Herblore.fxml

Which Scenebuilder are you using and are you trying to open malformed FXML?
 
Joined
Jan 23, 2017
Messages
9
Which Scenebuilder are you using and are you trying to open malformed FXML?
I just said to hell with it. I just downloaded the standalone SceneBuilder. I was trying to launch from within IntelliJ. I'll push a basic Portable well script out soon just to test :)
 
No, swing is not supported at all and highly discouraged to use.
When I open my GUI now, my script doesn't stop to wait for the input. I'm invoking like this in the onStart. What do i do?
Code:
Platform.runLater(() -> new HerbloreGUI(this));
 
Top