I think I figured out a way to do what you are suggesting. I created a JFrame variable to use as the general frame and made it static so I could access it anywhere in the code. It seems to work,...
Type: Posts; User: DOLZero
I think I figured out a way to do what you are suggesting. I created a JFrame variable to use as the general frame and made it static so I could access it anywhere in the code. It seems to work,...
I got it. It's old code that I haven't optimized. That doesn't help me with my current issue.
I am not quite sure I follow you. Are you referring to this:
JPanel p2 = new KeyboardPanel();
p2.setSize(0, 0);
I am working on a program to run a game engine. Right now I am working with a frame that has two panels in it. One is for the main display, and the other is for the keyboard controls. The problem I...