public ActiveWaypointComponentPanel() {
    super();

    activeWaypointPanel = new ActiveWaypointPanel();
    activeWaypointPanel.setBorder(new EtchedBorder(EtchedBorder.LOWERED, null, null));
    setBorder(null);

    setLayout(new BorderLayout(0, 0));
    add(activeWaypointPanel, BorderLayout.NORTH);
    setVisible(false);
  }
 @Override
 public void findAndInit(Object obj) {
   if (obj instanceof RouteManager) {
     routeManager = (RouteManager) obj;
     activeWaypointPanel.setRouteManager(routeManager);
     routeManager.addListener(this);
     return;
   }
   if (obj instanceof PntHandler) {
     ((PntHandler) obj).addListener(this);
   }
 }
 /** Receive PNT update */
 @Override
 public void pntDataUpdate(PntData pntData) {
   activeWaypointPanel.updateActiveNavData();
 }
 /** Receive route update */
 @Override
 public void routesChanged(RoutesUpdateEvent e) {
   activeWaypointPanel.updateActiveNavData();
 }