Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] problem with Windows XP setting - Adjust for best performance

Hello All,

 

I have a piece of code where I add a combo box to a form and add a mouse listener to the combo box as follows –

        FormToolkit toolkit = getManagedForm().getToolkit();

        Combo comboDatabase = new Combo( group, SWT.BORDER | SWT.READ_ONLY );

        toolkit.adapt( comboDatabase,

                       true,

                       false );

        comboDatabase.setLayoutData( new TableWrapData( TableWrapData.FILL_GRAB, TableWrapData.MIDDLE, 2, 1 ) );

        comboDatabase.addMouseListener( new MouseListener() {

 

            public void mouseDoubleClick( MouseEvent e )

            {

                // TODO Auto-generated method stub

               

            }

 

            public void mouseDown( MouseEvent e )

            {

            }

 

            public void mouseUp( MouseEvent e )

            {

}

 } );

 

This code works fine and I get the mouseUp event.

 

Now If I go to MyComputer->Properties->Advanced Tab and change performance settings to “Adjust for best performance”, and restart my application, I stop getting the MouseUp Event on clicking combo box.

 

Is this is bug in eclipse or I am doing something wrong?

 

Thanks,

Sumitabh


Back to the top