@Override
    protected void paintComponent(Graphics g) {
     
        Operator op = Application.mediator.parser.start;
        while(op != null){
            if(!op.isConnection()){
                op.panel.drawPanel(g);
                if(op.next() != null){
                    op.panel.drawConnection(g);
                }
            }
            op = op.next;
        } 
    }