November 22, 201510 yr Author Looks very sweet! Very useful and understandable. Only thing is: i got 3 errors. 1. treeSelector 2. CustomIntInTheMainClass 3. m.start Edit: fixed nr2 and 3. Just needed to add: public int CustomIntInTheMainClass; public boolean start; In my main class. EDIT EDIT: Fixed nr1 too. I think. EDIT EDIT EDIT: Nope, didn't fix nr1. Edited November 22, 201510 yr by OSRS Sebastian
November 22, 201510 yr JavaFX is NOT the same as Swing (JFrame), idk why vilikus did not understand that? learn swing first as it is way easier than javafx.
November 22, 201510 yr Looks very sweet! Very useful and understandable. Only thing is: i got 3 errors. 1. treeSelector 2. CustomIntInTheMainClass 3. m.start Edit: fixed nr2 and 3. Just needed to add: public int CustomIntInTheMainClass; public boolean start; In my main class. EDIT EDIT: Fixed nr1 too. I think. EDIT EDIT EDIT: Nope, didn't fix nr1. I made some mistakes in the paste and didn't explain it fairly well to you: fixed the paste: http://pastebin.com/KErmtQ5k in your Main class add: public int CustomIntInTheMainClass = 0; public String YourStringInTheMainClass = " "; public boolean start = false; JavaFX is NOT the same as Swing (JFrame), idk why vilikus did not understand that? learn swing first as it is way easier than javafx. Yeah my bad, didn't see that he was using javafx Edited November 22, 201510 yr by Viliuks
November 22, 201510 yr firstly, you want to be using swing not jfx Secondly, if you have eclipse, there's a really handy tool called 'WindowBuilder Pro' which is a plugin - http://www.eclipse.org/windowbuilder/download.php If you install that, it will make your life 5x easier! (if you use an IDE other than eclipse, i'm sure there's an equivalent!) apa
November 22, 201510 yr Author firstly, you want to be using swing not jfx Secondly, if you have eclipse, there's a really handy tool called 'WindowBuilder Pro' which is a plugin - http://www.eclipse.org/windowbuilder/download.php If you install that, it will make your life 5x easier! (if you use an IDE other than eclipse, i'm sure there's an equivalent!) apa I have Eclipse. For my own record: WindowBuilder is Java Swing? JavaFX is NOT the same as Swing (JFrame), idk why vilikus did not understand that? learn swing first as it is way easier than javafx. Thanks for the tip. Will be digging deeper in the JFrame! I made some mistakes in the paste and didn't explain it fairly well to you: fixed the paste: http://pastebin.com/KErmtQ5k in your Main class add: public int CustomIntInTheMainClass = 0; public String YourStringInTheMainClass = " "; public boolean start = false; Yeah my bad, didn't see that he was using javafx Thanks boss! This works like a charm. I'm about to study it! Will let you know when i finished my GUI! Edited November 22, 201510 yr by OSRS Sebastian
November 22, 201510 yr firstly, you want to be using swing not jfx Secondly, if you have eclipse, there's a really handy tool called 'WindowBuilder Pro' which is a plugin - http://www.eclipse.org/windowbuilder/download.php If you install that, it will make your life 5x easier! (if you use an IDE other than eclipse, i'm sure there's an equivalent!) apa There is a stand alone builder called "JFormDesigner" except it requires payments but you can get a free trial. Thanks for the tip. Will be digging deeper in the JFrame! Thanks boss! This works like a charm. I'm about to study it! Will let you know when i finished my GUI! If you gots more questions feel free to ask and look at Apeacs post.
Create an account or sign in to comment