1
如何使透明背景的圖像按鈕?三重播放按鈕:透明背景的圖像按鈕
默認背景爲灰色,我創建的按鈕與空文本和的setIcon,這樣的事情:
backButton = new Button(); //"Back");
backButton.setIcon(backIcon);
iface.createRoot(AxisLayout.vertical(), ROOT, modeLayer).
setStyles(make(VALIGN.top, HALIGN.right)).
setBounds(0, 0, width, height).
add(backButton);
但無法弄清楚如何使按鈕,可從API /源透明碼。
任何幫助/提示非常感謝。
來自Michael的很好答案:https://groups.google.com/forum/?fromgroups#!topic/ooo-libs/FaaANe7LgC4 – mamamia 2012-02-11 17:46:49