@Norm
While I have you though (to save another thread), is that button array going to work?
If I get the source using getSource, is it going to return the same thing for all of the buttons?
Type: Posts; User: bgroenks96
@Norm
While I have you though (to save another thread), is that button array going to work?
If I get the source using getSource, is it going to return the same thing for all of the buttons?
Well what I'm saying is that there were two centers so when you maximized the window it showed the blank center JPanel from the opening image.
Got it. The JPanel center got instantiated twice so the original JPanel was overlapping the grid.
Thanks for your help!
I was unable to recreate the issue....
Here is the rest of the code for the GUI class I am having the problem with:
import javax.swing.*;
import java.awt.*;
import java.awt.image.*;
import...
I noticed that when my program's GUI (using JFrame) window is minimized and then maximized, the frame contents get erased. Only the buttons reappear as the mouse moves over them.
I tried adding a...