I don't believe there is a change in JMP14. The option Make Window with Legend(1) is creating a window, but it is not myWin, it is an independent window called Legend. Below is a modification of Jim's script to demonstrate this subtle issue. Change the OutlineBox name to My Legend. The New Window () command s not needed, it is for demonstration. Bottom line is Make Window with Legend() creates an independent window, and it is unneccesary.
names default to here(1);
dt0=open("$SAMPLE_DATA/big class.jmp");
myColor="sex";
myWin=0;
myWin = Outline Box( " My Legend",
H List Box(
myPlot = dt0 << Color or Mark By Column(
Eval( myColor ),
Color Theme( "POR Black" ),
Marker Theme( "standard" ),
Continuous Scale( 0 ),
//Make Window With Legend( 1 )
)
)
);
myWin << Journal;
wait(0);
new window("show it", myWin);
wait(2);
myWin << close window();