>At 12:39 PM 8/15/00 -0400, Daniel Hegyi wrote:
> >Hi,
> >
> >I have two questions.
> >
> >1.) Does anybody know how to add a menu item to the jde menu without 
>having
> >to change jde.el? (In other words, just by amending .emacs.)
> >
>
>Not currently. I am planning to make the JDE and JDEbug menus customizable,
>possibly in the next release.
>
> >2.) After compiling a Java code, is there a flag/function that indicates
> >whether the source is an application or an applet?
> >
>
>Not currently.
>
>Note, I am planning on adding a jde-compile-and-runcommand and possibly
>modifying the jde-run command to check whether the class file is out of
>date and if so, ask whether you want to recompile before running the
>current app.
>
>Any feedback on these proposals would be welcome.

Cool! That's what I proposed in an earlier Email, and that's what I'm 
currently working on. I forgot to mention another idea that might be useful 
when doing this. The function could check whether the source is an app or an 
applet. Thus, the algorithm would be:

Compile-and-Run {
   if class file is out of date
      compile
   end if

   if source is an applet
      Run-Applet
   else
      Run-App
   End if
}

Thus, "Compile-and-Run" would serve four functionalities: just "Run App", 
just "Run Applet", "Compile" + "Run App", and "Compile" + "Run Applet."


Daniel
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Reply via email to