[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sc-devel] Yo sciss! Changes needed for JStartRow

I was just checking whether my CD-ROM examples for the book would work against SwingOSC and found the following changes are necessary to get FlowView:startRow to display properly. (A couple of minor changes are required in the main class library, small, noninvasive -- I already committed them.)

With these changes, FlowViews display correctly, but you get a ton of Java null pointer exceptions posted. The GUI looks and behaves right, so I'm not concerned about it except that it would bother users.

Could these go into the SwingOSC release for the CD-ROM? I'll file a bug at sourceforge.


diff /Users/dewdrop/SCServer/downloads/SwingOSC/SuperCollider/SCClassLibrary/SwingOSC/JStartRow.sc ./JStartRow.sc
<       var     view;
>       var     <>view;
<               new = super.new;
>               new = super.new(parent);
<               ^new.init
>               ^new.init(parent)
<       prInit {
>       prInit { |argParent, bounds, viewclass, argServer|
>               server = argServer;

diff /Users/dewdrop/SCServer/downloads/SwingOSC/SuperCollider/SCClassLibrary/SwingOSC/SwingGUI.sc ./SwingGUI.sc
< //    *startRow { ^JStartRow }
>       *startRow { ^JStartRow }

: H. James Harkins

: jamshark70@xxxxxxxxxxxxxxxxx

: http://www.dewdrop-world.net


"Come said the Muse,

Sing me a song no poet has yet chanted,

Sing me the universal."  -- Whitman