LPrincesay 2019-11-18 22:22
浏览 295

构造器传参错误?this.this$0=this$0?

求助求助!!

编译显示:无法将 java.awt.event.WindowAdapter中的构造器WindowAdapter应用到给定类型;实际参数列表与形式参数列表长度不同;
this.this$0=this$0;是什么意思?这个编译显示:找不到符号;

private void jbInit() throws Exception {
        this.setLayout((LayoutManager)null);
        this.view.setBackground(Color.white);
        this.view.setBounds(new Rectangle(6, 26, 537, 316));
        this.setBackground(Color.gray);
        this.addWindowListener( new WindowAdapter((CurveShow)this) {

            {
                this.this$0 =this$0;
            }

            public void windowOpened(WindowEvent e) {
                this.this$0.this_windowOpened(e);
            }

            public void windowClosing(WindowEvent e) {
                this.this$0.this_windowClosing(e);
            }
        });
        this.choicelen.setBounds(new Rectangle(69, 355, 94, 21));
        this.choicelen.addItemListener(new ItemListener() {
            {
                this.this$0 = this$0;
            }

            public void itemStateChanged(ItemEvent e) {
                this.this$0.choicelen_itemStateChanged(e);
            }
        });

求助

  • 写回答

0条回答 默认 最新

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥15 python打包APP运行报错求指导
      • ¥15 easyclick重启app
      • ¥15 ros系统里Python版本问题
      • ¥15 不兼容驱动程序删不了,内核隔离打不开
      • ¥15 Centos7重启网卡自动down,只能手动up
      • ¥15 multisim用74ls148做一个5号病号呼叫系统
      • ¥15 单片机,传感器,LCD1602
      • ¥15 关于adams 批处理仿真时间太长的问题
      • ¥15 fate部署问题请求帮助
      • ¥15 关于#arcpy#的问题:arcpy栅格计算器批处理(语言-python)