private void displayDUFrame(XHSIInstrument window, boolean display) {

//        if ( window.du.enabled() ) {

            switch (window.get_index()) {
                case XHSIInstrument.EMPTY_ID :
                    ((EmptyComponent)window.components).forceReconfig();
                    break;
                case XHSIInstrument.PFD_ID :
                    ((PFDComponent)window.components).forceReconfig();
                    break;
                case XHSIInstrument.ND_ID :
                    ((NDComponent)window.components).forceReconfig();
                    break;
                case XHSIInstrument.EICAS_ID :
                    ((EICASComponent)window.components).forceReconfig();
                    break;
                case XHSIInstrument.MFD_ID :
                    ((MFDComponent)window.components).forceReconfig();
                    break;
                case XHSIInstrument.ANNUN_ID :
                    ((AnnunComponent)window.components).forceReconfig();
                    break;
                case XHSIInstrument.UH60M_ID :
                    ((UH60MComponent)window.components).forceReconfig();
                    break;
                    
            }
    //        window.frame.setVisible(display);
            //this.pilot_nd_frame.setIgnoreRepaint(true);
            //this.pilot_nd_frame.repaint();
            window.frame.repaint();

//        }

    }