日期:2014-05-20  浏览次数:20710 次

Java,SWT,如何增加选项卡按钮的宽度?
增加宽度后,上面可以加些图片什么的,本人初学Java,望指教!

------解决方案--------------------
SWT is in my impression developped and provided by IBM, and embedded in Eclipse. Normally you can find some useful infos in Eclipse. Anyway, you could use Swing or AWT which are powerful and can almost do everything you want.
------解决方案--------------------
记错了。。
下面是正确的

button.setSize();
button.setBackGroundImage();