Hi,
I have tried a lot of things but I am stuck... :frusty:
I have a form with a button. When I click the button a new form is opened.
When I dispose form 2 I want to do a refresh of the content of form 1.
Any suggestions on how to do this?
EDIT:
I tried a different aproach: Made a jPanel, but I dont get focus. Here is the code:
But the main panel still has focus. I can "fix" it if I setVisible(false) , but I dont want this.Code:addPanel.setVisible(true);
addPanel.hasFocus();
addPanel.getCursor();
Any suggestions?

