// This example script creates a 16 channel hyperstack and then // uses the ChannelArranger to reverse the order of the channels. importClass(Packages.ij.IJ) importClass(Packages.ij.plugin.ChannelArranger) importClass(Packages.ij.gui.WaitForUserDialog) c=16; z=5; t=10; img = IJ.createImage("HS", "8-bit color-mode label",400,300,c,z,t); img.show(); new WaitForUserDialog("Click OK to continue").show(); order = new Array(c); for (i=0; i