I've gotten the JFrames fixed. I entirely eliminated the use of the JFrame array.
Type: Posts; User: scooty199
I've gotten the JFrames fixed. I entirely eliminated the use of the JFrame array.
I know I initialized sg. I always hit the construct button before I hit any of the action buttons.
When I hit my Action 1 button, it gives me a NPE for scores.
I know scores is set to null, but ...
Any help at all?
Alright I got it displaying, now I'm getting a NullPointException at
scores = sg.getTestGrades();
I noticed that, and it was fixed. oddly it didn't throw a nullpointer exception.
And I'll try that e.getActionCommand()
I added that for all my JFrames, included the inherited one.
It seems it just sits there when I run, nothing comes up.
Ok, so I've had my three classes, and nothing seems to be running for me. It compiles well, just my swing components don't appear.
Here's the code:
GUI Class
import java.awt.*;
import...