JPanel ; import javax.swing. ... Line 25 constructs a JPanel object. ... In this example, we are setting all of the spaces at the edges to be 2 pixels.
確定! 回上一頁