guys

I installed jdee in my emacs and it works well, but I fins that it cannot active auto-complete.

Example: When I open a new .java file in emacs, and I input "imp", auto-complete cannot active.

The problem is .java file open in emacs in "jdee-mode" because jdee. But the auto-complete only work on "java-mode", the evidence is AC works well when I change the jave-mode filename, which in AC/dict, to jdee-mode.

So I thought two solutions about this:

make AC use java-mode even in jdee-mode make emacs change the filename of java-mode to jdee-mode after every update jdee.

Dose anyone know how to make them? Or has better solution?

Thank you!