Hi guys!
Right now I am trying to open a new JFrame as soon as I hit the corresponding button on my current active GUI.But somehow, the Frame won´t be displayed,just the titlebar without title and all the components. If I start the class/JFrame solely,it displays perfectly.Just in combination with the "main" GUI, I just won´t get the second GUI to display correctly.
Here´s what I got so far:
So THIS is the class/frame I want to call in my actionPerformed-method in my Main Class, called MyFrame(). Of course this class right here also has a actionPerformed()-method for its buttons and two other methods which are not important for navigation purposes.
Can anyone help?I don´t know,how to properly open this frame!?
What I tried so far is something like this inside the actionPerformed()-method of the MyFrame-class:
But that just won´t do the trick...
Greetings,
Randy