setBorder(border) − To set the desired border to the JLabel. Example. import java.awt.BorderLayout; ...
確定! 回上一頁