[英]JComponent - set transparent background
我在面板上有一個JTable和一個JLabel。 我將其設置為背景圖像,但無法擺脫表格和標簽中的灰色背景。
我該怎么做?
嘗試做.setOpaque(false); 在您的JTable和JLabel上
.setOpaque(false);
[英]Set transparent background on JList
[英]Set jInternalFrame background to transparent
[英]How to set a transparent background?
[英]Set transparent background of the taken Snapshot
[英]How to set transparent background of JDialog
[英]Android LinearLayout, set background to Transparent
[英]How to set a control to a transparent background
[英]How to set a transparent background of JPanel?
[英]How to set a button background to transparent?
[英]Set JFrame background transparent but show contents
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.