IE does not found a class

Hi to everybody.
I'm trying to start an applet through IE. The java-codes are compiled in java 1.2, and the code uses the javax library in jre directory.
With a previous help I could start the applet in html document with
the appletviewer. But when I open the html file with the IE I see the
following message:
exception java.lang.ClassNotFoundException: javax.comm.CommPortIdentifier
The version of the IE that I'm using is IE: 5
version: 5.00.2614.3500
The version of the System Operative: windows 98 [versi�n 4.10.2222]
And the path and the classpath in the autoexec file is:
PATH c:\jdk1.2.2\bin;C:\jdk1.2.2\jre\lib;%PATH%
set CLASSPATH C:\jdk1.2.2\lib;C:\jdk1.2.2\lib\javax\comm;%CLASSPATH%
Anybody can help me?
Thanks in advance.

Try
C:\jdk1.2.2\lib\Instead of
C:\jdk1.2.2\lib\javax\commIn your classpath.
You package hierarchy is transformed in directory structure. That is
import javax.comm.Anywill search for a file "Any" in XXX/javax/comm, where XXX is a classpath entry (whichever fits in).
However, if your purpose is to create an applet that can be seen from the web, you cannot rely on the client's classpath. You'll have to package all your classes in a single package.
/Stephane

Similar Messages

  • Error(23,19): method getName(java.lang.String) not found in class javax.swi

    Hi , when i try to run my program, i keep getting the error msg:
    Error(23,19): method getName(java.lang.String) not found in class javax.swing.JTextField
    I have checked the java API and it inherits from the awt.Component class and should be accessible via the jtextfield.
    I have tried the following:
    trying to initailise the JTextField at the start.
    Using getName works if i use it within the loop after setting the name.
    Does anybody know what i am doing wrong please?
    public class clsMember extends JPanel implements ActionListener {
        private JButton jbtnLog;
        private String surname;
        private JTextField txtItem;
        public clsMember() {
            super(new SpringLayout());
            makeInterface();
            surname = txtItem.getName("Surname").toString();
    private void makeInterface() {
         //code omitted
               for (int i = 0; i < numpairs; i++) {
                JLabel l = new JLabel(strLabels, JLabel.LEADING);
    this.add(l);
    //if the array item is salutation create a combobox
    if (strLabels[i] == "Salutation") {
    jcomSalutation = new JComboBox(strSalutation);
    jcomSalutation.setSelectedIndex(0);
    this.add(jcomSalutation);
    } else {
    txtItem = new JTextField(10);
    l.setLabelFor(txtItem);
    txtItem.setName(strLabels[i].replaceAll(" ", "")); //this is where the label is set and if i do a system.out it shows fine. getName works here too.
    this.add(txtItem);
    //code omitted

    If i have a loop that creates the jtextfields such as
                    txtItem = new JTextField(10);
                    l.setLabelFor(txtItem);
                    txtItem.setName(strLabels.replaceAll(" ", ""));
    this.add(txtItem);How is it then possible to assign to a string the value of a *specific jtextfield*. Lets say that one of these JTextfields has the name surname.
    How is it possible for me to writeString surname = surnamejtextfield.getText();                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Variable textArea not found in class javax.swing.JFrame...

    Making progress on this issue -- but still stuck. Again trying to get the text from a JTextArea on exit:
            frame.addWindowListener
           (new WindowAdapter() {
             public void windowClosing(WindowEvent e)
                System.out.println("Why me???" + frame.textArea.getText());
            });User MARSIAN helped me understand the scope fo the variables and now that has been fixed. Unfortunately I cannot access my variable textArea in the above code. If get this error:
    Error: variable textArea not found in class javax.swing.JFrame
    What am I doing wrong?
    import  java.net.*;
    import  javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import FragImpl.*;
    public class Framework extends WindowAdapter {
        public int numWindows = 0;
        private Point lastLocation = null;
        private int maxX = 500;
        private int maxY = 500;
        JFrame frame;
        public Framework() {
            newFrag();
            Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
            maxX = screenSize.width - 50;
            maxY = screenSize.height - 50;
            makeNewWindow();
        public void makeNewWindow() {
            frame = new MyFrame(this);  //*
            numWindows++;
            System.out.println("Number of windows: " + numWindows);
            if (lastLocation != null) {
                //Move the window over and down 40 pixels.
                lastLocation.translate(40, 40);
                if ((lastLocation.x > maxX) || (lastLocation.y > maxY)) {
                    lastLocation.setLocation(0, 0);
                frame.setLocation(lastLocation);
            } else {
                lastLocation = frame.getLocation();
            System.out.println("Frame location: " + lastLocation);
            frame.setVisible(true);
            frame.addWindowListener
           (new WindowAdapter() {
             public void windowClosing(WindowEvent e)
                System.out.println("Why me???" + frame.textArea.getText());
        //This method must be evoked from the event-dispatching thread.
        public void quit(JFrame frame) {
            if (quitConfirmed(frame)) {
                System.exit(0);
            System.out.println("Quit operation not confirmed; staying alive.");
        private boolean quitConfirmed(JFrame frame) {
            String s1 = "Quit";
            String s2 = "Cancel";
            Object[] options = {s1, s2};
            int n = JOptionPane.showOptionDialog(frame,
                    "Windows are still open.\nDo you really want to quit?",
                    "Quit Confirmation",
                    JOptionPane.YES_NO_OPTION,
                    JOptionPane.QUESTION_MESSAGE,
                    null,
                    options,
                    s1);
            if (n == JOptionPane.YES_OPTION) {
                return true;
            } else {
                return false;
         private void newFrag()
              Frag frag = new FragImpl();
        public static void main(String[] args) {
            Framework framework = new Framework();
    class MyFrame extends JFrame {
        protected Dimension defaultSize = new Dimension(200, 200);
        protected Framework framework = null;
        private Color color = Color.yellow;
        private Container c;
        JTextArea textArea;
        public MyFrame(Framework controller) {
            super("New Frame");
            framework = controller;
            setDefaultCloseOperation(DISPOSE_ON_CLOSE);
            setSize(defaultSize);
            //Create a text area.
            textArea = new JTextArea(
                    "This is an editable JTextArea " +
                    "that has been initialized with the setText method. " +
                    "A text area is a \"plain\" text component, " +
                    "which means that although it can display text " +
                    "in any font, all of the text is in the same font."
            textArea.setFont(new Font("Serif", Font.ITALIC, 16));
            textArea.setLineWrap(true);
            textArea.setWrapStyleWord(true);
            textArea.setBackground ( Color.yellow );
            JScrollPane areaScrollPane = new JScrollPane(textArea);
            //Create the status area.
            JPanel statusPane = new JPanel(new GridLayout(1, 1));
            ImageIcon icoOpen = null;
            URL url = null;
            try
                icoOpen = new ImageIcon("post_it0a.gif"); //("doc04d.gif");
            catch(Exception ex)
                ex.printStackTrace();
                System.exit(1);
            setIconImage(icoOpen.getImage());
            c = getContentPane();
            c.setBackground ( Color.yellow );
            c.add ( areaScrollPane, BorderLayout.CENTER )  ;
            c.add ( statusPane, BorderLayout.SOUTH );
            c.repaint ();
    }

    Yeah!!! It works. Turned out to be a combination of DrKlap's and Martisan's suggestions -- had to change var frame's declaration from JFrame to MyFrame:
        MyFrame frame;Next, created the external class -- but again changed JFrame references to MyFrame:
    public class ShowOnExit extends WindowAdapter {
    //   JFrame aFrame;
       MyFrame aFrame;
       public ShowOnExit(MyFrame f) {
          aFrame = f;
       public void windowClosing(WindowEvent e)
          System.out.println("Why me???" + aFrame.textArea.getText()); // aFrame here not frame !!!
    }This worked. So looks like even though the original code added a WindowListener to 'frame', the listener didn't couldn't access frame's methods unless it was explicitly passed in as a parameter. Let me know if that's wrong.
    Thanks again, all.

  • Variable Not Found in Class Error

    I have a project which I organized the source in 4 packages. I have 4 source programs which use an external class which I don't have the source. So I imported the class and brought a copy of the class straight under the classes directory. Via "Project Properties" I modified the "Profiles + Development + Path" with the pass of this added class into the "Additional Classpath:" section. When I compile I'm getting this error: "Error(765,18): variable InfraAPI not found in class com.eds.soc.common.SocSharesEvent". It is not finding the InfraAPI.class that I imported. What am I doing wrong?

    You might want to use the JDeveloper library mechanism for this.
    Create a JAR with the files you need, then in project properties->libraries add this jar.

  • Method init not found in class oracle.apps.fnd.cp.request.C

    Hi all,
    I am reffering to Oracle Application Framework Developer’s Guide Release
    11.5.10 RUP3 December 2, 2005
    As given in the document (page 275) Concurrent Processing: Request Submission
    and Monitoring ,I want the Concurrent Processing Request Submission and Monitoring user interfaces available on my OA Framework-based pages.
    I have followed the steps given in the OADevGuide but when the custom CO
    is compiled it gives following error.
    method <init> not found in class oracle.apps.fnd.cp.request.ConcurrentRequest.
    The import statement in our code is as followed
    import oracle.apps.fnd.cp.request.ConcurrentRequest;
    import oracle.apps.fnd.cp.request.RequestSubmissionException;
    wheather I have to open a SR on metalink asking for an updated file ConcurrentRequest.class ?
    Thanks in advance,
    Anant.

    Hi All,
    Thanks Prabhat for that update.
    Thanks tapashray cause u r update on thread Apply not being caught in debugger helped me a lot.
    Right now I am facing a different problem.
    On click of submit button The page gets called but it gives error as
    oracle.apps.fnd.framework.OAException: Could not load application module 'oracle.apps.fnd.cp.srs.server.RequestAM'.
    In myprojects folder under oracle dir at reqd path I have this AM .
    Whether I need to add the bc4j pkg "oracle.apps.fnd.cp.srs.server.RequestAM" in my project . I dont think so as I am not extending any class/VO or doing any substitution.
    my code is as followed
    public void processFormData(OAPageContext pageContext, OAWebBean webBean)
    System.out.println("Inside ProcessFormData");
    if (pageContext.getParameter("Submit")!= null )
    System.out.println("Inside Submit ");
    try
    // get the JDBC connection
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    //Connection conn = (Connection)am.getOADBTransaction();
    OADBTransaction conn = am.getOADBTransaction();
    System.out.println("OADBTransaction conn "+conn);
    ConcurrentRequest cr = new ConcurrentRequest(conn.getJdbcConnection());
    System.out.println(" ConcurrentRequest cr "+cr);
    cr.setDeferred();
    // call submit request
    Vector param = new Vector();
    String selectedValue = pageContext.getParameter("reportList");
    System.out.println("selectedValue -> "+selectedValue);
    param.add(selectedValue);
    System.out.println("before cr.submitRequest ");
    int reqId = cr.submitRequest("SQLGL", "RGFSGXML", "Run FSG and XML Publisher",null, false, param);
    // int reqId = cr.submitRequest("SYSADMIN", "FNDSCURS", "User Responsibility Report",null, false, param);
    System.out.println("After cr.submitRequest reqId "+reqId);
    conn.commit();
    System.out.println("After commit");
    // redirect page to Request Scheduling page
    HashMap parameters = new HashMap();
    String url = "OA.jsp";
    parameters.put("akRegionApplicationId", "0");
    parameters.put("akRegionCode", "FNDCPPROGRAMPAGE");
    String id = "" + reqId + "";
    parameters.put("requestMode", "DEFERRED");
    parameters.put("requestId", id);
    System.out.println("before page forward ");
    pageContext.setForwardURL("BSE_CONC_REQUEST"
    ,OAWebBeanConstants.KEEP_MENU_CONTEXT
    ,null
    ,parameters
    ,true
    ,OAWebBeanConstants.ADD_BREAD_CRUMB_NO
    ,OAWebBeanConstants.IGNORE_MESSAGES);
    catch(RequestSubmissionException reportError)
    System.out.println("RequestSubmissionException raised "+reportError.getStackTrace());
    catch(SetDeferredException deferred)
    System.out.println("SetDeferredException raised "+deferred.getStackTrace());
    super.processFormData(pageContext,webBean);
    Hope I have given all the details.
    Regards,
    Anant.
    Message was edited by: Removed the error stack so that thread details remain on the same page
    Anant

  • UI Error 'Method clone not found in class java.lang.Class'

    When attempting to view an application window in the User Interface error I receive the error 'Method clone not found in class java.lang.Class'. The window will run correctly when I execute the application and other objects on the window are displayed correctly in the UI editor.
    Within the window class I have used the following line of code to clone a reference list of values that is loaded just once when the application starts up: -
    dsDefaultComboBoxModel priorityComboBoxModel = (dsDefaultComboBoxModel) dsReferenceLuLists.priorityComboBoxModel.clone();
    And then this line of code to create a combo box: -
    dsGuiComboBoxRefelu priorityComboBox = new dsGuiComboBoxRefelu(priorityComboBoxModel,ReportWindowSql.priorityCodeBuffer);
    And then later on the combo box is displayed.
    detailsArea.add(priorityComboBox, new XYConstraints(250,10,dsGlobalVariables.gvFieldWidthLarge,-1));
    'dsDefaultComboBoxModel' is defined as follows: -
    public class dsDefaultComboBoxModel extends DefaultComboBoxModel implements Cloneable
    public dsDefaultComboBoxModel()
    public Object clone()
    try
    return super.clone();
    catch ( CloneNotSupportedException e )
    // Shouldn't happen.
    throw new InternalError( e.toString() );
    This error occurs using the latest v903, but was also present in previous versions of JDeveloper.
    At the moment this means that I did to execute the window in order to see all of the GUI elements that are displayed. As on option I could use something other than the clone method, but it seems to be such a nice way of copying the static reference lists.
    Thanks for any help.

    Hi Darren,
    My guess is that since DefaultComboBoxModel doesn't implement Cloneable, you can't call super.clone(). Does your code compile?
    Later.
    Dennis

  • JBO:33001 bc4j.xcfg file not found in class path

    Hi,
    I am yet another victim of the age-old error JBO:33001 bc4j.xcfg file not found in class path, When i have my BC4JApp.jar in Tomcat Web-inf/lib directory. All the other jar files and class files in my webserver-application web-inf classes and lib directory works.
    But Tomcat server is not able to read this bc4j.xcfg file. I can see in my jar file that this bc4j.xcfg exists and in the specified package directory. still the problem persists. My BC4JApp.jar is perfectly working when i use JDeveloper. but not when i use tomcat4.0 and call a JSP using BC4JApp.jar from browser (My environment is Jdeveloper3.2, Tomcat4.0+IIS in middle tier and oracle 8i as DB, everything on windows2k)
    I have gone through almost all the threads possible that relates to this error in this form. None of them have a answer except to say "put the file in classpath". and last reply is "will fix in jDeveloper 9i. So what happens to us who are working in Jdeveloper 3.2?
    1. I have this file in my jar file.
    2. I also tried creating a seperate directory manually, with the same name as my package under web-inf/classes, web-inf/lib , just under web-inf directory and atlast under approot directory also. I tried having my package directory containing bc4j.xcfg in these folders one at a time and also tried having this directory in all these folders at the same time.
    Still no solution.
    Itz frustrating that neither proper documentation nor a right url page nor i am aware of available addressing this. page links given in above threads only gives me the wonderful page of ie's "Page cannot be displayed".
    Is there a answer to this error and my problem. If this doesn't work, then i have to all the way develop from scratch creating my jsp using JDBC calls and Stored packages etc.
    I don't want to give up on this Jdeveloper at this final moment because if this bc4j.xcfg file is found, my application will work perfectly. on these final moments, if this doesn't work, i am frightened to imagine to develop my application in standard way. Atlast, if thatz the option left,we have to do that bcos our production date is close by.
    Please can some one in this forum or Jdeveloper help me to solve this problem. I am desperate and very urgent.
    Waiting for a reply from Jdev team very much...
    ( I just posted in the other thread which is pretty old, dated backto May 2001, which was relevant to this error. Just to make sure it is noticed, I am posting it seperately too)
    Thanks
    Hari(2/3/02)

    Hi All,
    For those who are following this thread, I got a solution for this error with the help of Jdev Team.
    This solution may work, if you have deployed your application in Tomcat4.0.1. This is the environment in which I work and tested.
    As you may be aware, Tomcat ignores value in CLASSPATH variable.
    To see any files that are existing or newly deployed, it has it own way of detecting it.
    Addition information on Tomcat working, you can follow this link,
    http://jakarta.apache.org/tomcat/tomcat-4.0-doc/index.html
    Coming to point, Tomcat has got five classloaders and each classloader invoked, looks in their related directories for files in following order.
    1. /WEB-INF/classes of your web-application
    2. /WEB-INF/lib/*.jar of your web application
    3. BootStrap classes of your JVM (Tomcat's $JAVA_HOME/jre/lib/ext)
    4. System class loader classes($CATALINA_HOME/bin/bootstrap.jar,CATALINA_HOME/lib/tools.jar)
    5. $CATALINA_HOME/common/classes
    6. $CATALINA_HOME/common/lib/*.jar
    7. $CATALINA_HOME//classes
    8. $CATALINA_HOME/lib/*.jar
    So All your individual application related files should be deployed in your application's WEB-INF/classes or WEB-INF/lib directory accordingly.
    If your application files are unpacked, they should be deployed or copied under WEB-INF/classes directory
    if the files are within a jar, they should be under WEB-INF/lib directory.
    If your Jar-files contains bc4j components, then those jar files should be deployed under WEB-INF/lib directory. Also,do the next step to copy all relavant BC4J runtime libraries under lib directory.
    IMPORTANT: Please remember to copy and paste all the required BC4j runtime libraries in the Same WEB-INF/lib directory along with your application jar files. This is the real reason which can solve this JBO:33001 to disappear. It worked for me.
    To configure your directory for tag-lib uri's, use web.xml to set the taglib-uri attribute.
    Put your web.xml and DataTags.tld in the WEB-INF directory.
    Your simple web.xml may look like as follows.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <taglib>
              <taglib-uri>
                   /webapp/DataTags.tld
              </taglib-uri>
              <taglib-location>
                   /WEB-INF/DataTags.tld
              </taglib-location>
         </taglib>
    </web-app>
    You may then modify this web.xml to suit further requirements of your application.
    Remember to stop and restart the Tomcat Server (service) by using shutdown and startup scripts after updating any jar files/class files/ JSP or source files deployed in Tomcat.
    Sometimes, only this helps even though your context's reloadable attribute is set to true in Tomcat Server's server.xml file.
    Hope this above information helps you to solve this error in Tomcat environment. My Sincere thanks once again to Juan and Jdev team for their help and efforts to solve this problem.
    Thanks
    Hari

  • KEU5 – It does not found senders (emisor) for segment.

    Dear Expert Sap
    Please, I try to explain the following scenary :
    I had created one purcharse  using ME21N  transaction, that it had one service and imputation on cost center (CeCo)
    I had created document using ML81N and accepting.
    I can lookup posting document FI  and it is correct.
    I can lookup posting document profit center cost
    But  it did not create posting on COPA. Because It  did not have configuration or specified OKB9:  Cost Ctr (KSTAR)  assigned   - > Cost element master (KOSTL).
    When I am excuting this report S_ALR_87013611 - Cost Centers: Actual/Plan/Variance.
    I are seing income as statistical posting under cost centres.
    Cost centres cannot have 'real' income postings. It is correct.
    Because  Cost Ele  category  is equal “12” and  (Cost Ele category 11 or 12) are posted AS  statistical on cost centers.
    Finally:
    Bussines need that  "posted as statistical on cost centers" =>  it should create on COPA.
    We are thinking that we can using a cycle in KEU5 transacction.
    But whem we are executing transaction KEU5 son it get this message:
    – It does not found senders (emisor) for segment.
    Unfortunately, I am not found one note oss.
    Could you check this and recommend the best option?  or could you recommend any note oss, please?
    All your recomendations will be welcome.
    Thanks a lot for your recomendation and help.
    Best regards,
    Gustavo Hermoza

    Thank you  very much for your answer, Ronghua!!!
    I am thinking about  your  recomendation about  using substitucion (OKC9) to derivate the PAOBJNR as reael account assignment.    
    It will probably be good idea  but   Step(Okc9)  does not   derivate or move characteristics to  RKE_GET_ACCTNR  Function. Because we dont not know this characteristics.
    We had reviwed cost line items for cost center  and  we are seeing  that all document are Material Document and  this document dont have fields to derivate  characteristics.
    Another alternative:
    Transaction KA02 change category element.
    Field change CElem Category is not possible (transaction data already exists)
    Diagnosis
    To ensure the consistency of existing data, you can only change object CElem Category if no transaction data exists in the change period; that is, neither plan data nor actual data has been posted.
    As transaction data already exists, it is not possible to change objects in this time period.
    Procedure
    If you still want to change the object, select a suitable change interval by choosing "Edit -> Analysis period...".
    I want to show this post it is good.
    Profitability segment - ERP SD - SCN Wiki
    Thanks a lot for your recomendation and help.
    Best regards,
    Gustavo Hermoza

  • Error(10,47): EntryFlowPageCO not found  in class oracle.apps.ap.oie.entry.

    Hi All,
    I extended a CO named IndusFinalReviewPageCOXX and I got the following error.
    Error(10,47): EntryFlowPageCO not found in class oracle.apps.ap.oie.entry.summary.webui.FinalReviewPageCO in class indus.oracle.apps.ap.oie.entry.summary.webui.IndusFinalReviewPageCOXX.
    I already drag the class file of EntryFlowPageCO in path myclasses\oracle\apps\ap\oie\entry\summary\webui
    and import the file. but the error remains same..after that I compile the class file of EntryFlowPageCO and found one more CO imports in EntryFlowPageCO. I drag class file of that CO also in appropriate path.. But still get the same error.
    Pls give me the solution ASAP.
    Thanks
    Amit Jaitly

    Amit,
    In the standard CO you can check that controller EntryFlowPageCO is not under myclasses\oracle\apps\ap\oie\entry\summary\webui.
    Its under oracle/apps/ap/oie/entry/webui so put the same under this directory structure.
    Regards,
    Gyan

  • Error: variable XMLInterface not found in class

    Hi,
    I am creating an XML Publisher Report Output from OAF Page.
    This is my code in CustAM
    public void initSunReportVO()
    SunReportVOImpl vo = getSunReportVO1();
    if(vo == null)
    MessageToken errTokens[] = {
    new MessageToken("OBJECT_NAME", "SunReportVO1")
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    } else
    vo.executeQuery();
    public void getSunReportDataXML()
    try {
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    OAViewObject vo = (OAViewObject)findViewObject("SunReportVO1");
    ((XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS)).print(outputStream);
    System.out.println(outputStream.toString());
    catch(Exception e)
    throw new OAException (e.getMessage());
    I am getting the following errors.
    Error(1608,27): variable XMLInterface not found in class XXX.oracle.apps.po.requisition.server.custamImpl
    Could anyone help me how to resolve the above issues.
    Thanks in Advance.
    Sruthi

    Hi,
    WebExpensesAMImpl$ExpenseTypeAmount is an inner class that you cannot access from outside of the class in which it is specified
    Frank

  • Method addLayout not found in class ...cp.request.ConcurrentRequest

    I am trying to send concurrent request (XML publisher report) through OAF controller.
    But I get next error when compile it:
    Error(46,20): method addLayout(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) not found in class oracle.apps.fnd.cp.request.ConcurrentRequest
    Below the sample of code.
    Please, help me to find a root of cause
    package xxcust.oracle.apps.ap.oie.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.jdbc.OracleCallableStatement;
    import java.util.Vector;
    import oracle.apps.fnd.cp.request.ConcurrentRequest;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    public class xxMyPrintCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    { super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OADBTransaction tx = am.getOADBTransaction();
    java.sql.Connection pConncection = tx.getJdbcConnection();
    ConcurrentRequest cr = new ConcurrentRequest(pConncection);
    int xxRequestId = 0;
    // concarent parameters
    String xxp_type = null;
    String applnName = "SQLAP";
    String cpName = "XXKVP_KO1";
    String LayName = "XXKVP_KO1";
    String cpDesc = null;
    try
    cr.addLayout("PER",LayName,"ru","RU","PDF");
    catch(Exception e)
    {throw new OAException("addLayout -" + e.getMessage(), (byte)0);
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    }

    it was a bug described in doc [ID 1360914.1]
    JBO-29000 java.lang.NoSuchMethodError When Calling oracle.apps.fnd.cp.request.ConcurrentRequest.addLayout [ID 1360914.1]

  • Methods not found in class !  HELP !

    Dear java People,
    I am trying to draw, move, and erase balls in a ArrayList. I get an error message that says:
    "BallDemo.java": Error #: 300 : method draw() not found in class java.lang.Object at line 126,
    "BallDemo.java": Error #: 300 : method move() not found in class java.lang.Object at line 132
    "BallDemo.java": Error #: 300 : method erase() not found in class java.lang.Object at line 138
    below are the lines causing the errors and the method with the problem code
    Thank you in advance
    Stan
    public void bounce()
            int ground = 400;   // position of the ground line
            int numberOfBalls = 0;
            myCanvas.setVisible(true);
            ArrayList balls = new ArrayList();
            // draw the ground
            myCanvas.drawLine(50, ground, 550, ground);
            //ex 5.50 (a)
            System.out.println("Type in the number of balls you would like to see bouncing and hit enter");
              numberOfBalls = input.readInt();
             //(b)
             for(int i = 0; i < numberOfBalls; i++)
               //(c) (d)
            Random rg = new Random(255);
             BouncingBall newBall =  new BouncingBall(i + 15, 0, 16, new Color(rg.nextInt(255),rg.nextInt(255),rg.nextInt(255)), ground, myCanvas);
             //add the ball to the ArrayList object
            balls.add(newBall);
           for(int i = 0; i < numberOfBalls; i++)
               balls.get(i).draw();
              // make them bounce
              boolean finished =  false;
              while(!finished) {
               myCanvas.wait(50);           // small delay
               balls.get(i).move();
                // stop once ball has travelled a certain distance on x axis
               // if(ball.getXPosition() >= 550 && ball2.getXPosition() >= 550)
                    finished = true;
              balls.get(i).erase();
        }balls.get(i).draw();
    balls.get(i).move();
    balls.get(i).erase();

    I actually caught this error myself !
    I must be improving !
    Cheers
    Stan

  • Variable not found in class....?????

    package untitled1;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    public class Applet1 extends Applet
    Button knop1, knop2, knop3;
    TextField tekstvakje;
    Font opmaak1, opmaak2, opmaak3;
    public void init()
    knop1 = new Button("knop 1");
    knop1.addActionListener(new Knop1Handler());
    knop2 = new Button("knop 2");
    knop2.addActionListener(new Knop2Handler());
    knop3 = new Button("knop 3");
    knop3.addActionListener(new Knop3Handler());
    tekstvakje = new TextField("test",10);
    opmaak1 = new Font("Serif", Font.BOLD, 10);
    opmaak2 = new Font("Serif", Font.ITALIC, 15);
    opmaak3 = new Font("Serif", Font.PLAIN, 20);
    add(knop1);
    add(knop2);
    add(knop3);
    add(tekstvakje);
    class Knop1Handler implements ActionListener
    public void actionPerformed(ActionEvent e)
    tekstvakje.setFont(opmaak1);
    class Knop2Handler implements ActionListener
    public void actionPerformed(ActionEvent e)
    tekstvakje.setFont(opmaak2);
    class Knop3Handler implements ActionListener
    public void actionPerformed(ActionEvent e)
    tekstvakje.setFont(opmaak3);
    error message:
    "Applet1.java": Error #: 300 : variable opmaak1 not found in class untitled1.Knop1Handler at line 38, column 28
    "Applet1.java": Error #: 300 : variable tekstvakje not found in class untitled1.Knop1Handler at line 38, column 9
    "Applet1.java": Error #: 300 : variable opmaak2 not found in class untitled1.Knop2Handler at line 45, column 28
    and so on........
    what's the reason he don't fount this variables??? the KnopHandlers are a subclass fromm Applet so I don't understand the subclass can't find the variables....
    sorry for this stupid question, but I just started with making Object Orientated code.

    moi,
    Ten eerste is Knop1Handler geen subclass van Applet maar van Object. Alle classen erfen van object of een subclass van Object.
    Ik neem aan dat Knop1Handler een aparte class is in een apart bestand. Dan kan hij nooit attribute van Applet1 gebruiken. Dat gaat enkel via inner classes.
    Je kan verschillende dingen doen:
    je maakt de Knop1Handler class een inner class wat in dit geval de mooiste oplossing is.
    je verplaatst Font opmaak1 naar class Knop1Handler.
    je maakt Font opmaak1 static en roept in class Knop1Handler Applet1.opmaak1. wat een slechte oplossing is

  • Variable NOT Found in Class. I'm Confused!

    Variable "no" not found in class. I don't understand. Also, this code is really a mess. If a User enters an integer, then another and another, it's suppose to count the number of integers and how many times each was chosen. Example 1.4.4.5.7.7.7.8. It would print out that 1 was entered 1 time, 4 was entered 2 times, 5 once, 7 entered three times, and 8 once, etc.. Anyway, below is the code with the varibale that can't be found.
    public class Arbitrary
      public static void main(String[] args)
        final int NUMNUMERIC = 50;
        String str, another = "y";
        while (another.equals("y"))
          int[]myNumbers = new int[NUMNUMERIC];
        char current;  //the current character being processed
        String line = Console.readString ("Enter an integer from 0-50:");
        for (int no = 0; no <line.length();no++);
          current = line.charAt(no);
        System.out.println("The total of numbers is:" +current);
        another = Console.readString ("Type another number or press 0 to quit:");
    }

    for (int no = 0; no <line.length();no++);                    try removing this ";" ----^

  • "method (...) not found in class (...)" problem

    I am having trouble with my GUI class not recognizing methods from a STACK class from the same package. Here's the skinny:
    I have a GUI class named WordGUI.
    I hava a STACK class named WordStack.
    within WordGUI I instantiate an instance of a WordStack and call it myStack. Example below:
    WordStack myStack = new WordStack();
    When I call WordStack methods from WordGUI I get the error message even though display is a method from WordStack:
    "WordGUI.java": Error #: 300 : method display(java.awt.Graphics, int) not found in class assign4.WordStack at line 34, column 13
    Complete code for both classes is below:
    WordGUI class:
    package assign4;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    public class WordGUI extends Applet implements ActionListener{
    WordStack myStack = new WordStack();
    private Button testButton;
    private TextField wordField;
    public void init(){
    //add(myStack);
    wordField = new TextField(20);
    add(wordField);
    wordField.addActionListener(this);
    testButton = new Button("Test for palindromes");
    add(testButton);
    testButton.addActionListener(this);
    }//init()
    public void paint (Graphics g){
    g.drawString("Enter a word in the textField above and click", 25, 100);
    g.drawString("the button to check if the word is a palindrome", 25, 115);
    myStack.display(g, 150);
    }//paint()
    public void actionPerformed(ActionEvent event){
    if(event.getSource() == testButton){
    String userInput = wordField.getText();
    myStack.evaluate(userInput);
    repaint();
    }//actionPerformed()
    }//class WordGUI
    WordStack class:
    package assign4;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    public class WordStack implements Cloneable{
    private char[] data;
    private int manyItems;
    public WordStack(){
    final int initialCapacity = 20;
    manyItems = 0;
    data = new char[initialCapacity];
    }//generic constructor
    public WordStack(int initialCapacity){
    if(initialCapacity < 0){
    throw new IllegalArgumentException
    ("initialCapacity too small: " + initialCapacity);
    manyItems = 0;
    data = new char[initialCapacity];
    }//constructor
    public int getCapacity(){
    return data.length;
    }//getCapacity()
    public boolean isEmpty(){
    return (manyItems == 0);
    }//isEmpty()
    public char pop(){
    if(manyItems == 0){
    //throw new EmptyStackException();
    return data[--manyItems];
    }//pop()
    public void push(char item){
    if(manyItems == data.length){
    ensureCapacity(manyItems * 2 + 1);
    data[manyItems] = item;
    manyItems++;
    }//push()
    public void ensureCapacity(int minimumCapacity){
    char biggerArray[];
    if(data.length < minimumCapacity){
    biggerArray = new char[minimumCapacity];
    System.arraycopy(data, 0, biggerArray, 0, manyItems);
    data = biggerArray;
    }//ensureCapacity()
    public String evaluate(String userInput){
    char charToProcess;
    for(int charNum = 0; charNum < userInput.length(); charNum++){
    push(userInput.charAt(charNum));
    }//evaluate()
    public void display(Graphics g, int yLoc){
    for(int i = 0; i < data.length; i++){
    g.drawString("" + data, 25, yLoc);
    yLoc += 15;
    }//display()
    }//class WordStack
    Any help would be appreciated greatly. Thank you

    you need to make your graphics call against the GUI object

Maybe you are looking for

  • I need help getting my nano to work with my mac!

    I just got a mac for christmas, and I would like to get all of my music on to my mac. when i try and sync, it will not work. I want all of my songs to go into I tunes, so that this can become my new i-tunes computer. I have a nano. Can anyone help me

  • N95 working Fine in Emulator but not in Device

    Hi all, I am creating a video based application for N95 which enable running video(.3gp) in normal to rotate(90 degree) and display in full mode so i tried it with Adobe Device Central's Emulator and it is working fine (Note: Emulator was update on 2

  • Single Dr. & Multiple Cr. Payment Document for OTV

    We are paying Crop Compensation for Farmers for Damages of their crop during construction. As per approval of no. of cases we finalised an amount for payments. For. Ex. Rs.10,00,000/- for 10 Farmers. Accounting Entry passed by using excel file upload

  • FIX STATEMENT AND LARGE SPARSE DIMENSIONS

    Hello all, We have the following Essbase BSO db; Account (Dense) (285 Members) (Aggregating Dimension) Period (Dense) (65 Members) (Aggregating Dimension) D1 (Sparse) (3700 Members) (Aggregating Dimension) D2 (Sparse) (8900 Members) (Aggregating Dime

  • Ex girlfriend has access to my iMessage on her computer. Help!

    Hey Guys! My crazy ex girlfriend has somehow allowed her computer to have access to my iMessages. Is there any way I can block her computer from seeing my text messages anymore, short of going to her house and deleting it?