Do the plot and isigraph demos work?
They may be complicated. But this is simple (below).
Does it work?

NB. =========================================================

require 'gl2'
coclass 'c1'
coinsert 'jgl2'

create=: 3 : 0
  wd 'pc f;xywh 6 6 100 100;cc g isigraph rightmove bottommove;'
  wd 'pas 6 6;pcenter'
  mydraw''
  wd 'pshow'
)

destroy=: 3 : 0
  wd'pclose'
  codestroy''
)

mydraw=: 3 : 0
  WH=. glqwh''
  glclear ''
  glrect 10 10,WH-20
  gllines 20 20,(WH-20)
  gllines 20,(_20+1{WH),(_20+0{WH),20
  glpaintx''
)

erase<'paint'
NB. f_g_paint=: mydraw  NB.  remove comment to auto-paint

f_close=: f_cancel=: destroy

''conew>coname''

NB. =========================================================



--- Henry Rich <[EMAIL PROTECTED]> wrote:

> I replaced glshow and glshowx a long time ago as part of the
> initial conversion to J6.
> 
> I get correct display on the jbeta.
> The new kbeta doesn't draw anything except white.  Something
> must have changed between the two betas, but I can't find
> a description of what.
> 
> Henry rich
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf Of bill lam
> > Sent: Tuesday, April 18, 2006 6:33 AM
> > To: Beta forum
> > Subject: Re: [Jbeta] gl2 Graphics gone in kbeta
> > 
> > I checked glshow and glshowx is dropped in beta j, it have to 
> > replaced by 
> > glpaint.  Does this solve your problem?
> > 
> > Henry Rich wrote:
> > > I just backed out the new J version and it works OK,
> > > so something has changed in the kbeta.


__________________________________________________
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

Reply via email to