private void formMouseMoved(java.awt.event.MouseEvent evt)//GEN-FIRST:event_formMouseMoved
    {//GEN-HEADEREND:event_formMouseMoved


        for (DrawComponets dc : components)
        {
            if (!(dc instanceof DCConector) && dc.isEnterd(evt.getPoint()))
            {
                setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
                if(dc_selected!=null)
                    dc_selected.setSelected(false);
                
                dc_selected = dc;
                dc_selected.setSelected(true);
                break;
            } else
            {
                if (dc_selected instanceof DCConector)
                {
                    //do nothing 
                } else
                {
                    setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
                   // dc_selected = null;
                }
            }
        }


        repaint();
    }//GEN-LAST:event_formMouseMoved