SEM-CPM: PerspectiveOverview Applet can't be instantiated

In SEm-CPM, we encountered an error message when running Scorecard Perspective View on the web, but we don't have the same problem in GUI. The error message says:"Perspective Overview can't be instantiated yet." We are actually using SEM3.1 SP21. Actually one of our clients that is using lower support level than we have does not have this problem.
I even imported the latest jova program "PerspectiveOverview.jar" from SAP service market. I still received the same error.
Can someone shed some lights on this issue?
thanks a lot.

here is my code:
import java.io.*;
import java.lang.*;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import com.borland.jbcl.layout.*;
import com.borland.jbcl.control.*;
public class inv1 extends Applet {
XYLayout xYLayout1 = new XYLayout();
boolean isStandalone = false;
Button button1 = new Button();
TextField textField1 = new TextField();
public inv1() {
public boolean action (Event e, Object arg)
if (e.target == button1)
Runtime rt = Runtime.getRuntime();
try
String programm="/*Line of the programmcall";
Process p = rt.exec(programm);
catch( IOException ee)
return true;
return false;
public void init() {
try {
jbInit();
catch(Exception e) {
e.printStackTrace();
private void jbInit() throws Exception {
button1.setLabel("button1");
xYLayout1.setWidth(400);
xYLayout1.setHeight(300);
this.setLayout(xYLayout1);
textField1.setText("textField1");
this.add(button1, new XYConstraints(198, 54, 98, 31));
this.add(textField1, new XYConstraints(41, 51, 149, 37));
public String getAppletInfo() {
return "Applet-Information";
public String[][] getParameterInfo() {
return null;
}

Similar Messages

  • Applet can't be instantiated on IE browser.

    I have created an SWING Applet (JApplet). It works fine inside JDeveloper IDE using the Appletviewer but when I deploy it and I try to launch it through the Internet Explorer browser I get the following message:
    "Applet can't be instantiated".
    I'm working with JDeveloper 3.1.1.2
    Can somebody help me out with this? I will really appreciate it.
    null

    In the java console of IE are you getting any class not found errors?
    Please refer to the following URL (Swing Applet Test ) to check whether your browser supports swing classes or not.
    http://java.sun.com/products/jfc/tsc/articles/getting_started/applet_test.html
    Another way to create and run Swing applets in IE or netscape is to use Java Plug-in.
    null

  • IE says that my applet can't be instantiated

    Okay, the applet I've made can be viewed by the appletviewer whereas IE says it can't be instantiated. Is there a problem with regards to inheritance? I've tried using javac -target 1.1 to compile the code and it still didn't work. It does work for my other applets.
    I'm posting the codes for the html and the two files I've made.
    listapplet.html<html>
    <head>
    <title>List Applet</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF" text="#000000" background="bbg.jpg">
    <applet code="ListApplet.class" width="994" height="67">
    </applet>
    </body>
    </html>
    ListApplet.java
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.Applet;
    public class ListApplet extends Applet implements ItemListener{
    MyList lstsample=new MyList();
    Label lblsample=new Label();
    public void init(){
    setLayout(new GridLayout(2,1));
    lstsample.addItemListener(this);
    add(lstsample);
    add(lblsample);
    public void itemStateChanged(ItemEvent ie){
    if(ie.getSource()==lstsample){
    lblsample.setText("You have chosen"+ lstsample.getSelectedItem());
    MyList.java
    import java.awt.*;
    public class MyList extends List{
         String[] str={"Migs", "Myles", "Jet", "Lans", "Tins", "Liz"};
         MyList(){
              for(int i=0;i<str.length;i++){
                   this.add(str);

    Errmmm... errors?
    How could it have errors when it runs perfectly well with appletviewer? I used the modification you suggested and it did run using appletviewer.
    Better yet, it can be compiled by java. I don't think there are errors, really since that kind of error you stated I feel should be found by the Java compiler, that's where I usually encounter such errors.
    I'm not really sure if it's how I compiled it(Since somebody told me to compile it using javac -target 1.1 ArchiveName.java and it worked on my other projects that don't have inheritance and uses other classes) I really don't have an idea if it was compiled using 1.1 JVM since I only mostly know the principles of Java and not exactly the more advanced parts.
    Besides MyList.java:9 reads like this               
    this.add(str);
    the value i indicates an integer.
    So it's not a String array rather a String object. Maybe something wrong with my post?

  • Help!!! Applet can't be instantiated Error

    Hi,
    I am opening an applet in IE. But All i am getting is blank frame.
    When i move my curser over the applet I am reading this error
    loads: com.blny.scan.db.ScanViewApplet can't be instantiated
    Any help or suggestions are always appreciated.
    Thanks in advance.

    thank you for your reply.
    I am using jbuilder to develop this project. I have a applet-servlet commucication which gets the image from db and displays in applet.
    This works fine in JBuilder, but when i am opening this in IE I am getting the same error as i stated earlier.
    thanks.
    here is my html code
    <html>
    <head>
    <title>
    HTML Test Page
    </title>
    </head>
    <body>
    com.blny.scan.db.ScanViewApplet will appear below in a Java enabled browser.<br>
    <applet
    codebase = "."
    archive = "SCAN_PROJECT.jar"
    code = "com.blny.scan.db.ScanViewApplet.class"
    name = "TestApplet"
    width = "899"
    height = "662"
    hspace = "0"
    vspace = "0"
    align = "middle"
    >
    </applet>
    </body>
    </html>

  • Applet can't be instantiated

    I'm trying to run an applet within IE, but it won't work.
    The applet is compiled for 1.1, and it works in appletviewer just fine...what could be the problem?

      //Component initialization
      private void Init() throws Exception {
        this.setLayout(gridBagLayout1);
        jPanelVariables.setLayout(gridBagLayout2);
        labelPV.setText("Starting Principal");
        labelr.setText("Interest Rate");
        labeln.setLocale(java.util.Locale.getDefault());
        labeln.setText("Years");
        labelFV.setText("Future Value");
        textFieldPV.setColumns(10);
        textFieldPV.setText("100000");
        textFieldr.setColumns(10);
        textFieldr.setText("8.0");
        textFieldn.setColumns(10);
        textFieldn.setText("15");
        textFieldFV.setColumns(10);
        textFieldFV.setText("");
        buttonCalculate.setLabel("Calculate");
        buttonCalculate.addActionListener(this);
        this.add(jPanelVariables, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
             ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
        jPanelVariables.add(labelPV,          new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
             ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
        jPanelVariables.add(labelr,          new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0
             ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
        jPanelVariables.add(labeln,        new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0
             ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
        jPanelVariables.add(labelFV,       new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0
             ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
        jPanelVariables.add(textFieldPV,       new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0
             ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
        jPanelVariables.add(textFieldr,     new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0
             ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
        jPanelVariables.add(textFieldn,    new GridBagConstraints(1, 2, 2, 1, 0.0, 0.0
             ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
        jPanelVariables.add(textFieldFV,    new GridBagConstraints(1, 3, 1, 1, 0.0, 0.0
             ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
        jPanelVariables.add(buttonCalculate,  new GridBagConstraints(0, 4, 2, 1, 0.0, 0.0
             ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
      }Here's the full code for the initialization stuff that goes on the screen...instead of doing it this way, should I make a paint() and redo this in there?

  • Error with signed applet "class can't be instantiated"

    hi,
    I developed an applet to make a ftp connexion to upload files from the local disk and the applet is already signed. At first I compiled it with the 1.4 version and I got (from other computers) the error "class not found". Then I used the target 1.1 option and now I get the error "class can't be instantiated"
    Do I need any additional code?
    I am using all these imports
    import java.applet.Applet;
    import java.applet.AppletContext;
    import java.awt.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import javax.swing.JComponent;
    import javax.swing.JProgressBar;
    import javax.swing.*;
    Thanks

    go to
    Tools->Internet Options->Advanced
    Look for "Java (Sun)" (normally near Microsoft VM). I uncheck all the Microsoft VM options but am not sure if that is really necessary.
    Also play with Control Panel, you should see "Java Plug-in" in there and be able to configure browsers a bit with that.

  • Applet in ie 5.0: class can not be Instantiated

    Hi!
    My problem is an Applet, which works fine with the appletviewer and with my iExplorer 5.0.
    But when I tried to install my Application (the Applet is part of a J2EE-WebApp) on the tomcat of an other computer, I get the
    "class can not be instantiated"-Error and iE 5.0 only displays a grey box in the size of the Applet. With the appletviewer it works.
    I got the same tomcat, same mySQL and same browser on both computers.
    I also invoked the application running in tomcat on my computer from 2 other computers - on one of them, the Applet was shown, on the other, I only got this grey box.
    The version of the iExplorer was exactly the same.
    What can be wrong?

    Are you sure there is a static method in the Applet class named newAudioChip that takes a URL as an argument?

  • Load: AcidRainApplet.class can't be instantiated

    The error "load: AcidRainApplet.class can't be instantiated" is coming up on this bit of code, any ideas on being rid of it?
    // The "AcidRainApplet" class.
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Date;
    import javax.swing.*;
    public class AcidRainApplet extends Applet implements KeyListener, ActionListener
      public AcidRainApplet ()
        super ();
      int width = 600, height = 450;
      int x = width / 2, y = height - 100, w = 27, h = 40;
      int count = 0;
      boolean playing = true, pause = true;
      Font endFont = new Font ("Arial Black", Font.PLAIN, 36);
      Font ptFont = new Font ("Westminster", Font.PLAIN, 28);
      int points = 0;
      int numRain = 80;
      int maxRain = 200;
      int speed = 5;
      ImageIcon imgi = new ImageIcon ("homer.gif");
      Image ch = imgi.getImage ();
      javax.swing.Timer t;
      public void init ()
        setBackground (Color.black);
        t = new javax.swing.Timer (speed, this);
        this.addKeyListener (this);
        for (int i = 0 ; i < maxRain ; i++)
          rain = new Rain ();
    } // init method
    public void paint (Graphics g)
    super.paint (g);
    g.setColor (Color.white);
    g.drawString ("" + numRain, width - 20, 15);
    if (playing)
    g.drawImage (ch, x, y, null);
    g.setColor (Color.green);
    for (int i = 0 ; i < numRain ; i++)
    g.drawLine (rain [i].x, rain [i].y, rain [i].x, rain [i].y - 10);
    if (!(pause))
    rain [i].y += rain [i].sp;
    if (rain [i].y > height)
    rain [i].x = (int) (Math.random () * width);
    rain [i].y = 0;
    rain [i].sp = (int) (Math.random () * 5) + 2;
    points++;
    else if (rain [i].x >= x && rain [i].x <= x + w && rain [i].y >= y && rain [i].y <= y + h)
    playing = false;
    else
    g.drawString ("PRESS ENTER TO PLAY AGAIN", 180, 400);
    g.setFont (endFont);
    g.setColor (Color.red);
    g.drawString ("GAME OVER", 150, 200);
    g.setFont (ptFont);
    g.setColor (Color.green);
    g.drawString ("Score: " + points, 200, 300);
    t.stop ();
    if (pause)
    g.setColor (Color.green);
    g.drawString ("PRESS ENTER", 200, 200);
    } // paint method
    public void resetVars ()
    x = width / 2;
    y = height - 100;
    count = 0;
    playing = true;
    pause = true;
    points = 0;
    maxRain = 200;
    speed = 5;
    for (int i = 0 ; i < maxRain ; i++)
    rain [i] = new Rain ();
    public class Rain extends Applet
    Rain ()
    int x = (int) (Math.random () * width);
    int y = 0;
    int sp = (int) (Math.random () * 5) + 2;
    Rain rain [] = new Rain [maxRain];
    public void actionPerformed (ActionEvent e)
    repaint ();
    public void keyTyped (KeyEvent k)
    public void keyPressed (KeyEvent k)
    int key = k.getKeyCode ();
    if (!(pause))
    if (key == k.VK_LEFT && x > 0)
    x -= 5;
    if (key == k.VK_RIGHT && x + w < width)
    x += 5;
    if (key == k.VK_DOWN && numRain > 10)
    numRain -= 10;
    repaint ();
    if (key == k.VK_UP && numRain != maxRain)
    numRain += 10;
    repaint ();
    if (key == k.VK_ENTER)
    if (pause)
    pause = false;
    t.start ();
    else if (!(playing))
    resetVars ();
    else
    pause = true;
    t.stop ();
    public void keyReleased (KeyEvent k)
    } // AcidRainApplet class

    Irrespective of the working of your program, I would suggest you remove a lot of weeds and clean the code. That would help you do easier debugging .
    Somethings I can quickly tell are,
    the constructor in AcidRainApplet not useful, Rain implementing Applet not useful, implements KeyListener, ActionListener can be delegated to another class, usage of inner class can be rethinked of delegation can be given a thought. Following code can be thought of :
      class Rain
        private  int x = 0;
        private int y = 0;
        private int sp = 0;
        Rain ()
          reset();
        public int getX() {
          return x;
        public int getY() {
          return y;
        public void setX(int x) {
          this.x = x;
        public void setY(int y) {
          this.y = y;
         public void reset() {
          x = (int) (Math.random () * width);
          y = 0;
          sp = (int) (Math.random () * 5) + 2;   
      }Good wishes,
    Rajesh

  • Class can't be instantiated

    Hi guys
    Just having trouble running this applet for some reason, in any browser. Other applets are working at the minute, so it doesn't look like a prob with the browsers or JVM.
    Heres the code, followed by the error message.
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    public abstract class ColourButtons extends Applet
                                              implements ActionListener, MouseListener
         private Button colorButtons[] = new Button[7];
        private Color color = Color.black;
         int x1, y1, x2, y2 = 1;
        public void init()
              setLayout(new BorderLayout(20,20));
              Panel pWest = new Panel();
              pWest.setLayout(new GridLayout(7,1));
              for(int x =0; x <= 6; x++)
                   colorButtons[x] = new Button("   ");
                   pWest.add(colorButtons[x]);
                   add("West",pWest);
                   //add actionlisteners for each button
                   colorButtons[x].addActionListener(this);
                   if(x == 0){
                        color = Color.red;}
                   else if( x==1){
                        color = Color.blue;}
                   else if(x==2){
                        color = Color.green;}
                   else if(x==3){
                        color = Color.yellow;}
                   else if(x==4){
                        color = Color.orange;}
                   else if(x==5){
                        color = Color.black;}
                   else if(x==6){
                        color = Color.white;}
                   colorButtons[x].setBackground(color);
            setBackground(Color.gray);
        public void paint(Graphics g)
              Graphics2D g2 = (Graphics2D)g;
              g2.setColor(color);
              //create Rectangle Object
              Rectangle myRectangle = new Rectangle(x1,y1,x2,y2);
              g2.draw(myRectangle);
                       g2.drawString("HELLO", 150,100);
        public void actionPerformed(ActionEvent a)
            Button button = (Button)a.getSource();
            color = button.getBackground();
            repaint();
        public void mouseClicked(MouseEvent e)
        public void mouseEntered(MouseEvent e)
        public void mouseExited(MouseEvent e)
        public void mousePressed(MouseEvent e)
              x1 = e.getX();
              y1 = e.getY();
        public void mouseReleased(MouseEvent e)
              x2 = e.getX();
              y2 = e.getY();
    }And heres the error message.
    load: ColourButtons.class can't be instantiated.
    java.lang.InstantiationException
    at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance
    (InstantiationExceptionConstructorAccessorImpl.java:30)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:306)
    at java.lang.Class.newInstance(Class.java:259)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:566)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:495)
    at sun.applet.AppletPanel.run(AppletPanel.java:292)
    at java.lang.Thread.run(Thread.java:536)
    Any ideas at what is wrong?
    Any help/pointers greatly appreciated
    Cheers

    ok cheers thats sorted it. For some reason it wanted it to be abstract once i added mouse listener i think.
    Anyway cheers

  • "Class can't be instantiated " error message. Help !

    Dear Java People,
    In trying to do a program that outputs a sound with every button click
    I have no compilation errors but a runtime error that says:
    "class can't be instantiated"
    below is the program and below that the error message
    thank you in advance
    Norman
    import java.util.*;
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.applet.*;
    import java.awt.event.*;
    import java.net.*;
    public abstract class MyMusicApplet_1 extends JApplet implements ActionListener, AppletContext
         //AppletContext myAppletContext =   new AppletContext();
         //Iterator i =   myAppletContext.getStreamKeys();
         JButton myJButton;
         AudioClip acSound_1;
         AudioClip acSound_2;
         AudioClip acSound_3;
         AudioClip acSound_4;
         AudioClip acSound_5;
         AudioClip acSound_6;
         AudioClip acSound_7;
         AudioClip acSound_8;
         AudioClip acSound_9;
         JButton myJButtonSound1;
         JButton myJButtonSound2;
         JButton myJButtonSound3;
         JButton myJButtonSound4;
         JButton myJButtonSound5;
         JButton myJButtonSound6;
         JButton myJButtonSound7;
         JButton myJButtonSound8;
         JButton myJButtonSound9;
      public void init()
            try
             acSound_1 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_2 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_3 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_4 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_5 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_6 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_7 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_8 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_9 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             catch (MalformedURLException e)
               System.out.println("Error here " );
           Container myContentPane = getContentPane();
           myContentPane.setLayout(new FlowLayout(FlowLayout.RIGHT));
            Dimension buttonSize = new Dimension(190,100);
           Font myFont = new Font("Arial", Font.BOLD,14);
           Border myEdge = BorderFactory.createRaisedBevelBorder();
                    //create 1st button's object
                     myJButtonSound1 = new JButton("sound #1");
                    myJButtonSound1.addActionListener(this);
                   //set the button's border and size, font background and foreground
                   myJButtonSound1.setBorder(myEdge);
                   myJButtonSound1.setPreferredSize(buttonSize);
                   myJButtonSound1.setFont(myFont);
                   myJButtonSound1.setBackground(Color.orange);
                   myJButtonSound1.setForeground(Color.black);
                    //create 2nd button's object
                     myJButtonSound2 = new JButton("sound #2");
                    myJButtonSound2.addActionListener(this);
                   //set the button's border and size, font, background and foreground
                   myJButtonSound2.setBorder(myEdge);
                   myJButtonSound2.setPreferredSize(buttonSize);
                   myJButtonSound2.setFont(myFont);
                   myJButtonSound2.setBackground(Color.blue);
                   myJButtonSound2.setForeground(Color.black);
                    //create 3rd button's object
                     myJButtonSound3 = new JButton("sound #3");
                    myJButtonSound1.addActionListener(this);
                   //set the button's border and size, font, background and foreground
                   myJButtonSound3.setBorder(myEdge);
                   myJButtonSound3.setPreferredSize(buttonSize);
                   myJButtonSound3.setFont(myFont);
                   myJButtonSound3.setBackground(Color.cyan);
                   myJButtonSound3.setForeground(Color.black);
                    //create 4th button's object
                     myJButtonSound4 = new JButton("sound #4");
                    myJButtonSound4.addActionListener(this);
                   //set the button's border and size, font background and foreground
                   myJButtonSound4.setBorder(myEdge);
                   myJButtonSound4.setPreferredSize(buttonSize);
                   myJButtonSound4.setFont(myFont);
                   myJButtonSound4.setBackground(Color.pink);
                   myJButtonSound4.setForeground(Color.black);
                   //create 5th button's object
                   myJButtonSound5 = new JButton("sound #5");
                  myJButtonSound5.addActionListener(this);
                 //set the button's border and size, font background and foreground
                 myJButtonSound5.setBorder(myEdge);
                 myJButtonSound5.setPreferredSize(buttonSize);
                 myJButtonSound5.setFont(myFont);
                 myJButtonSound5.setBackground(Color.red);
                 myJButtonSound5.setForeground(Color.black);
                  //create 6th button's object
                   myJButtonSound6 = new JButton("sound #6");
                  myJButtonSound6.addActionListener(this);
                 //set the button's border and size, font, background and foreground
                 myJButtonSound6.setBorder(myEdge);
                 myJButtonSound6.setPreferredSize(buttonSize);
                 myJButtonSound6.setFont(myFont);
                 myJButtonSound6.setBackground(Color.pink);
                 myJButtonSound6.setForeground(Color.black);
                  //create 7th button's object
                   myJButtonSound7 = new JButton("Choice #7");
                  myJButtonSound7.addActionListener(this);
                 //set the button's border and size, font, background and foreground
                 myJButtonSound7.setBorder(myEdge);
                 myJButtonSound7.setPreferredSize(buttonSize);
                 myJButtonSound7.setFont(myFont);
                 myJButtonSound7.setBackground(Color.cyan);
                 myJButtonSound7.setForeground(Color.black);
                  //create 8th button's object
                   myJButtonSound8 = new JButton("Choice #8");
                  myJButtonSound8.addActionListener(this);
                 //set the button's border and size, font background and foreground
                 myJButtonSound8.setBorder(myEdge);
                 myJButtonSound8.setPreferredSize(buttonSize);
                 myJButtonSound8.setFont(myFont);
                 myJButtonSound8.setBackground(Color.yellow);
                 myJButtonSound8.setForeground(Color.black);
                  //create 9th button's object
                   myJButtonSound9 = new JButton("Choice #9");
                  myJButtonSound9.addActionListener(this);
                 //set the button's border and size, font background and foreground
                 myJButtonSound9.setBorder(myEdge);
                 myJButtonSound9.setPreferredSize(buttonSize);
                 myJButtonSound9.setFont(myFont);
                 myJButtonSound9.setBackground(Color.blue);
                 myJButtonSound9.setForeground(Color.black);
                   //add the buttons to the content pane
                   myContentPane.add(myJButtonSound1);
                   myContentPane.add(myJButtonSound2);
                   myContentPane.add(myJButtonSound3);
                   myContentPane.add(myJButtonSound4);
                   myContentPane.add(myJButtonSound5);
                   myContentPane.add(myJButtonSound6);
                   myContentPane.add(myJButtonSound7);
                   myContentPane.add(myJButtonSound8);
                   myContentPane.add(myJButtonSound9);
          public void actionPerformed(ActionEvent e)
             myJButton = (JButton)e.getSource();
            if(myJButton == myJButtonSound1)
              acSound_1.play();
            if(myJButton == myJButtonSound2)
              acSound_2.play();
            if(myJButton == myJButtonSound3)
              acSound_3.play();
            if(myJButton == myJButtonSound4)
              acSound_4.play();
            if(myJButton == myJButtonSound5)
              acSound_5.play();
             if(myJButton == myJButtonSound6)
               acSound_6.play();
                       if(myJButton == myJButtonSound7)
                         acSound_7.play();
                       if(myJButton == myJButtonSound8)
                         acSound_8.play();
                        if(myJButton == myJButtonSound9)
                          acSound_9.play();
    java.lang.InstantiationException
         at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    load: stan_my_music_applet_1.MyMusicApplet_1.class can't be instantiated.
         at java.lang.Class.newInstance0(Class.java:306)
         at java.lang.Class.newInstance(Class.java:259)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:566)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:495)
         at sun.applet.AppletPanel.run(AppletPanel.java:292)
         at java.lang.Thread.run(Thread.java:536)

    I also tried:
    try
    for(int a=0;a<8;a++)
    {acSounds[a] = getAudioClip(getCodeBase(),(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore" + (i + 1) + ".wrk")));
    and the error message still says:
    "MyMusicApplet3.java": Error #: 300 : method getAudioClip(java.net.URL, java.net.URL) not found in class stan_my_music_applet_3.MyMusicApplet3 at line 19
    Help !
    below is the revised code
    Norman
    import java.util.*;
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.applet.*;
    import java.awt.event.*;
    import java.net.*;
    public class MyMusicApplet3 extends JApplet implements ActionListener
      AudioClip[] acSounds= new AudioClip[9];
      public void init()
       try
            for(int a=0;a<8;a++)
            {acSounds[a] = getAudioClip(getCodeBase(),(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore" + (a + 1) + ".wrk")));
      catch (Exception e)
        System.out.println("Error here " );
            Container myContentPane = getContentPane();
            myContentPane.setLayout(new FlowLayout(FlowLayout.RIGHT));
            myContentPane.add(getButton("1", Color.orange));
            myContentPane.add(getButton("2", Color.blue));
            myContentPane.add(getButton("3", Color.cyan));
            myContentPane.add(getButton("4", Color.pink));
            myContentPane.add(getButton("5", Color.red));
            myContentPane.add(getButton("6", Color.pink));
            myContentPane.add(getButton("7", Color.cyan));
            myContentPane.add(getButton("8", Color.yellow));
            myContentPane.add(getButton("9", Color.blue));
        public void actionPerformed(ActionEvent e)
           String command = e.getActionCommand();
           int index = Integer.parseInt(command)-1;
           acSounds[index].play();
       public JButton getButton(String label, Color fore)
         {          JButton button = new JButton("sound "+label);
                    button.setPreferredSize(new Dimension(190,100));
                    button.setFont(new Font("Arial", Font.BOLD,14));
                    button.setBorder(BorderFactory.createRaisedBevelBorder());
                    button.setForeground(fore);
                    button.setBackground(Color.orange);
                    button.addActionListener(this);
                    button.setActionCommand(label);
                    return button;
          }//"MyMusicApplet3.java": Error #: 300 :
    //method getAudioClip(java.net.URL, java.net.URL) not found in class
    // stan_my_music_applet_3.MyMusicApplet3 at line 19, column 24

  • SEM-CPM Activating Strategy Template

    Hello All
    After activating a Strategy Template in SEM-CPM version 6 transaction UMB_ST_VIEW when viewing the result in the Measure Catalog I have greyed out Business Content Measures showing they are active but the activated measures do not beolong to a measure catalog. The system wont allow me  to assign them to my own personal catalog and I cannot deactivate them to allow drag and drop. Can anyone please help me with this problem.
    Thanks
    Phillip

    hi
    Balanced Score Card has to be configured as follows:
    First You have to Define Strategy
    For Example Strategy : Revenue Growth
    For this particular strategy u can have 4 perspectives
    1. Financial Perspective
    2. Customers Perspective
    3. Internal Process
    4. Learning & Growth
    For Financial Perspective: You can have different Objectivees
    eg for objectives:1. New Revenue Sources
    2. Increase Profitablilty thru Premium Brands
    Next For each objective u can have measures and initiatives
    For eg: for increase Profitablity thru Premium Brands
    Measures: Profit, Revenues
    Initiatives: Allocate Budget For Advertisement , Promotinal Activity etc.
    So Overall the sequence will be First : Strategy
    and For Each Strategy u will have different Perspectives and for each perspective different objectives and for each objectives u will assign different measures and initiatives.
    Objective will pertain to repective perspective only.
    For each initiative u hv to assign respective incharge and budget to be alloted.
    Next u hv to create value fields and assign Actual, Plan and Target values
    For score calculation u need to define Formula: and select the formula id for eg: a/b
    and give a=actual and b=plan  then u hv to assign table
    next u hv to select graphics also
    then u sav ur BSC.
    if u hv still hav any queries u can contact
    tx
    srin
    tx
    srin

  • Web Cockpit developent (SEM-CPM or VC or something else)

    This question is intended for SAP Development team or Product management team. We are looking to make a strategic decision about the tool set to build BI Cockpit on the Web.
    SAP has competing technologies, which can deliver the cockpit on the web and as a customer we need to make a choice that is right for at least next 3-5 years. We do not want to develop the cockpit using the technology that is not moving ahead with SAP development.
    Our current environment: BW 3.5, EP 5.0 system. Plan to upgrade EP 6.0 in next 3 month.
    As per my understanding, following are the tools that can be used for development of web cockpit.
    1)  Web Application Designer with or without any Java scripting.
    2) SEM-CPM (Corporate Performance Monitor).
    3) BSP (Business Server Pages) /HTMLB - 
    4) Visual Composer with EP.
    Customer’s business team has seen SEM-CPM and inclined to use that. As a IT team we want to choice the right tool set.
    Following are my questions:
    1) SEM-CPM: Does it have good foot print at SAP Customer base? Is it good tool to develop the Cockpits as primary tool set? Is SAP developing this technology in the future? I have not seen any updated white paper or documentations in service.sap.com after 2003.
    OR
    2) Visual composer is the right tool. Visual composer allows the BW and Non BW Data presentation. For our purpose, all data will be in BW and BW queries will be the only source for the cockpit.
    As IT team, we want to avoid using Java Script or other programming process because of the support & maintenance issues involve.
    Please help and provide comment or suggestions.

    Hi,
    SEM-CPM is not a very flexible tool. We have to live with its limitations. We cannot customise to suit client needs. There are limitations in chart types also. If customer uses excel based charts for metrics currently, check whether they are possible thro' CPM. Please also check the latest version of SEM-CPM.
    I would request to considering other alternatives as suggested ike Web cockpit based on Web Application Designer with or without any Java scripting.likes or BSP (Business Server Pages) /HTMLB or VC (not worked on this).
    reg,

  • SEM-CPM-MC: Creating CPM variables

    Hi,
    I know this is probably not the right place to post it, but I couldnt find a better place.
    I trying to create a variable in SEM-CPM-MC, but no matter what I do, I'm only able to create a runtime variable with selection type P - Variable for single value. I can select the other values, but when I save the variable SAP automatically corrects it to Singe value again. I can also create a design variable with the other types, but not a runtime variable. How do I create a variable for which you can enter an interval?
    In the documentation it also says, that you should be able to create variables on a frame level. I don't see any button where I can create a variable on a frame level. I've done exactly as it says on help.sap.com, but I don't have a button to create a new variable on a frame level. How do I do that?
    Any help is appreciated and will be rewarded generously :o)
    Thanks,
    -J

    hi Yaj,
    yes, there are business content, sap measure catalog, measures, strategy tempates, bw infocubes, etc.
    you can activate single or mass, go to sap measure catalog, e.g you can activate node 'financial measures' for mass activation or specific measure only under that catalog.
    to activate infocubes etc, you can use rsa1(administrator workbench)->business content, detail steps see sap help
    http://help.sap.com/saphelp_bw33/helpdata/en/80/1a66d5e07211d2acb80000e829fbfe/frameset.htm
    CPM business content, see
    http://help.sap.com/saphelp_erp2005/helpdata/en/7a/72663ca0a9272ae10000000a11405a/frameset.htm
    hope this helps.

  • SEM-CPM Demo

    Alright guys
    I am looking to see if anyone knows of any eLearning or demos for SEM-CPM, just to give me a an idea of how it works. New to SEM, but I am looking to learn CPM for a client of ours.
    Thanks in advance.
    Scott

    Hi Scott,
    Well man
    i am giving some info regarding the SEM
    SAP Strategic Enterprise Management (SAP SEM) delivers end-to-end capabilities to support performance management life cycle, including:
    •     Consolidated financial reporting -- With SAP SEM, you can generate consolidated financial and managerial reports for a globally distributed business or entity. The application can aggregate financial data from SAP and non-SAP systems into a single analytical reporting environment, enabling you to monitor the financial performance of individual subunits.
    •     Planning, budgeting, and forecasting -- SAP SEM helps enables you to model various planning options and use preconfigured planning software to get a quick start on operational planning tasks such as cost center planning and sales planning. The application supports traditional budgeting and rolling forecasts as well as collaborative planning.
    •     Corporate performance management and scorecards -- With SAP SEM, you can develop KPIs that support a number of popular scorecard methodologies, including balanced scorecard, economic value-added, and activity-based costing methods. You can link operational and strategic plans and develop scorecards and performance measures based on financial and non financial data.
    •     Risk management -- SAP SEM helps you identify, quantify, and analyze business risks within individual business units and manage risk-reducing activities.
    ALL the very best
    -Rakesh

  • SEM-CPM docs

    Hi,
    Can anyone provide me with any docs related to SEM-CPM module. I am actually looking for some documentation which explain WITH EXAMPLES.
    Thanks in advance,
    Points are assured.

    Hi,
    You can check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/7a/72663ca0a9272ae10000000a11405a/frameset.htm
    Regards,
    Praveen

Maybe you are looking for

  • One iPod but two iTunes libraries, how can I read both & back up too.

    When I got my Fifth Gen last year, I was thrilled. Started a library of books and music immediately from cds I owned. Unfortunately I was mugged, and it was stolen. My kids bought me a new one (engraved w love), and now I have 55 gigs of books and mu

  • Missing Font, But Font Isn't In the Document

    Hello, We're all using FrameMaker 10 on Windows 7. My client and I are receiving the good old missing fonts error message, specifically: The "ITC Stone Serif Std Medium Ital Italic" Font is not available.   It will be replaced by "Times New Roman Ita

  • Tomcat output question

    hi all i think this is a simple (and quite stupid) question, but i don't know ho to solve my problem i work on two computer (windows 2k), one where i have tomcat installed not like a service, the other with tomcat installed like a service. when i wri

  • Binary file to output

    Jan 26, 2001 I am using the demo version of LabVIEW 5.1 with an AT-MIO-64F-5 I/O DAQ board. I can record a chunk of analog sound input to a binary file, but I cannot output the content of the binaary file to one of the analog outputs and to a speaker

  • Where is the "accept as solution" button?

    Guess I'm a dummy. Can't find anything that says that. ;-((