protected void createPlugins(JGraphEditor editor) {
if (defaultPlugins != null) {
for (int i = 0; i < defaultPlugins.length; i++) {
try {
System.out.print("Loading " + defaultPlugins[i] + "... ");
JGraphEditorPlugin plugin = (JGraphEditorPlugin) Class
.forName(defaultPlugins[i]).newInstance();
plugin.initialize(editor, null);
System.out.println("Done");
} catch (Throwable e) {
System.out.println("Not Available");
}
}