hmmm - do you really think, he's asking for the ActionListener? That one is prompted by the IDE, that should not be the problem.
I think he's asking for the code in the ActionPerformed:
private void refreshButtonActionPerformed(java.awt.event.ActionEvent evt) {
someJPanel.repaint();
}
so you basically need to repaint your surrounding Container. The method
repaint()[
^] is located in the general Component JComponent and available at most graphical stuff.
regards
Torsten