2011-06-22 37 views

回答

1

如果它是非常重要的,你也許可以掛接到Paint事件繪製自己的文字...我還沒有嘗試過,雖然:-)

2

取決於您想要更改後/前景的控件。在SWT Javadoc the setBackgroundColor method你可以找到本說明

Note: This operation is a hint and may be overridden by the platform. For example, on Windows the background of a Button cannot be changed.

相關問題