package canlitahmin;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
public class baglanti {
// JDBC driver name and database URL
static final S
嘿傢伙。我有一個JPanel,它在點擊時改變顏色(這在另一個類中正確處理)。 不幸的是,當我打電話重繪()方法,它不畫(或它調用的paintComponent方法與VAR currentBGColor舊的顏色值 - >參見下面的代碼) public class MyClass extends JPanel {
curentBGColor = Color.red;
final int SIZE