this works by never using the display:
dt=open("$sample_data/big class.jmp");
nodisplay = borderbox(
dt<<Graph Builder(
Size( 5180, 4480 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
Elements( Points( X, Y, Legend( 4 ) ), Smoother( X, Y, Legend( 5 ) ) )
)
);
nodisplay<<savepicture("$temp/deleteme.png","png");
nodisplay=0; // let go of the hidden report
pic=newimage("$temp/deleteme.png");
newwindow("x",pic);
show(pic<<size); // pic << size = {5304, 4518};
pic=0; // let go of the picture
deletefile("$temp/deleteme.png");
The platform uses the borderbox as its parent, and the JSL variable holds the borderbox. The window that opens with the picture has scroll bars; it is a static image of the live report that is not otherwise visible.
Craige