I have two internalframes Operation and showOperation inside one JFrame, I would like to know how to update showOperation after making things of Operation, for example:

i have tried this 

```
showOperation.repaint();

```

but doesn' t works, i have tried also 

```
showOperation.dispose();

```

and after 

```
 showOperation.setVisible(true);

```

but doesn' t works
how i can update this internalframe? 

---

more details, 

i have this class

```
public class ShowAssistance {
public static JInternalFrame frame = new JInternalFrame();
         .
         . 
         .

public ShowAssistance() {
    showProducts();
}
    public void showProducts(){
    //add the internalframe to the mainframe of the application as explained above
    mainFrame.getframe().add(frame);
   }

```

and this class when i use to update the internalframe

```
public class update{
update(){
  showMeUpdate();
  } public void showMeUpdate(){
    //after some  operations i do
          ShowAssistance.frame.repaint();
}

```