How to use Hotswap in Netbeans?

Dariusz G. Jagielski picture Dariusz G. Jagielski · Apr 10, 2012 · Viewed 7k times · Source

How to do that? I can't find any option for it in the IDE... Please help me, I'm clueless.

Answer

Marcelo picture Marcelo · Apr 10, 2012
  • Run your app in "debug" mode
  • Modify your .java files and save them
  • Click on the "Apply Code Changes" button that appears on the toolbar (it looks like three linked green rectangles, or Tools -> Options -> Java -> Java Debugger -> General -> Appl code changes after save)