Forte For Java GUI Editor

Hi everyone,
I've been trying to switch usage between Forte for Java running on 2 platforms (Win NT and Solaris 8). For this reason, I want to try to use the GUI Editor in each. But when I tried copying the same .class file from one platform to another and running opening the file under Forte for Java, the GUI Editor doesn't show up the form and Component Editor. Is there a way to make Forte for Java able to recognize the GUI components in a class file not creatd in Forte or not in that version of Forte? Thank you for any help!
Bob

Hi,
this happens not just with class file but also with .java
file. I created a GUI with Forte ( on windows ) and because I did not jave runtime setup on windows, I copied, java file that was created to the unix env. Then added some code to it and copied back to the windows.
After that, GUI editor never came up. I lost all that I did
to create a GUI. Now I can modify GUI only manually.
I you have found answer to this, please let meknow
at [email protected]
rgds,
sam

Similar Messages

  • Save editor settings in Forte for Java?

    I am using Forte for Java, community edition v.3.0. I lost all the abbreviations setup(which was surprising) after a crash, and it is really painful to set all those up again. I just wonder is there any way to save the editor settings in an external file so they can be recovered under similar suitations, or if this information is already in a file, where is it?
    Thanks in advance.

    Dear Jensbruhn
    Thanks for your suggestion. I will try with version 4.
    zahsan

  • Question on forte for java

    Hi,
    I'm developing using the Forte for JAVA ide, but I get an error though i know certainly that my code is correct.
    I get this error:
    Tue Nov 06 11:35:29 CET 2001: java.lang.NoSuchMethodError: Posted StackTrace
    Annotation: Exception occurred in Request Processor
    org.openide.util.RequestProcessor$Holder: Posted StackTrace(task org.netbeans.modules.web.core.jsploader.TagLibParseSupport$ParsingRunnable@772046 [-2433, 9, -1])
    at org.openide.util.RequestProcessor$Task.createHolder(RequestProcessor.java:322)
    at org.openide.util.RequestProcessor.post(RequestProcessor.java:100)
    at org.openide.util.RequestProcessor.postRequest(RequestProcessor.java:185)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.parseObject(TagLibParseSupport.java:110)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.prepare(TagLibParseSupport.java:97)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.getTagLibEditorData(TagLibParseSupport.java:67)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.getTagLibEditorData(TagLibParseSupport.java:55)
    at org.netbeans.modules.web.core.syntax.JSPKit.createSyntax(JSPKit.java:94)
    at org.netbeans.editor.BaseDocument.getFreeSyntax(BaseDocument.java:377)
    at org.netbeans.editor.DrawEngine.draw(DrawEngine.java:876)
    at org.netbeans.editor.LeafView.paintAreas(LeafView.java:145)
    at org.netbeans.editor.BaseView.paint(BaseView.java:129)
    at org.netbeans.editor.BaseTextUI$RootView.paint(BaseTextUI.java:594)
    at org.netbeans.editor.BaseTextUI.paintRegion(BaseTextUI.java:238)
    at org.netbeans.editor.EditorUI.paint(EditorUI.java:1315)
    at org.netbeans.editor.BaseTextUI.paint(BaseTextUI.java:217)
    at javax.swing.plaf.ComponentUI.update(ComponentUI.java:39)
    at javax.swing.JComponent.paintComponent(JComponent.java:395)
    at javax.swing.JComponent.paint(JComponent.java:687)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JViewport.paint(JViewport.java:668)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintWithBuffer(JComponent.java:3878)
    at javax.swing.JComponent._paintImmediately(JComponent.java:3821)
    at javax.swing.JComponent.paintImmediately(JComponent.java:3672)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:370)
    at org.netbeans.core.windows.frames.PinRepaintRM.paintDirtyRegions(PinRepaintRM.java:75)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:124)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
    [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    Tue Nov 06 11:35:29 CET 2001: java.lang.NoSuchMethodError: null
    java.lang.NoSuchMethodError
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.parsePage(TagLibParseSupport.java:150)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.access$200(TagLibParseSupport.java:41)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport$ParsingRunnable.run(TagLibParseSupport.java:119)
    at org.openide.util.Task.run(Task.java:124)
    [catch] at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:626)
    I seems that it can't compile my jsp to servlet
    THX

    ive ran into many problems with compiling in forte. I just compile everything from the command line now, lets me know exactly what switches i want, and it works! ive never seen an error like that in forte though, i would just recommend compiling it from the command line with "javac"...

  • About Forte for java

    I'm a really beginner on Java.
    I don't the guru use what kind of java developing tools.
    There's only one I can use is "Forte for java".
    Dose anyone there who familiar to it and can help me?

    I'm a really beginner on Java.
    I don't the guru use what kind of java developing
    tools.
    There's only one I can use is "Forte for java".
    Dose anyone there who familiar to it and can help me?I used Forte for Java when I was really really new to Java too. I liked it.
    I liked the way different words in the Java program were shown in different colors. It helped me to understand the language. I thought it was a nice tool.
    But unfortunately, I only learned Java with Forte. I associated all my work with Forte. I was thinking much about Forte. I didn't learn about directory structures in an application or how Java uses a classpath until I stopped using Forte.
    So yawmark is right. If you use Mac OSX try using BBEdit as an editor. It will color your code. And outside of an IDE you will be aware of the basics of Java. If you use another Operating System, there are other text editors available that can color your code and that can be helpful.

  • 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.

  • 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

  • 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.

  • 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?

  • 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?

  • Help with (forte for Java CE) please

    I had installed forte for Java CE and had recieved some problems. After I installed the program and tried to run it it said this error.
    Cannot load c:\j2sdk1~1.1_0\jre\bin\classic\jvm.dll
    Bacicly why I installed forte was for the debugger part. Jedit doesn't seem to work for me. I'm using windows xp home edition.
    Any help would be great
    Thanks in advance
    George

    Try downloading a newer SDK and getting
    c:\j2sdk1~1.1_0\jre\bin
    out of the path

  • 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

  • Is there a forum for Java GUI Application Design?

    Hi all,
    I've used this forum a lot and found a lot of help on it for Swing usage specifics. However, whenever I ask a question about broader design or architecture of a full Swing app I get little or no response. Sadly I'm no stranger to "view 50, replies 0" :o(
    Either I'm asking stupid questions or I'm asking the in the wrong forum - does anyone know of a good place to ask about design/best practices for Java, GUI applications? I've seen some of the "programmer"/"developer" groups on Google Groups.
    Many thanks.
    Yours, hoping for at least one reply,
    Chris

    You're right, I typed that wrong. The method signature should be addDataChangeListener(DataChangeListener lis, DataChangeType type)
    When a component registers itself as a change listener, say it wants to know whenever an object of type Foo is changed, it calls DataChangeType.addDataChangeListener(this, DataChangeType.FOO). (the Enum elements coorespond to the objects we want to listen for) Then it implements the dataChanged(DataChangeType type, Object obj) method that will be called by the controller when objects of type Foo are changed. (obviously this is an interface) Whenever a component updates an object of type Foo, it calls DataChangeControl.dataChanged(DataChangeType.FOO, theFooObject), and then the controller will notify all listeners who are interested in Foo objects changing.
    The DataChangeControl maintains a hashmap of <DataChangeType, List < DataChangeListener> >. So when a new listener is added, it checks the type to see if a list is already keyed to that object type in the hashmap. If so it adds the listener to that list, if not it creates a new list in the hashmap with the type as the key. That way when an object is changed, it notifies only those listeners who are registered to listen to that type of object being changed. Hopefully that makes sense.

  • PetStore running in Forte for Java 4 - Part 1

    I am hoping to get the PetStore (1.3.1_01) running under Forte for Java 4 EE. If I succeed I will be posting this up to the web-site so that it is publicly available. However I am very new to Forte for Java (FFJ) [I ran it for the first time six days ago]. As a concequence I may not understand the best way of configuring projects or web modules etc, associating the J2EE, implementing ANT files etc etc etc. So what I thought I would do is (briefly) explain what I am doing so that if I am doing stupid things or there are better ways of doing things you guys can shout (ie get some peer review as I proceed).
    The overall approach I am taking is:
    + The project is stored in the standard \forte4j-userdir\system\Projects directory.
    + the source currently is stored separately (ie the directory I unzipped the perstore to).
    + I am building the project in the same sequence that the main build.xml files specifies (ie components / waf / apps).
    + I expose parts of the PetStore project to FFJ by mounting local directories from the unzipped PetStore directory.
    + As long as the j2ee.home is defined in build.properties the ANT build processes work. However a compile under FFJ will not work as it does not know where the j2ee.jar file is. Therefore I have mounted the j2ee.jar and added this to the project. [IS THERE A BETTER WAY OF DOING THIS?]
    Each of the COMPONENTS (asyncsender, encodingfilter, purchaseorder etc) are held in separate java packages. Each of these have been mounted separately and then arranged in the same order as they appear in components/build.xml. Each of these can then be compiled, or, built using the ANT files successfully. Finally for the COMPONENTS I wanted to make the components/build.xml known to FFJ. Unfortunately you can't just mount the components directory (see problem below). So I have created a new directory at the petstore/src level called build and mounted this directory. The components build.xml file has been copied into this directory and renamed to components.xml. Finally the base directory in components.xml has been changed from (.) to (../components). Double clicking on this now builds all of the COMPONENTS without errors.
    I have taken this approach rather than just mounting the components directory as when you do a build you get the following error:
    "java.lang.ClassNotFoundException: Mount/org-openide-filesystems-LocalFileSystem_1.settings: missing 'class' attribute in 'instance' element". [WHAT IS THIS AND IS THERE A SOLUTION?]
    Hopefully I will get some more time tomorrow to start work on the waf part of PetStore.
    Cheers
    Paul

    Before starting on the waf import to Forte for Java (FFJ) I did a quick review. And found an issue. FFJ was not recognising the EJB components as EJBs.
    When creating a new EJB FFJ will store the following "special" files:
    + <ejb name>.ejbdd containing the <ejb-jar> definition
    + <ejb name>.ejbj2eeri containing the <j2ee-ri-specific-information> [AM I CORRECT IN SAYING THIS IS THE CONTAINER SPECIFC DEPLOYMENT INFORMATION? ]
    + <ejb name>.sesejb or .entejb or .mesejb - depending on whether the bean is an session / entity / message bean
    The PetStore project contains <ejb-jar> definitions in ejb-jar.xml files. These files were therefore copied out to the appropriate location for FFJ and renamed to <ejb name>.ejbdd. On opening the project FFJ now recognises the EJBs correctly (signified by the FFJ bean icon). The build.xml files were then changed to copy the new <ejb name>.ejbdd files to the META-INF directory. The project both compiles and can be built from the ANT files successfully.
    So far I have not done anything about the ejbj2eeri files [CAN ANYONE PROVIDE ME WITH ANY INFO ABOUT THESE? FOR EXAMPLE DOES FFJ HAVE ANY SPECIFIC VALUES STORED IN HERE OR WILL THE CURRENT VALUES DEFINED FOR THE J2EE REFERENCE IMPLEMENTATION BE OK].
    Neither have I done anything about the .sesejb / .entejb / .mesejb files. They contain the following information:
    <?xml version="1.0" encoding="UTF-8"?>
    <fjee-ejb>
    <file-version>1.0</file-version>
    <ejb-version>2.0</ejb-version>
    </fjee-ejb>
    [AGAIN CAN ANYONE PROVIDE ANY INFORMATION ABOUT THESE? ARE THEY NECESSARY OR IMPORANT]
    Thanks for any help that can be provided.
    Paul

  • 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]

Maybe you are looking for

  • YouTube and WiFi have a love-hate relationship

    My iPhone for some reason refuses to play YouTube videos under WiFi. With Edge it will always play them but with not so great, albeit watchable, quality. On the rare occasions the WiFi works with YouTube the quality is great. When trying on WiFi I co

  • Acrobat PDFMaker toolbar button disparity

    I am printing to PDF an Outlook email message using the Acrobat PDFMaker toolbar button.  The document generates but is displaying the date of the Outlook pst file instead of the date the email was created.  Conversely, if I attempt to print the same

  • MAC Air and web sites will not display

    I have a MAC Air and when i log on to the scholl web site "newfordtech.com the page is blank! I also tried Firefox and goggle chrome with the same affect!

  • How do I restore deleted passwords?

    Using Firefox 26 I was trying to copy/paste my passwords but accidentally deleted them. How do I restore them? Thank you!

  • J2ME and Wireless Internet

    Hello There... I just want to ask which protocol is used by J2ME to use Internet Connection? Urgent Reply is required... Thanx in advance