> I did some investigations on your problem. With your above setup font
> locking did not work with my NT Emacs 20.7.3 :-( But it works well
> with NT Emacs 21.0.
>
> I think this is an Emacs 20.7 bug related to overlays (setup by
> semantic in jde-mode but not in java-mode). I got a similar problem
> on my Solaris box with Emacs 20.7 and maintainers sent me a patch that
> fixed it.
>
> Try to do the following in your java buffer in jde-mode:
>
> M-: (mapcar 'delete-overlay (overlays-in (point-min) (point-max)))
>
I'm running GNU Emacs 20.5.1 (i386-redhat-linux-gnu, X toolkit) and have
found the same problem.
The fix solves it - the code appears in my original colours. Tho',
whenever it reparses the code I loose the fix. From looking at the patch
I gather the problem doesn't occur in (the mythical?!) 21.
Cheers,
Nick