This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 2739

Summary: Cannot run test applet in CPTest (SwingApplet).
Product: java Reporter: Marian Petras <mpetras>
Component: UnsupportedAssignee: Marian Petras <mpetras>
Status: CLOSED WORKSFORME    
Severity: normal    
Priority: P2    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Marian Petras 1999-07-24 03:35:57 UTC
[IAN] Looks like it had bad executor set (not the Applet Executor) - I tried it and new JApplet classes have the Applet Executor set correctly

Cannot run SwingApplet.


Output window dump:
Exception in thread "main" java.lang.NoSuchMethodError: mai

Note: An applet with the following code ran correctly:

/*
 * NewApplet.java
 *
 * Created on July 23, 1999, 6:54 PM
 */

package com.netbeans.testx;

import java.awt.Graphics;

/**
 *
 * @author  mpetras
 * @version
 */
public class NewApplet extends java.applet.Applet {


  /**  @param args the command line arguments
   */
  public void init () {
    //ChoicePanel panel = new ChoicePanel();
    //getContentPane().add(panel);
  }

  public void paint(Graphics g) {
    g.drawOval(40,40,30,20);
  }

}
Comment 1 Quality Engineering 2003-07-02 15:34:37 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 2 Quality Engineering 2003-07-02 15:43:12 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.