I have a little big problem doing this:
From a JFrame, I call a JInternalFrame, so, I want to call a method of the JF from the JIF. The problem is, if I make a new instance of this JF, the changes are not applied, because it's not the same original instance.
I'm doing a login in this JIF, if the credentials are right, the menu in the JF must change, otherwise, no change must be applied.
I read in other sites on Internet that "Invoke" is the solution, but "Invoke" apparently works only with new instances. Is there another solution?