update jframe in java or revalidate/repaint/ panel
- by user1516251
How to update a java frame with changed content
I want to update a frame or just the panel with updated content. What do I use for this
Here is where i want to revalidate the frame or repaint mainpanel or whatever will work
I have tried a number of things, but none of them have worked.
public void actionPerformed(ActionEvent e) {
…