Java - JFrame 設置背景圖片

設置JFrame的背景圖片由兩種方式: 1.Jpanel類的paintComponent(Graphics g)從新繪製背景圖片 2.利用LayeredPane爲Swing控件增長了深度,容許組建在須要的時候互相重疊 由低到高的層次是:Default,Palette,Modal,PopUp,Drag 運行展現:稍後上傳html API查詢: Jpanel:http://docs.oracl
相關文章
相關標籤/搜索