# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('setDefaultBackgroundColor.test', graph=makeSimpleGraph())
setDefaultBackgroundColor (cw, '#CCCC00')
cw2 <- CytoscapeWindow ('setDefaultBackgroundColor.test2', graph=makeSimpleGraph())
Run the code above in your browser using DataLab