我試圖實現一個JLabel,它使用鼠標指針移動到容器中,其容量爲mouseMotionListener,但JLabel未出現在屏幕上。有什麼建議麼? public class Ships extends JFrame implements ActionListener{
private JPanel contentPane;
int x=418,p=75,l=10;
這將是很長,所以在此先感謝閱讀和/或回答:) 編輯:這How to draw a continuous curve of repeated ovals on speedy mouse cursor dragging?有一個答案,我不完全罰款,難道就沒有別的這樣做的方法比在矩形或橢圓之間繪製直線? (如果是矩形或橢圓形,對我無關緊要)。 我搜索了很多並沒有找到我正在尋找的東西,所以我們去: 我必須爲