Netbeans compiles and runs in terminal?

Hey, I have been typing away and at a certain point I change an option or something in Netbeans. Anyone know why all my projects open in a terminal when I run it?

This is written the terminal window,

Press [Enter] to close the terminal …