if (dataHandler != null) {
dataHandler.setProperty("title", new String[] {args});
}
} else if ("type".equals(cmd)) {
if ("line-sample".equals(parts[1])) {
dataHandler = new LineSampleChart();
} else if ("line".equals(parts[1])) {
dataHandler = new LineChart();
} else {
context.err.println("Unknown window data handler type: " + parts[1]);
}