HelloWorld with JBotSim

The HelloWorld is pretty minimalist.

import jbotsim.Topology;
import jbotsim.ui.JViewer;

public class HelloWorld{
    public static void main(String[] args){
        Topology tp = new Topology();
        new JViewer(tp);
    }
}    

You can link JBotSim as follows:

The Topology is central in JBotSim. It manages the nodes and links and performs automated tasks like initializing the message engine and updating wireless links.

The JViewer allows you to visualize the topology and interact with it in several ways. For instance, you can add nodes (left click), delete them (right click), or move them around (drag & drop) with the mouse.