By the way, that code was in addition to the mainClass class code I posted earlier.
Type: Posts; User: JamEngulfer221
By the way, that code was in addition to the mainClass class code I posted earlier.
I'll post the updated code that is in one large lump so it's easy to see. I have stepped through the code and as far as I can see, it is in the right order.
Edited guiMain code:
import...
I got it so that it only runs once, but now the buttons don't appear for some reason. I've had a look and the code is in the same order as before, just in one method for simplicity.
Well, everything seems to actually be loading. Something I noticed that may be something was that mainGui was actually being called twice. Once by mainClass and once in populateWindow();
Hopefully only one
Oh, ok. Sorry, I thought you wanted the compiled file xD.
mainClass.java:
public class mainClass {
static mainGui mgui = new mainGui();
Edited my post whilst you were replying. It should be there.
Oh, did you want the actual program + source code? And I'm sorry, that isn't the entire source code, just the parts of it that were relevant to the problem.
I'm posting a link to a .zip file that...
It doesn't appear to be called, so that is probably the problem. I'm wondering what code I need to add in, as I have looked on a few tutorials and my code appears to be no different.
What I have is a basic window with 2 buttons on it: Get Values and Start. When the 'get values' button is clicked, I want the getInput(); method to run, causing 2 pop up windows to appear, asking for...