Displaying visual and control
panel of Processor
void   displayGUI(){
     Component visual = processor.getVisualComponent();
      if( visual != null) {
        frame.getContentPane().add( visual, BorderLayout.CENTER);
}
     Component  control = processor.getControlPanelComponent();
     if( control != null) {
        frame.getContentPane().add(control, BorderLayout.SOUTH); }
       frame.addWindowListener(new WindowAdapter() {
           public void windowClosing(WindowEvent we) {
            processor.stop(); processor.close();
       }
     } );
     frame.pack(); frame.setVisible( true);
}