对于SWING,APPLET的程序,有办法DEBUG吗??对一个上W行的程序来说,
不能DEBUG实在是一种TONG苦的事情,有无办法DEBUG??急呀............

解决方案 »

  1.   

    非要dubug吗?难道你不会把你要监视的数据打印出来,用system.out.println()呀,把你要看的参数打印出来呢?以前做applet的时候用jbuilder,记得好像可以debug的
      

  2.   

    肯定可以debug!为什么不能debug啊?
      

  3.   

    public static void main(String[] args) {
        Applet applet = new MyApplet();
        applet.isStandalone = true;
        Frame frame;
        frame = new Frame();
        frame.setTitle("Applet Frame");
        frame.add(applet, BorderLayout.CENTER);
        applet.init();
        applet.start();
        frame.setSize(640, 480);
        Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
        frame.setLocation( (d.width - frame.getSize().width) / 2,
                          (d.height - frame.getSize().height) / 2);
        frame.setVisible(true);
      }把这个main方法放在你的Applet里,然后就当一个普通的UI去Debug吧
      

  4.   

    详情请看这里!
    http://skzr-org.javaeye.com/blog/249589
      

  5.   

    可以debug耶……反正我在eclipse里可以。
      

  6.   

    肯定可以啊Debug啊,Eclipse、、、