deploy.xml
, to initialize the application context:
void doSample (Container container) { try { if (isApplet()) IltSystem.Init(this, "deploy.xml"); else IltSystem.Init("deploy.xml");
container
is a
java.awt.Container
class.
// Create a simple network component step1(); // Create a simple tree // Add subnodes to show containment in tree and network step2(); // Create a simple table component step3(); // Configure the network component step4(); // Load alarms and show them in a separate table step5(container); // Update and remove objects step6(); // Create a new window to show details of equipment step7(); // Interactors: // - configure consistent pop-up menu on all components // - add double-click behavior for network elements // - show overview window on special keystroke step8(); // Synchronize selection between components step9(); } catch(Exception e){ log.severe("Exception caught while running sample: " + e.getMessage()); e.printStackTrace(); } }