我有用圖形繪製的多個圖像。我如何使它們出現並使用JCheckBox消失? private void drawImages(int index) {
Graphics g = mNew.getGraphics();
int x = index % this.width;
int y = index/this.width;
g.drawImage(imageLa
如何將GUI類中的實際複選框狀態(true/false)傳遞給另一個類?我只想在GUI中選擇複選框的情況下運行部分代碼。我想它必須是如果聲明(下面高亮部分),但我不能得到它的工作。 public class csvtoxls {
public static void main() throws IOException {
//here you enter the path t