我有用图形绘制的多个图像。我如何使它们出现并使用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