I am kind of new to Java, I tried finding an answer for hours but I couldn't.
The problem is pretty simple - I create an array of JButton
components, and add them to a JFrame
using:
m_Parent.add(this);
And it works.
The problem is, I want the same array to appear in a JInternalFrame
I created in the frame. But when I add:
m_Parent.Internal.add(this);
It only shows up in the internal frame, and no longer appears in the frame. Why does this happen? how can I make it appear in both frames?