Netbeans + Arduino?

Is it possible to program arduino in a Java environment?

Since Netbeans allows C/C++ programming, you can certainly hack it to program the Arduino. I personnaly use Eclipse. But you’ll still have to write your program in C.