Need support for forte for java

I using the ffj to write proram , but when the program conatain image, it cannot loading the image into it.....if using j2sdk , the resource file is place in the same directory , how about ffj ?
please help ! thank a lot !

Sounds to me that your problem is you are using relative directory names, and thus making the (incorrect) assumption that your app is always run from the same root directory. You should not use relative path names, but rather put your image file into a directory in your classpath, and use getClass().getResource("/yourFileNameHere") to access it.

Similar Messages

  • The Sun is down and I can't get Forte for Java (?)

    What's up here. I REQUIRE the newest version of Forte for Java as an IDE for JDK 1.4. The version that I have currently is over a year old. Everytime I select it from the "Products & APIs", I get a message:
    Portions of sun.com are temporarily undergoing maintenance.
    How long is this going to last? It's been unavailable for the last 10 hours (from my standpoint) and my project is at a screeching halt because of it (and since Borland has decided to soak me dry if I want a 'good' version of JBuilder that supports 1.4).
    Not only is the project being squeezed inbetween an old version of the JDK and a just-released version, which not only will require uninstallation of the old and installation of the new, but will hopefully not break the project, requiring code changes.
    Robert Templeton

    Okay, I finally found it. Java.sun.com needs to update its product link to "SUN ONE" since it no longer goes by "Forte for Java". Talk about a lack of internal communication.
    Robert Templeton

  • Why aren't deployed jar files from forte for java CE recognized by iplanet server?

     

    At 09:33 AM 4/20/01, Rottier, Pascal wrote:
    Forte 4GL is:
    1) A language, TOOL (Compare to Java)
    2) An IDE (Compare to e.g. JBuilder or FJCE)
    3) A collaborative development environment, with central repository (Compare
    to ????)
    4) A distributed application server / object request broker (Compare to J2EE
    servers and/or CORBA)Let's not forget WebEnterprise, Express, and especially Fusion.
    I think, SUN is not al all interested in TOOL.If TOOL were just a language and had no market yet, you are probably
    right. But, not only is TOOL the key to the Forte environment, but it has
    an existing and profitable market. Sun still sells FORTRAN, after all, and
    continues to put money into ADE development for all its language
    products. The real kicker, though, is that I think iPlanet is very clear
    that Fusion, now iIS, is a very key product for them. There may be those
    who wish it were written in Java and who might lobby for doing a Java
    version, but it was clear at the conference that the iPlanet management
    recognize that Java just isn't up to the task at this point. It isn't as
    if all the iPlanet tools are actually written in Java, after all.
    They will only support them for as long as they need.Or, more likely, for as long as they make money.
    Now, in response to Microsofts .NET stratagy. We have yet to see how
    succesfull this will be, but I expect Microsoft to push this down the
    throats of developers and companies quite succesfully.Like they did DCOM?
    =========================================================================
    Thomas Mercer-Hursh, Ph.D email: [email protected]
    Computing Integrity, Inc. sales: 510-233-9329
    550 Casey Drive - Cypress Point support: 510-233-9327
    Point Richmond, CA 94801-3751 fax: 510-233-6950

  • Sunsofts Forte for Java & SQLJ - anyone?

    Hi,
    we would like to use Sunsofts Forte for Java as an IDE to work with SQLJ sources.
    Since currently no other tool besides Oracles JDeveloper seems to contain direct support for SQLJ we run into the need to give up SQLJ and use plain JDBC instead because we favorize Forte so much over JDeveloper. (Note: please don't discuss the pros and cons of JDeveloper vs. Forte!)
    Does anybody use SQLJ inside Forte an can supply us with some guidance/help etc.?
    Do any of you know if Sun ore some other vendor will supply SQLJ modules for Suns Forte?
    Any help will be greatly appreciated.
    Regards,
    Robert.

    BINGO !
    Thanks Roxie!
    Roxi suggested looking for a log file possibly in .../bin
    found log files in:
    C|/forte_jdk/forte4j/bin
    and,
    C|/forte_jdk/forte4j/bin/hs_err_pid1704.log
    contained
    at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
    which I recognized from having previously encountered
    Unexpected exception from NativeFontWrapper.registerFonts(Native Method)
    http://developer.java.sun.com/developer/bugParade/bugs/4482430.html
    and previously fixed code to deal with that bug by adding
    set JAVA_FONTS=C:\home\rholder\sandbox\msda\jre\lib\fonts
    to the .bat file that launched the java program,
    sooooooooo,
    by going to ControlPannel|System|Advanced|EnvironMentVariables
    and adding
    JAVA_FONTS=C:\home\rholder\sandbox\msda\jre\lib\fonts
    forte for java 4 ce now performs mount|Filesystem, etc
    and, debugging of java code is now in progress!!!
    thanks again Roxie,
    [email protected]

  • Open Forte for java project in Sun java studio enterprise

    Hi Everyone, I am new to Java development. I have a java application developed in Forte for java 4 and I need to open and compile it in Sun java studio enterprise. Could anybody tell me how to do that? Thank you very much.

    The recent versions of the IDE (starting with NetBeans 4.1 and JSE 8) are based on a more-robust project system that is ant based. Projects from Forte for Java 4, unfortunately, cannot be directly opened in JSE8, NB4.1 and later.
    If you do have access to the original source code, pl. try the following in the latest version of JSE or NetBeans:
    - Create a fresh project in jse using File | New Project. (For a java standalone app, you would choose General | Java Application from the dialog).
    - Add the existing files to the empty project. You can do so by right-clicking on the project, selecting properties and adding the existing source directories under 'Source Packages' in 'Sources' category.
    Or from the new project dialog, you could select 'General | Java Project with existing sources' option.

  • RE: Java-based Client for Forte/IIOP

    We have deployed an application using JDK 1.1.6,
    Swing 1.0.3, Visibroker 3.2, and Forte 3.0.G.2.
    We are also using Forte's Java Interoperability
    Service.
    We have a closely-held client base (i.e. not a
    million random yahoos off the internet), so we can
    secure a Java port between client and server and
    download a fairly significant client. The Java
    client is deployed with Sun's JRE (to control the
    environment) with the following configuration:
    2.6 MB JRE
    765 KB Forte.zip
    2.0 MB swingall.jar
    1.6 MB vbjtools.jar, vbjorb.jar
    100 KB application classes
    1) The Swing controls don't interoperate well
    with the AWT and Symantec widgets, especially in
    an internal frame. They paint slowly on top of
    each other, move jerkily, and paint before moving
    to the programmed coordinates so it looks silly.
    100% Swing controls play well with other Swing
    controls and are reasonably fast.
    2) We used Symantec Cafe 2.5a to paint the
    screens, and had some problems with the
    setLayout(null) on things like the Swing tab
    folder and split panel. Commenting out the line
    fixed it, but I'm hoping Cafe 3.0 will fix it (I
    have a person installing it but haven't gotten a
    report...)
    3) The initial search time to turn an IOR file
    into a reference is an annoying 10 seconds, and
    the first method call takes about 7 seconds, but
    after that is less than a tenth of a second.
    Haven't done any digging to find out why yet.
    4) If we were deploying this as an applet, we
    would probably use the IDL IIOP export--when using
    the Java Interoperability service, any method call
    seems to load the whole 765K across the
    line...class by class. Ugly. IDL just gets what
    it needs and is smaller.
    5) Also, if deploying as an applet, we wouldn't
    have to download the JRE or visibroker jar files,
    and would only download the swing and Forte IDL
    generated classes as needed, so it would be a much
    smaller footprint than the 7MB above. (Note:
    However, we would be at the mercy of the browser
    being used by client.) Different strokes for
    different folks...
    -DFR
    From: [email protected]
    Date: Tue, 01 Dec 1998 15:15:18 -0800
    Subject: RE: Java-based Client for Forte/IIOP
    Sean,
    My worry is that Swing, while eloquently designed,
    represents an attempt to
    write a totally new display system which, at least
    in the case of my
    project, will run on top of Windows. I really like
    the Java (or a Java-like
    i.e. J++) language, but I feel safer using the
    native MS widgets. It does
    not seem that anyone on this forum has used Swing
    extensively and can
    testify to its stability and performance.
    Regards,
    David
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    We have deployed an application using JDK 1.1.6,
    Swing 1.0.3, Visibroker 3.2, and Forte 3.0.G.2.
    We are also using Forte's Java Interoperability
    Service.
    We have a closely-held client base (i.e. not a
    million random yahoos off the internet), so we can
    secure a Java port between client and server and
    download a fairly significant client. The Java
    client is deployed with Sun's JRE (to control the
    environment) with the following configuration:
    2.6 MB JRE
    765 KB Forte.zip
    2.0 MB swingall.jar
    1.6 MB vbjtools.jar, vbjorb.jar
    100 KB application classes
    1) The Swing controls don't interoperate well
    with the AWT and Symantec widgets, especially in
    an internal frame. They paint slowly on top of
    each other, move jerkily, and paint before moving
    to the programmed coordinates so it looks silly.
    100% Swing controls play well with other Swing
    controls and are reasonably fast.
    2) We used Symantec Cafe 2.5a to paint the
    screens, and had some problems with the
    setLayout(null) on things like the Swing tab
    folder and split panel. Commenting out the line
    fixed it, but I'm hoping Cafe 3.0 will fix it (I
    have a person installing it but haven't gotten a
    report...)
    3) The initial search time to turn an IOR file
    into a reference is an annoying 10 seconds, and
    the first method call takes about 7 seconds, but
    after that is less than a tenth of a second.
    Haven't done any digging to find out why yet.
    4) If we were deploying this as an applet, we
    would probably use the IDL IIOP export--when using
    the Java Interoperability service, any method call
    seems to load the whole 765K across the
    line...class by class. Ugly. IDL just gets what
    it needs and is smaller.
    5) Also, if deploying as an applet, we wouldn't
    have to download the JRE or visibroker jar files,
    and would only download the swing and Forte IDL
    generated classes as needed, so it would be a much
    smaller footprint than the 7MB above. (Note:
    However, we would be at the mercy of the browser
    being used by client.) Different strokes for
    different folks...
    -DFR
    From: [email protected]
    Date: Tue, 01 Dec 1998 15:15:18 -0800
    Subject: RE: Java-based Client for Forte/IIOP
    Sean,
    My worry is that Swing, while eloquently designed,
    represents an attempt to
    write a totally new display system which, at least
    in the case of my
    project, will run on top of Windows. I really like
    the Java (or a Java-like
    i.e. J++) language, but I feel safer using the
    native MS widgets. It does
    not seem that anyone on this forum has used Swing
    extensively and can
    testify to its stability and performance.
    Regards,
    David
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Opinions Needed for Brand New Java Source Editor....

    Help:
    I need you to tell me what features your ideal source code editor (with some project management tools built in) would have. Tell me anything, however big, however infeasible, or however trivial.
    Background:
    I'm starting work this summer on a major project, set to last until the summer of 2004 (2 years), during the course of which I plan to develop an advanced text editor (with project management tools), written in Java, that will be built from the ground up differently from any other. It will be freeware on release.
    Features:
    The software will be able to handle HTML/XML/Java/Prolog/LISP/C/C#/Perl languages and plain text, and will support plug-ins for other languages.
    In the course of developing it, I want to experiment with novel features, built-in project management tools, support for numerous programming languages, different ways of viewing, editing and presenting the project/code, and the application of the latest AI research.
    I also want to build a 'concept' GUI (as in 'concept car), that will be rather unlike any other application around at the moment and will be designed from the start to follow all the latest theory on user psychology, behaviour and preferences.
    I have dozens of ideas for this, which sadly I need to keep mostly under wraps for the time being. However, this project is intended to create from scratch an entirely new text editor using user-centred design, and I need to know what all you novice and experienced users want.
    Timeline:-----------------------------------------------
    Prototypes expected by Xmas 2002.
    First beta likely to appear late Summer 2003.
    Successive betas to be followed by release
    candidates around about Xmas 2003.
    Final release to appear early Spring 2004.
    Update Summer 2004.
    (All these releases will be freeware)
    As you can tell from the schedule, this is a serious project, and I hope I can produce a piece of (initially) freeware that will benefit everyone...
    Thanks for the help!
    Martin Robbins
    UW Aberystwyth (UK).

    a good deal is to implement your software using the Control-Model-View paradigm...
    it may provide many different GUI.. including a web based GUI... imagine a distributed editor GUI .. which the user may access him project trough the web, mantaining the CVS control, secutiry and cross-plataform benefits....
    it also provide you a chance of create new GUIs (evolution) along the next years.. without having to change the editing classes....
    Nowadays I�m developing a AI Planner as part of my MsC thesis...
    my project has the following design:
    - a model: the set of data structures which are filled at the start of the planning process...
    - a kernel controller, the code which makes the real work (parse the input files creating the model, dispatch the planner thread and save the results..)
    - a GUI: I have tow GUIs now, an JFrame application and a JApplet application. These two GUIs share the same model and control classes.. this provide the same eficiency trough the web or trough a standalone application ....
    that�s the point: a good GUI must be disassociated from the classes which makes the "undeground working"
    it may be helpfull if you create a code model, some code checkers (it may be threads) and the GUI separatelly...
    you may take a look at my efforts:
    http://www.lia.ufc.br/~gaucho/planner.html
    (the linke above shows only the GUI, but it is really not finished)

  • Need ideas for new PJC/Java Beans

    Hello everybody,
    I am always looking for new ideas about the Java Bean and PJC stuff. Sometimes I have good ideas about this, but sometimes it is quite a pain to find something new and innovative.
    If you have ideas or needs about this, let me know in this thread.
    (Sorry Oracle staff if I am going beyond my rights by using the Forum for that purpose)
    Francois

    Francois ,
    I think that we all need to thank you for all your hard work promoting Oracle Forms.
    Your input and constant support on this forum is greatly appreciated.
    But I personally think that all this needs to be addressed by Oracle.
    Your wrote
    Sometimes I have good ideas about this, but sometimes it is quite a pain to find something new and innovative.
    And I agree with you.
    You can go as far as the Forms let you go...
    Thanks,
    Michael

  • Setting environment in Forte for java

    How do i need to configure the environment in Forte for java so that i can give it
    command line args with a GUI. thanks so much

    Specifying Arguments for Program Execution
    You can pass command-line arguments to a program's main method when you run the program.
    To specify program arguments:
    In the Explorer, select the runnable Java object.
    From the main window, choose Build Set Arguments.
    In the Set Arguments dialog box, type the arguments as if you were typing them on the command line.
    If the argument includes a space, enclose it in quotation marks (for example, "arg 1").
    Click OK.
    You can also specify arguments on the Execution tab of the file's property inspector.

  • Forte(for java) CE question

    Hello people!
    (I found no forum on Forte for java, so I ask my question here)
    Here is it. How can I make Forte know my packages, and support dot notation? ie, say I have a mypack.myotherpack.SomeClass class. When I type
    import mypack.
    at this point it should show what subpackages are available in mypack.
    And if
    SomeClass instance = new ...;
    instance.
    here it should show methods, fields.... But Forte shows all these only in packages and classes that "it already knows" somehow. Does anybody how this is done? It is very frustrating that it does not happen. Thx!

    What class is not found?

  • Urgent: who ever use Forte for java ---thanks a lot

    who ever use forte for jave :
    i have some problems..
    1. how to config forte for jave to import the libs which i have programmed and stored in .jar file.
    2. how to setup the application sever and tomcat in Forte for java.
    3. how to use the EJB(which i have programmed) in forte for java.
    before i use JBuilder and i am quite new to Forte for java
    thanks a lot .

    2. how to setup the application sever and tomcat in Forte for java.Tomcat is built into Forte. Once you create web module, you can configure the tomcat server.
    3. how to use the EJB(which i have programmed) in forte for java.What do you mean with "use". You have to deploy them to your EJB container in order to be able to "use" them.
    If you are looking for support for a specific container:
    I think support for the reference implemenation is already built in.
    And I have seen a module to support Oracle's IAS somewhere on the Forte homepage
    Docs on NetBeans/Forte
    http://www.netbeans.org/about/books/index.html
    http://www.netbeans.org/ide/docs/index.html
    http://forte.sun.com/
    Thomas

  • Java-based Client for Forte/IIOP

    My project is evaluating tools to build the next version of order
    entry/production management system. The first version is written entirely
    in Forte.
    We are considering 3 options for the client:
    1.Visual J++/ORBIX COMet (WFC widgets)
    2. Visual Cafe / ORBIX for Java (Swing Widgets)
    3. GOFC (Good old Forte Client)
    The back-end will probably remain Forte/Oracle on Solaris.
    If anyone has experience with these tools I would like to hear from you.
    I've tried J++/WFC last week and it seems to be solid. I am curious if
    Swing is ready for prime time.
    Regards,
    David
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Sean,
    My worry is that Swing, while eloquently designed, represents an attempt to
    write a totally new display system which, at least in the case of my
    project, will run on top of Windows. I really like the Java (or a Java-like
    i.e. J++) language, but I feel safer using the native MS widgets. It does
    not seem that anyone on this forum has used Swing extensively and can
    testify to its stability and performance.
    Regards,
    David
    At 12:40 PM 12/1/98 -0700, you wrote:
    The last I heard it is Swing and JDK 1.2 in release 4.
    Cornice Consulting Inc.
    Phone: (303) 688-5016
    mailto:[email protected]
    -----Original Message-----
    From: [email protected]
    [<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of Thomas Mercer-Hursh,
    Ph.D.
    Sent: Tuesday, December 01, 1998 10:20 AM
    To: [email protected]
    Subject: Re: Java-based Client for Forte/IIOP
    At 08:56 PM 11/30/98 -0800, [email protected] wrote:
    I am curious if
    Swing is ready for prime time.Isn't Swing what Forte is using in R4?
    =========================================================================
    Thomas Mercer-Hursh, Ph.D email: [email protected]
    Computing Integrity, Inc. sales: 510-233-9329
    550 Casey Drive - Cypress Point support: 510-233-9327
    Point Richmond, CA 94801-3751 fax: 510-233-6950
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
    >>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
    >
    >
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>

  • Is there anything we need to look out for when running Forte 3.0.N.1 and iDS5.0 SP1 on WindowsXP?

    We are in the process of migrating to Windows XP and during the transition period from 95 to XP we will need to run the uncertified for XP products Forte 3.0.N.1 client runtime and the iDS5.0 SP1 admin console on XP for a time.
    We were just wondering if there were any gotchas or problems we need to look out for?

    Hi Kelsey,
    Forte 3.0.N.1 is not certified to run on Windows XP. UDS 5.0.1 is the only certified ti run on Windows XP but just as client and is not certified to be a Server.
    Anyway, let me know what your problems were when running Forte on Windows XP.
    Cheers!!!

  • Forte for Java and webLogic

    How do I integrate WebLogic 6.1 and Forte for Java?

    Hi.
    You might check with Sun/Forte for info on how to do this.
    Regards,
    Michael
    Stjepan Maric wrote:
    How do I integrate WebLogic 6.1 and Forte for Java?--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Problems uninstalling Forte for java 4 community edition

    I just installed Forte for java 4 community edition at work, and when i tried to uninstalled it with add/remove programs from control panel. And the uninstall wizard start but then a Sun window apper and it is written, uninstalling and the uninstall program seems to be frozen.

    i have the same problem, reading the documentation it seems you got to run the installer again and you ll get prompted with the "file deletion confirmation"
    too bad i have a self-installing package and i don't get the prompt...
    guesses anyone?

Maybe you are looking for

  • IOs4 upgrade software - Error 29 - phone crashes

    HELP!!! Has anyone managed to solve this problem. Apple offered to look at mine under the remaining warranty. Sent it back saying it had water damage. My phone worked perfectly well until I downloaded this software.

  • Oracle equivalent to SQL Server Profiler

    Is there a tool within Oracle that can analyse SQL coming from an application similar to the Profiler tool within SQL Server. I have looked at my available icons within the Oracle Enterprise Manager Console but I have not noticed anything I think wou

  • Client wanted to delete the document created with the wrong GL with the WBS

    Dear All, The user had by mistake posted the the document in a wrong GL with with WBS element under the Project. We have tried to reverse it through a reversal posting. But it could not be done. Client wanted to delete the document created with the w

  • Why are 2 identical events created in iCal on my mac when I add event from mail ?

    why are 2 identical events created in iCal on my mac and not on my iPhone when I add event from mail created on a pc using OUTLOOK ?

  • Whats the differece between them?

    Can anyone explain me the difference in this code? Why do we an if(!) condition? What are the best reasons to go for this kind of code? What is wrong with my breat label statement below? List<SalesOrder>listReturned = new ArrayList<SalesOrder>(); Set