Seeking help for VisualAge for Java

Hi,
I am using VisualAge 3.5 Professional version to develop Java applications. But I don't know how to build an independent Java application that I can run it outside VisualAge. Can someone give me some tips? THanks!
I can build an application, and I can run within VisualAge, but when I try to export it, I can only choose either ".class" or ".java" file, so is it possible for me to build an independent ".exe" file from VisualAge? Because if I want to submit an software to a customer, I can't require him to install VisualAge, so what I can do?
Thanks a lot!

Hi!
- Right click on project
- Select export
- Select Jar flie
- Give Path and Name of Jar file
- Export!
Execute jar File.... :-)
I dont have Visual Age Installed on my machiene at the moment, so there could be a step missing.... :-S
Plus you can also export your whole project out at class files and directly execute your class file, but thats not a good approach for deploying to the client side.
Hope this helps
Regards
Omer

Similar Messages

  • I just got a SSD for my late 2011 mp but I don't know how to change it, can I seek help in the Apple store?

    I want to replace the HDD with SSD in my late 2011 Macbook pro, the question is I dont tools and knowledge about this job. So I am wondering if i can seek help from local Apple store?

    Good choice! I have one installed in my 13" MBP. The installation is not too difficult, but it is not trivial. I'm pretty experienced with this stuff so just take your time and carefully follow the instructions. You'll be working with tiny little screws that are easy to drop and/or lose. I suggest using magnetic tipped tools. There are a couple of screws in some tight areas that are a little difficult to remove.
    Be particularly careful to check all the snap-on cablings when you reassemble. There is one you don't remove during installation that is near the top part of the optical drive and covered over. When I was tugging on the drive to remove it I apparently popped the cable under the cover. Turned out it was for the WiFi and BT. I had to disassemble the back cover and look hard for something I couldn't see. I just happened to press on the covered area where the cable connected and heard the snap of it reconnecting. If it weren't for that I would have never figured out why my WiFi and BT stopped working!

  • Seeking help with software upgrade questions for my PowerBook G4

    I am seeking help/advice for a very low tech guy. I upgraded my PowerBook G4 (ancient I know but I have trouble with our thow away society), to Leopard 10.5.2. However, my iDVD no longer works. I plan on upgrading to iLife'08, but based on the system requirements, I am not certain all of the features (i.e. iMovie'08) will work on my older processor. Before I upgrade to iLife, can anyone tell me if I should do it and if they will work on my all the features will work on my PowerBook G4?

    Many prefer iLife'06 to '08, but we went from '05 to '08.
    You are correct in that iMovie'08 will not run on your Book, but when you install iLife'08 you are given the opportunity to download iMovie'06 for free.
    I can't vouch for it fixing your iDVD however.
    Joe

  • Visualage for java to Eclipse migration tool.

    Hi
    Here im trying to convert Visualage for java to Eclipse.I exported all the project in Visualage for java to Eclipse.
    I can get the output of project perfectly ,but the main problem is Visual Editor is not coming properly.
    I just tried 3.1,3.2,3.4 Eclipse versions.
    I couldn't able to get any tool for migration.Is there anything is avaliable .
    Other wise i have to go for some other way .
    U have any qns regarding this issue , plaese u can ask ...
    Thanks.
    Jai
    Email : [email protected]

    @ jwenting
    Hi jwenting
    I just tried 2.0 Eclipse but that is also creating same issue .I want to know any other way to deal.
    please can u just give me some suggestion.
    thanks
    jai.

  • Seeking Help/Advise for Premiere Pro CS3 editing project

    Hello everyone,
    I am an Absolute newbe here, and to both forums and Adobe in general, so I may be going about this all wrong. If so forgive me, but I have a problem that I would Desperately like some help with.
    For about twenty-five years I have been looking for a movie, the problem was hampered somewhat by the fact that it was never released on either VHS or DVD, making it rather hard to find as you might imagine. Now, thanks to the wonder of a (new?) site called youtube, I found DL it piece by piece. I dont mind that it is not DVD quality, in fact, since it was originally a made for tv film, I kind of like it.
    The PROBLEM is that for some reason the audio doesnt match up with the video. It is a few seconds before/after (Dont ask me why, I dont Know computers much) and though I have dl/tried every program I can get my hands on, I cant seem to join the pieces together and get the stuff to sync up. Its like watching an old, old Japanese monster movie and watching Those gave me a headache when I was young lol.
    Then someone told me that Adobe Premiere Pro CS3 could fix the problem, so I DL it on a trial basis. Thing is, I know nothing about computers and cant even get the movie to load. Let me say I am not especially computer literate, and while I am currently trying to figure out Adobe Premiere Pro CS3 I most likely Wont be keeping it past the 30-day trial. Not that I dont like it (I suppose, so far I have been able to get absolutely no place with it) but rather because I DL it for one reason and, at almost a thousand dollars, it seems an extravagance for a program I will likely never have the need to use again.
    (No disrespect intended)
    With utmost respect to all, could someone either guide me through the process or convert the thing for me? I have tried going the video editing rout, but they wont help me due to a copyright thing (though I grabbed the thing from public youtube). I dont want to publically display, resell, show off or make a dime from the thing, I just want to make it sync up and burn it to dvd to watch on my tv.
    Any advise/help would be warmly appreciated. I am posting this in a couple of forums, so like I said, if I am out of line I apologize.
    Respectfully to all.
    B G

    To John Smith,
    Thanks, I have now dl elements and I am going to fool with it today, wish me luck.
    To Malick,
    Exactly why I am here. Because I am computer functionally illiterate, I am hoping someone here can either:
    A: Talk me through the process.
    or
    B: Be convinced to do it for me. I am willing to deal. :) (I suspect it is the kind of thing that, a person who Knew what they were doing, could do it in about five min.)
    For me, who has only used computers for the most Basic things.....
    I have tried putting everything onto a CD and taking it to places, but each time I get told that, even though I found the thing on youtube, it is (Was) a real movie released on TV and as such cannot be touched due to copyright. (goofy, if ya ask me. I don't want to sell the thing, just watch it)
    But I thank you.

  • Best Practices for Defining NDS Java Projects...

    We are doing a Proof of Concept on using NDS to develop non-SAP Java applications.  We are attempting to determine if we can replace our current Java development tools with NDS/WAS.
    We are struggling with SAP's terminology and "plumbing" for setting up/defining Java projects.  For example, what is and when do you define Tracks, Software Components, Development Components, etc.  All of these terms are totally foreign to us and do not relate to our current Java environment (at least not that we can see).  We are also struggling with how the DTR and activities tie in to those components.
    If any one has defined best practices for setting up Java projects or has struggled with and overcome these same issues, please provide us with some guidance.  This is a very frustrating and time-consuming issue for us.
    Thank you!!

    Hi Peggy,
    In Component Model we divide software projects into small components.Components can use other components in well defined manner.
    A development object is a part of a component that can be changed or developed in some way; it provides the component with a certain part of its functionality. A development object may be a Java class, a Web Dynpro view, a table definition, a JSP page, and so on. Development objects are always stored as “sources” in a repository.
    A development component can be defined as a frame shared by a number of objects, which are part of the software.
    Software components combine components (DCs) to larger units for delivery and deployment.
    A track comprises configurations and runtime systems required for developing software component versions.It ensures stable states of deliverables used by subsequent tracks.
    The Design Time Repository is for versioning source code management. Distributed development of software in teams. Transport and replication of sources.
    You can also find lot of support in SDN for the above concepts with tutorials.
    Refer this Link for a overview on Java development Infrastructure(JDI)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/java development infrastructure jdi overview.pdf
    To understand further
    Working with Net Weaver Development Infrastructure :
    http://help.sap.com/saphelp_nw04/helpdata/en/03/f6bc3d42f46c33e10000000a11405a/content.htm
    In the above link you can find all the concepts clearly explained.You can also find the required tutorials for development.
    Regards,
    Vijith

  • WebDynpro for ABAP Vs Java

    Hi all,
    I have recently  started learning Web Dynpro for ABAP.
    I have worked in WebDynpro for Java.
    1)I wanted to understand pros and cons of WebDynpro for   ABAP and Java.
    2)What are the functionality that are available in Web Dynpro for Java but not in Web Dynpro for ABAP.
    3)What should be preferred when considering performance issues - WD for ABAP of Java?
    Any Web Log or Link in this context will be helpful.
    Thanks a lot,
    Rashmi

    Hi,
    OOPs ABAP uses Classes and Interfaces which uses Methods and events.
    If you have Java skills it is advantage for you.
    There are Local classes as well as Global Classes.
    Local classes we can work in SE38 straight away.
    But mostly it is better to use the Global classes.
    Global Classes or Interfaces are to be created in SE24.
    SAP already given some predefined classes and Interfaces.
    This OOPS concepts very useful for writing BADI's also.
    So first create a class in SE 24.
    Define attributes, Methods for that class.
    Define parameters for that Method.
    You can define event handlers also to handle the messages.
    After creation in each method write the code.
    Methods are similar to ABAP PERFORM -FORM statements.
    After the creation of CLass and methods come to SE38 and create the program.
    In the program create a object type ref to that class and with the help of that Object call the methods of that Class and display the data.
    see the links below, Understand them and start developing.
    chk out the links below:
    General Tutorial for OOPS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Have a look at these links for OO ABAP.
    http://www.sapgenie.com/abap/OO/
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://www.allsaplinks.com/
    http://www.sapgenie.com/abap/controls/index.htm
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    SDN Series:
    https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/35eaef9c-0b01-0010-dd8b-e3b0f9ed7ccb [original link is broken]
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Basic concepts of OOPS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
    http://www.henrikfrank.dk/abapuk.html
    http://www.erpgenie.com/abap/OO/
    OOPS in ABAP
    oops consept in abap
    ABAP with OOPS
    http://www.abap4.it/download/ALV.pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    http://www.erpgenie.com/abap/controls/alvgrid.htm
    OOPS with ABAP
    https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=37566
    /people/rich.heilman2/blog/2005/07/27/dynamic-internal-tables-and-structures--abap
    http://www.sapgenie.com/abap/OO/
    Regards
    Srinivas.K
    Message was edited by:
            Armin Reichert

  • We have a requirement to print the w2 forms for employees using java application, how can i implement this. Please give some suggestion.

    We have a requirement to print the w2 forms for employees using java application, how can i implement this. Please give some suggestion.

    Anyone any ideas to help please?

  • Required Help and Documentations for following Scenarios. URGENT

    Hi every one,
    I require help and materials for following scenarios:
    <b>1) RFC to IDOC
    2) JDBC to RFC & IDOC
    3) Mail to File
    4) HTTP to RFC, JDBC & IDOC
    5)WEB SERVICES to RFC & IDOC
    6) IDOC to ABAP proxy
    7) Java Proxy to JDBC</b>
    my email id: <u>[email protected]</u>
    urgent plzz  help me...
    Message was edited by:
            satish c

    Satish,
    I would suggest to go through sravyas weblogs where she has given all the links to all the scenarios:
    /people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
    /people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
    /people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
    Also check this weblogs which they have explained with some scenarios:
    Following are the links to weblogs which will help to develop the basic scenarios.
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - File to Mail
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
    /people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    /people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination centrally
    /people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
    /people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party - Handling different partners for IDoc
    /people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
    /people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible - Testing of integration process
    /people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects - Authorization in XI
    http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
    /people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi - Transport in XI
    /people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces - Controlling access to Sensitive Interfaces
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - The same filename from a sender to a receiver file adapter - SP14
    /people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine - Payload Based Message Search in XI30 using Trex Engine /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i - XI : Configuring CCMS Monitoring for XI- Part I
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter - XI: HTML e-mails from the receiver mail adapter
    /people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated - XI : FAQ's Provided by SAP
    Regards,
    ---Satish

  • Where can I find the original code for class in Java API

    I am learning Java programming and wanted to see how professionals handel all cases. Can anyone tell me where I can find the original implementation code for classes in Java API? It would be a great help for me.

    the basic source is where you installed java in a file called java.src, its either in the main dir of one of the sub dirs ( mmm ), contains all the source code for all the classes in the api.

  • Run SAPehpi for ABAP + standalone Java

    I have run SAPehpi several times for NW04s ABAP+JAVA.  Because ABAP and JAVA are on the same server,
    the process is very smooth and easy.
    Now I try the same thing on a NW04s with ABAP and JAVA on seperated servers.
    Could you share your experience on how to coordinate the dual stack with each on different  server?
    Blogs and links are very helpful.
    Thanks a lot!

    Why do you need a sequence if they are standalone systems?
    I normally in any other scenario apply ABAP and then JAVA so I would proceed in the same way.
    Don't forget the backups  :-D
    Regards
    Juan

  • Looking for the BEST java IDE

    Hi
    We're evaluating java IDE's (especially JBuilder & VisualAge) for a Client-Server project that uses RMI (there is no Web development\HTML\Bens involved)
    I would appreciate any recommendations, suggestions, articles or reviews that you have.
    thanks in Advance...

    Both of these IDEs are very solid pieces of software each with their own advantages.
    JBuilder is similar to most other java IDEs. It takes less time to become productive in JBuilder than it will take in Visual Age because Visual Age takes a non-standard approach to java development. Be sure to look at a recent version of JBuilder because early version support for remote debugging was very poor.
    Visual Age has some of the most advanced java development features of any IDE I've ever used. The downside of this functionality is that it takes quite a bit of time to get accustomed to the IDE. Visual Age doesn't use files like most other IDEs opting instead to provide a completely separate archiving mechanism called a Repository.
    If you're looking for something that will take very little time to learn, JBuilder is the better choice. It doesn't have as many features as Visual Age but it's also a lot more like most IDEs and has just about everything most java projects will need.
    If you're team is composed primarily of Sr. developers and you're willing to take the time to learn the IDE, Visual Age is well worth the investment. It's a pain to learn but once you learn it you won't want to go back to file based development.
    Of course, if you're looking for something between these 2 in terms of features and complexity, download the community edition of forte and give it a whirl.

  • Please help---merge function for two arrays.

    I am trying to create a merge function that merges two sorted arrays into a third array. I know what I am supposed to do, at least in theory, but I have been completely unsuccessful with actually getting the code to work. Since it is private, you can't directly access the arrays, you have to just reference them. could someone please help me out.
    import java.io.*;
    class OrdArray
    private long[] a;
    private int nElms;
    public OrdArray(int max)
    a = new long[max];
    nElms = 0;
    public int size()
    { return nElms;}
    public int find(long searchKey)
    int lowerBound = 0;
    int upperBound = nElms-1;
    int curIn;
    while(true)
    curIn = (lowerBound + upperBound) / 2;
    if(a[curIn]==searchKey)
    return curIn;
    else if (lowerBound > upperBound)
    return nElms;
    else
    if(a[curIn] < searchKey)
    lowerBound = curIn + 1;
    else
    upperBound = curIn - 1;
    public void insert(long value)
    int j;
    for(j=0; j<nElms; j++)
    if(a[j] > value)
    break;
    for(int k=nElms; k>j; k--)
    a[k] = a[k-1];
    a[j] = value;
    nElms++;
    public boolean delete(long value)
    int j = find(value);
    if(j==nElms)
    return false;
    else
    for(int k=j; k<nElms; k++)
    a[k] = a[k+1];
    nElms--;
    return true;
    public void display()
    for(int j=0; j<nElms; j++)
    System.out.print(a[j] + " ");
    System.out.println("");
    public void merge(OrdArray array, OrdArray array1)
    }//this is the start of the merge function. I am stuck and not real sure where to go from here.
    public long getElm(int index)
    return a[index];
    }//end class OrdArray
    class OrderedApp
    public static void main(String[]args)
    int maxSize = 100;
    OrdArray arr, arr1, arr2;
    arr = new OrdArray(maxSize);
    arr1 = new OrdArray(maxSize);
    arr2 = new OrdArray(maxSize);
    arr.insert(77);
    arr.insert(99);
    arr.insert(44);
    arr.insert(55);
    arr.insert(22);
    arr1.insert(88);
    arr1.insert(11);
    arr1.insert(00);
    arr1.insert(66);
    arr1.insert(33);
    arr2.merge(arr, arr1);
    arr.display();
    System.out.println("--------------------");
    arr1.display();
    System.out.println("--------------------");
    arr2.display();
    }

    If I use ArrayList<Long>, would I have to change private long[]a to ArrayList<long>, cause if so, I am not able to do that.
    I am supposed to add a merge() method to megre the two source arrays into an ordered destination array.
    public void merge(OrdArray array, OrdArray array1)
    mergeSize = array.nElems + array1.nElems;
    int i = 0;
    int j = 0;
    int k = 0;
    while (i = 0; i < array.nElems; i++) {
              if {array.getElm(i) < array1.getElm(j)
                                                              //how do you move to the next set of values
                                                              //and to move which variables are incremented
                                                              //how do you test if the flush loop should be      called, hint if( == )
                   while (j = mergeSize - array.nElems; j <= mergeSize; j++) { 
                                   this.a[j] = array1.a;
    //again how do you move to next value and placeholder
         //which indices are incremented
    //copy/paste and change the variables for the other value being smaller
    public long getElm(int index)
    return a[index];
    this is all I have started, but i don't really understand all the comments because I haven't used java in a long time. Like I said, I understand what needs to be done and what order to do it in, but getting the code down to do that is really rough

  • Need help creating URL for getImage

    In the following code example, I get an error when javac compiling. I need help, because I cannot determine what is wrong. "....." denotes extraneous code removed for readability.
    import java.awt.*;
    import java.io.*;
    import java.applet.*;
    import java.net.*;
    public class testapp extends java.applet.Applet implements java.lang.Runnable
    public static void main(String[] argv)
    ����.
    public void init()
    Toolkit toolkit = Toolkit.getDefaultToolkit();
    Image image1 = toolkit.getImage("imageFile.gif");
    Image image2 = toolkit.getImage( new URL("http://java.sun.com/graphics/people.gif"));
    ��
    javac reports:
    unreported exception java.net.MalformedURLException; must be caught or declared to be thrown
    Image image2 = toolkit.getImage( new URL ("http://java.sun.com/graphics/people.gif"));
    ................................................^

    With this recommended code:
    ===================
    try {  Image image2 = toolkit.getImage( new URL  ("http://java.sun.com/graphics/people.gif"));}catch(MalformURLExceptione){System.out.println("Error"); }
    ======================
    it now compiles ok, but when I access the page through the browser, I get "applet not initialized" and the page times out.
    With the lines commented out, the page loads.
    What does this tell us:
    - all we have done is mask a problem that the compiler previously highlighted.
    But what is the problem?
    As far as I can tell, the code is exact copies from the examples posted online.
    Where should System.out.println("Error"); be displayed? I can't find it. There might be a clue in the error message.

  • Can i add a servlet in oracle database for webservices without java and how?

    HI
    can i add a servlet in oracle database for webservices without java and how?
    Please help
    Thanks

    Dear Frank,
    I have done as follows
    created a form with a button, and in my button pressed event I wrote
    WEB.SHOW_DOCUMENT('javascript:openMyURL("http://192.168.1.34/HELP/ADMF0005.html");', '_Self');
    and in my formsweb.cfg I have the following
    HTMLbeforeForm=<script> function OpenMyURL(page){window.open(page,"myURL","width=700,width=400,top=0,left=0,toolbar=no,menubar=no"); } </script>
    When I click on the button it is coming with toolbar , etc as well as no page found is coming with the following in the address bar.
    javascript:openMyURL("http://192.168.1.34/HELP/ADMF0005.html");
    My html view source comes as below for the form
    <HEAD><TITLE>Oracle9iAS Forms Services</TITLE></HEAD>
    <BODY >
    <script> function OpenMyURL(page){window.open(page,"myURL","width=700,width=400,top=0,left=0,toolbar=no,menubar=no"); } </script>
    <!-- Forms applet definition (start) -->
    <OBJECT classid="clsid:CAFECAFE-0013-0001-0009-ABCDEFABCDEF"
    codebase="/forms90/jinitiator/jinit.exe#Version=1,3,1,9"
    WIDTH="1000"
    HEIGHT="660"
    HSPACE="0"
    VSPACE="0">
    <PARAM NAME="TYPE" VALUE="application/x-jinit-applet;version=1.3.1.9">
    <PARAM NAME="CODEBASE" VALUE="/forms90/java">
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    I am using Forms [32 Bit] Version 9.0.2.7.0

Maybe you are looking for

  • Invalid column name error in JDBC adapter

    Hi all, My scenario is Proxy->XI->JDBC. I get the following error in receiver JDBC  adapter. Unable to execute statement for table or stored procedure. 'Account_Master' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: I

  • Wireless drop out

    First time I have had this but started today. Appears to lose the wireless signal to the HTC and only comes back when around 1 metre from the hub. Never had this problem before and always been a stable wireless connection. HTC refused to connect even

  • Exracting data from two tables existing in external database

    Hi SDN friends, I have 2 tables in external database system. I cannot create a view as I am using Netweaver Java Dictionary. I therefore would like to get the data on BI side & perform join there. TABLE1 & TABLE2 has many to many relationship. <b>TAB

  • Logged in on a different computer, can't sign out.

    I have two different skype accounts (personal and work), and my personal account seems online on a different computer but I can't find where. I've tried to change it's password so it would sign out from all computers automatically. But it didn't help

  • Can I change wifi channel on mac book pro (Lion)?

    After installing Lion I have WiFi connection time out problems on my mac book pro. After much effort when the macbookpro wifi is able to be connected with my NETGEAR router (wifi setting set on channel 11), connection is slow (speed=1 or 5) and the c