public void mousePressed(MouseEvent e){
        if (tipoObjeto==CONST.PUNTERO){
            Figura figura ;
            boolean b=false;
            if (listaFigura != null){
                for ( int i=0 ; i<listaFigura.size() ; i++ )  {
                    figura = listaFigura.get(i);
                    if ( figura.estaDentro(e.getPoint()) ){
                        b=true;
                        if ( figura.isSelect() ){
                            posRango=e.getPoint();
                        }else{
                            deseleccionarTodo();
                            figura.setSelect(true);
                            listaFigurasSelec.add(figura);
                            posRango=e.getPoint();
                            repaint();
                        }                        
                    }
                }
                if (b==false){
                    deseleccionarTodo();
                    seleccionando=true;
                    moviendo=false;
                    posIniSelect=e.getPoint();
                    repaint();
                    return;
                }else{
                    seleccionando=false;
                    moviendo=true;
                }
            }
        }
        else 
            if (tipoObjeto==CONST.CLASE){
                deseleccionarTodo();
                creandoClase = true;
                /*ventanaClase = new frmClase(this);
                ventanaClase.setLocation(e.getPoint());
                ventanaClase.setClase(new Clase("nueva Clase", e.getPoint()));
                ventanaClase.setVisible(true);*/
                //this.verForm( c, e.getPoint() );
                ClaseGrafica clase=new ClaseGrafica( "", e.getPoint() );
                this.verForm( clase, e.getPoint() );

                //this.listaFigura.add(clase);
                //this.add( clase );            
            }
        repaint();
    }