I'm new to java and today I found JFrame also have the method paint and repaint. So my question is does the method paint and repaint behave the same like in java applet? Will the application update itself like applet ?I'm new to java and today I found JFrame also h