0

The 2 frame are running. If I update the 2 frame so I want to be updated to 1 (first one) automatically.

I've already tried:

frame.invalidate();
frame.validate();
frame.repaint();

frame.repaint();
repaint();
revalidate();
Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
  • 1
    1) See [The Use of Multiple JFrames, Good/Bad Practice?](http://stackoverflow.com/q/9554636/418556) 2) For better help sooner, post a [MCVE] or [Short, Self Contained, Correct Example](http://www.sscce.org/). 3) Use a logical and consistent form of indenting code lines and blocks. The indentation is intended to make the flow of the code easier to follow! 4) Please use code formatting for code and code snippets, structured documents like HTML/XML or input/output. To do that, select the text and click the `{}` button at the top of the message posting/editing form. – Andrew Thompson Mar 03 '17 at 14:18
  • Thanx Sir....Next time i kept in mind..... – Samed Vahora Mar 03 '17 at 14:31
  • The first two comments need to be 'kept in mind' sooner, rather than later. – Andrew Thompson Mar 03 '17 at 14:56

0 Answers0