[Jprogramming] Drawing program in J?

Oleg Kobchenko olegykj at yahoo.com
Tue Aug 22 01:34:29 HKT 2006


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 <eiverson at sympatico.ca> 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" <ronan at cs.nuim.ie>
> To: "Programming forum" <programming at jsoftware.com>
> 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" <olegykj at yahoo.com> 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 <ronan at cs.nuim.ie> 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: Ronan.Reilly at nuim.ie
> >>> 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: Ronan.Reilly at nuim.ie
> > 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 


More information about the Programming mailing list