I too had the problem. The following elisp fixed it for me:
(add-hook 'jde-mode-hook
(function (lambda ()
(font-lock-mode 1)
)))
Note: you'll need to put this *before* your (require 'jde) statement.
Scott
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 31, 2001 3:40 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: AW: syntax lost in jde-mode when default face specified in
> .emacs
>
>
> This sounds to me as if it could be the semantic-problem mentioned
> on the semantic-homepage (you need semantic if you install JDE).
> On the semantic-site there is a file overlay-fix.el offered which you
> have to install. Then the fontification-problem should be gone.
>
> In ever case it is worth a try i think.
>
> Klaus
>
> P.S.
> You find the link to the semantic-site onto the JDE-site.
>
>
> >
> > > I have the same problem (I mentioned it in a previous email). If you
> > > toggle font-lock-mode off and on again the problem goes
> > away (for that
> > > buffer). I'm not sure what causes it. Hope that helps.
> > >
> > > -----Original Message-----
> > > From: Gregory Bird [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, March 30, 2001 3:38 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: syntax lost in jde-mode when default face
> > specified in .emacs
> > >
> > >
> > > Hello,
> > >
> > > I have lost the color highlighting of my .java files after
> > installing
> > > JDE.
> > > I've figured out that changing the default face seems to be
> > > causing it.
> > >
> > > I've looked throught the mailing list archives and have found other
> > > references to the problem but no solutions posted for Windows.
> > >
> > > Has anybody solved this problem?
> > >
> > > Here's my setup:
> > > - Windows 2000
> > > - "GNU Emacs 20.7.1 (i386-*-nt5.0.2195) of Tue Jun 13 2000 on buffy"
> > > - JDE 2.2.6
> > >
> > > Also, I found a new jde-java-font-lock.el file posted Wed, 17
> > > Jan 2001
> > > 07:27:03 in the mailing list archive and installed that.
> > >
> > > Any help is appreciated, thanks in advance.
> > >
> > > Greg
> > >
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at http://explorer.msn.com
> > >
> >