MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Java, Graphics Output, MathCanvas

  • To: mathgroup at smc.vnet.net
  • Subject: [mg29393] Re: Java, Graphics Output, MathCanvas
  • From: tgayley at wolfram.com (Todd Gayley)
  • Date: Sat, 16 Jun 2001 22:43:45 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

On Sat, 16 Jun 2001 06:54:37 +0000 (UTC), "Torsten Hartwig" <torstenhartwig at web.de> wrote:

>Hi again,
>
>yes, the GraphicsApp example lauch normally, the MathKernel starts normally,
>but when i push the evaluate-button the MathCanvas stays cleared. I tried
>something like D[3x^4,x] and marks TYPESET or Plot[x,{0,1,x}] and marks
>GRAPHICS. But I gave my GraphicsApp example as a VisualCafe-Projekt to
>friend an he tried out the programm...and it works.
>
>I really dont know what you mean with :
>"Does the Mathematica front end launch along with the kernel when you start
>GraphicsApp (it should)?"
>
>I will search the manual for the front end and study it. I think if the
>GraphicsApp example will work, my own Projekt will work,too.
>
>thanks a lot, torsten
>

Torsten,

What I mean by "does the front end launch" is the following. When Java
launches the Mathematica kernel, you will see it appear in the Windows
taskbar. Programs like GraphicsApp that use the services of the
Mathematica notebook front end need to launch the front end as well as
the kernel. You should see another process called "Mathematica 4.1" (or
something like that) show up in the taskbar. Thus my question is
whether you see just one program (Mathematica kernel) appear in the
taskbar, or two.

My guess is that you don't see the front end launch, and I think I know
why. J/Link must be properly installed for GraphicsApp to work.
Specifically, the JLink.m file needs to be read into the kernel by the
internals of J/Link, so it must be somewhere the kernel can find it.
Make sure you have followed the J/Link installation instructions. There
should be a JLink directory containing the file JLink.m (and several
other subdirectories) in your <Mathematica dir>/AddOns/Applications
directory.


--Todd Gayley
Wolfram Research


  • Prev by Date: Re: Algorithm Questions
  • Next by Date: Re: roots
  • Previous by thread: Re: Java, Graphics Output, MathCanvas
  • Next by thread: Re: Java, Graphics Output, MathCanvas