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 - Cannot run test applet in CPTest (SwingApplet).
Summary: Cannot run test applet in CPTest (SwingApplet).
Status: CLOSED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P2 normal (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-07-24 03:35 UTC by Marian Petras
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.