Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] how can i change the Button background


    somebody can tell me how can i change the button's background,i use the

    Button myButton=new Button(parent,SWT.PUSH);

    myButton.setBackground(new Color(Display.getCurrent(),241,241,241);

    but no any change the background of the button

    so can you tell me why?


Back to the top