Ronan may have referred to wd 'setinvalid' which used to give (pre-t beta) domain error.
There is an alternative version now, which compensates for j601 pre-t beta (that and glwindoworg reset before explicit glpaint). These are tiny changes, so it's OK to code against that to update later when t+ comes out for Mac. http://www.jsoftware.com/jwiki/Scripts/Diagram See if it would work. --- Eric Iverson <[EMAIL PROTECTED]> wrote: > wd and gl2 are both fully portable across all platforms. If you are > running ./jw on your Mac everything you see is with wd and gl2 > (including all the demos for plot, grid, etc). The gl2 labs should work > there as well. > > ----- Original Message ----- > From: "Ronan Reilly" <[EMAIL PROTECTED]> > To: "Programming forum" <[email protected]> > Sent: Monday, August 21, 2006 4:13 AM > Subject: Re: [Jprogramming] Drawing program in J? > > > > Thanks Oleg. This is really helpful. > > > > I'm running J on a Mac (601p beta under OS X 10.4). I'm assuming that > > wd > > calls do not work in this environment. Is there an alternative? > > > > Ronan > > > > > > On 21/08/2006 01:35, "Oleg Kobchenko" <[EMAIL PROTECTED]> wrote: > > > >> That's an interesting project. > >> See a prototype of diagram drawing with J > >> > >> http://www.jsoftware.com/jwiki/Scripts/Diagram > >> > >> You might be looking for something similar to > >> what the BlueJ project does: > >> > >> http://www.bluej.org/ > >> > >> > >> --- Ronan Reilly <[EMAIL PROTECTED]> wrote: > >> > >>> I'm planning to write a drawing program that needs to communicate > >>> with J. > >>> Functionally, the programme is intended to be a tool for creating > >>> something > >>> like UML diagrams (boxes, arrows, and some code generation). > >>> Actually, the > >>> form editor seems to have some of the functionality I need. > >>> > >>> Ideally I'd like to be able to do it all in J, but it's unclear to > >>> me from > >>> the form and openGL documentation how easy this would be. For > >>> example, > >>> would I be better off using, say, Tcl/Tk or Perl/Tk for the graphics > >>> and > >>> communicating to the JE via sockets? > >>> > >>> Any suggestions/advice would be appreciated. > >>> > >>> Ronan > >>> > >>> -- > >>> Ronan Reilly > >>> Department of Computer Science > >>> NUI Maynooth > >>> Maynooth > >>> Co. Kildare > >>> IRELAND > >>> > >>> t: +353-1-7083847 > >>> e: [EMAIL PROTECTED] > >>> w: http://www.cs.nuim.ie; http://cortex.cs.nuim.ie > >>> > >>> > >>> > >>> ---------------------------------------------------------------------- > >>> For information about J forums see > >>> http://www.jsoftware.com/forums.htm > >>> > >> > >> > >> __________________________________________________ > >> Do You Yahoo!? > >> Tired of spam? Yahoo! Mail has the best spam protection around > >> http://mail.yahoo.com > >> ---------------------------------------------------------------------- > >> For information about J forums see > >> http://www.jsoftware.com/forums.htm > >> > > > > -- > > Professor Ronan Reilly > > Head of Department > > Department of Computer Science > > NUI Maynooth > > Maynooth > > Co. Kildare > > IRELAND > > > > t: +353-1-7083847 > > e: [EMAIL PROTECTED] > > w: http://www.cs.nuim.ie; http://cortex.cs.nuim.ie > > > > > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
