Seems to me that while i’m coding in eclipse, everytime I launch my JFrame (after a while), it causes ALOT of computer lag, start getting popups from windows: COMPUTER MEMORY LOW!.
So i go into my process list and I see javaw.exe about 80+ times.
THE FIX: Whatever your JFrame is called you must add the following.
jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Yeah very simple, just found it out last night.