JSpinner in Forte 4.0 CE GUI Editor

Is there any way to integrate a JSpinner in (NetBeans/Forte/)SunOne 4.0 GUI Editor ?
The JSpinner class is in rt.jar, but is not visible as bean, and thus cannot be integrated in the GUI editor ?
Any idea would be greatly appreciated.
Thanks in advance.
Lo�c QUERAN

I just tried that and JSpinner isn't among the choices.
Forte's help says:
"If the beans you expect to see are not displayed, the required attribute Java-Bean: True is missing from the bean's entries in the JAR manifest."
That means extracting/editing/replacing the manifest.mf file in rt.jar to add a section like:
Name: javax/swing/JSpinner.class
Java-Bean: True
Anyway, what I've done in the past is design my Forte GUI with some other component in the JSpinner's place - I usually use a JComboBox. Then after Forte's initComponents() method has run replace it with mine.
JSpinner spin = new JSpinner( someSpinModel );
Container parent = placeHoldJCombo.getParent();
parent.remove( placeHoldJCombo );
parent.add( spin );Although I'll definitely try the manifest.mf edit step next time I need to use JSpinner. Thanks for pointing that out.

Similar Messages

  • 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

  • SAP GUI EDITOR issue

    Hello Experts,
    I am having some issue in the SAP GUI editor.
    Whenver I open the SCREEN painter. It opens in line editor with error "EU_SCRP_WN32 : timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'"
    My graphic layout editor option is checked.
    The Component version is SAP EHP 1 for SAP Solution Manager 7.0
    GUI version is 640
    My other box whose component version ECC 6.0. There editor is opening in the Graphical format.
    kindly help.
    Regards,
    Hema

    Hello,
    This is version compatibility issue. You can talk to BASIS administrator and get the lastest SAP GUI installed.
    Thanks,
    Augustin.

  • Netbeans GUI editor: Add an action on exit?

    Hello,
    I have a GUI built using netbeans GUI editor and I would like to execute some code just before the program exits. Does anyone know of a decent way to do this?
    Thanks,

    Hi,
    Just a remark. As a good practice, one should only extend Thread when one wants a Thread to have special capabilities.
    Generally, one should create a new Thread with a Runnable. So you could enhance your code as follows:
    public ShutdownRunner implements Runnable {
        @Override
        public void run() {
            USB_interface_K8055.JCloseDevice(); // Static JNI method
            System.out.println("Shutting down");
    }and
    // add shutdown hook for program
            Runtime.getRuntime().addShutdownHook(new Thread(new ShutdownRunner());Glad to be of help,
    Piet

  • How can i install a visual gui editor for eclipse? *newbie-alert!!!*

    hi all!
    i'm quite new to java and eclipse. i have a little experience how to create a gui with awt components, but now i'd like to do it faster with a visual gui editor, something like in visual c++. i'm using eclipse. is there a good ve plugin for eclipse?
    i have downloaded one, but don't have any idea how to install it. please help me! :)
    thanx & gr33tz
    j0sh

    I suggest you use the official VE Plugin: http://www.eclipse.org/vep/
    http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E/vep-home/WebContent/faq.html#install

  • Gui editor with highlighting

    Does anyone want to recommend a nice, small, gui editor that will do proper highlighting/markup (whatever you call it) for an assortment of file types (ie tex, fortran, c, etc...).  Something to colorize my 'for's, 'while's, and 'vspace's.  I don't like gvim for this purpose...something simpler like leafpad but with automatic coloring.
    Thanks!

    vi is all I use on cli but when I want to point and click and scroll and edit, I don't want to care if I am in insert, command, or command line mode.  I used to use kwrite all the time (just a month ago any program I used began with a k) and agree that it is top-notch.  However, I think I like medit for an all purpose editor, now; it even recognized scilab files which made me happy.  I haven't tried beaver yet but it looks like it could be promising.

  • Gui editor in eclipse

    Hello,
    does anyone know whether eclipse has a gui editor - an editor like the one in netbeans(netbeans has palette)?
    thanks,
    manju

    check http://www.eclipse.org/vep/

  • Best GUI Editor as of 2008?

    Hi, is there an easy-to-use GUI editor that can help me make GUI's?
    I've seen Visual Editor for Eclipse but I need a tutorial that will be modern, not 2005, b/c the tutorials don't fit the latest versions of Eclipse.
    I'm just curious if there is an easy way to learn this, as it should be easier to do than this. I'd like extensive, easy to use tutorials.
    Thanks

    DeltaGeek wrote:
    I keep hearing this argument.
    The problem with it regarding Java is that once you understand how the basic layout managers work, it's relatively trivial to write a Swing gui. Not to mention that the code you write yourself will be much more understandable and readable if you have to mess with it later.And I keep hearing this one.
    So, you never read it.
    Really you don't. The code is a side effect, like the Java file I bet a fair old few JSP containers make. I bet that is awful too. But so what, you never edit it directly.
    And if something really does go wrong, throw the thing away. The UI editor makes it very easy to recreate, likely much less work than faffing about in code, generated or not.
    The only good arguments against GUI editors at the moment (IMO)
    * Ties you to a single development tool. And IMO that is an acceptable cost for some projects.
    * Promotes awful design/no thought to reusability. If you can not trust your self, or your developers not to abuse a tool then don't use it. GUI tools can do reusability and good design.
    Most tools require you to know the basics first. UI editors are no exception. O/c if you can not do it manually, don't use a tool.
    UI tools are not for everyone I agree. But this out-right rejection of them is generally based on things you will not do with them (like read the source it generates) or outdated and based on experience with old tools.

  • J2ME GUI EDITOR

    Hi,
    Sorry for my english!
    Is there a GUI EDITOR For MIDLET/MIDP/J2ME Form ......like that one of Jbuilder for the form?
    Thank's!

    The latest IBM WSDD 5.7 (or 5.7.1) has a MIDP GUI editor in the IDE. However, I have not used it at all so I'm not one to comment on how or how well it works.

  • Captivate 5 NeoSpeech - GUI editor for VTML behind text?

    Is there a GUI editor to embed VTML “behind” text?  It seems NeoSpeech is the TTS engine of choice for English (US anyway). 
    Testing with Captivate 5, the generated audio is *almost* good enough for use as a narrator.  We have training “slides” where we voice over to enhance the experience.  We have been recording audio but keeping the same person working on this project is difficult.  I’d like to have a quality, reproducible source like TTS and the current implementation of NeoSpeech is about 95%. So, I’m thinking of planting VTML in the text but this makes the text awkward and the VTML is not for a casual user. 
    Is there a way to develop a plug-in that would allow an app to get to the text, manage the VTML behind the scenes something like OOXML is to text editors?

    I tested the "Loquendo" voices as Ashwin suggested. Mainly the British English one, Simon, as that can be somewhat compared to the US English. I think I like Paul from Neospeech better, but such a statement does not say much. Here are some more details:
    I like the British sound of Simon, I really do. But as far as the natural flow of the sentence - it is not as fluent as Paul from Neospeech. With Simon, I hear that the sentence is combined from independent units - words; sometimes there is a little break in between them (more noticeable than we would naturally do). Paul's renderings sound more like a solid sentence. Also, with Simon, I hear some unnatural intonation shifts in a middle of a word. Not to say that Paul does not have them - but not as often (and the latest Paul from Neospeech's website has very little of them).
    On the other side, I do not mean to say that I like everything from Neospeech. I do not like Kate - her intonation is sometimes very unnatural (to my ears). And while some say that the newest voice from Neospeech - Julie - is even better, I like it little less than Paul. True, Julie has a very nice delivery and some words she pronounces very clearly, but other parts she says indistinctly, causing me to wonder if she has an accent, or just lisps. Generally, I prefer male voice over the female one when it comes to computer voices, as the female voices - being in  higher frequencies, get more of the s sound. (Perhaps a de-esser could be built-in to the future version of Captivate to improve the voices :-).
      If I were to compare the English speaking voices, my list of preferences would be: 1. Paul, 2. Julie (this one is not in Captivate), 3. Simon + Kate. But remember, my ears are different than yours, so this all is just about what I like...  Martin P.

  • RAD tools for JSP apps with GUI editor?

    Hi,
    Could anybody recommend a RAD tool for JSP-based development with an integrated GUI page editor and HTML, JSP and JavaBeans/J2EE Java code generation?
    Should be usable by (trained) business analysts, so tools heavily based on UML are not exactly what I'm looking for.
    I need to develop a small "white label"-style generic web application for a few business processes, then let business users/analysts modify and deploy it.
    Thanks,
    Gabriel Tanase

    try Forte for Java or WebSphere Application Studio

  • Issue in the GUI editor in jdeveloper 11.1.2

    Hi guys: I just following the tutorial which is used to teach me [http://download.oracle.com/docs/cd/E18941_01/tutorials/jdtut_11r2_2/jdtut_11r2_2.html], but at the step3, when I want try to add a button in the panel, it is not working. It means the button item can't show on the Java Visual Editor...... that is so weird, anyone can tell me how to fix this problem ? Thanks!!!!
    Edited by: 879377 on Aug 15, 2011 6:59 AM

    Sometimes it helps to close jdev and remove all classes folders inside the work space. But there is no guarantee for this.
    Any reason why you learn Swing? This version of JDev is the last (:-() official which supports Swing gui development. So if you don't have a good reason to learn Swing I would think about learning web ui like jsf.
    Timo

  • Null Pointer Exception in orion-ejb-jar.xml GUI editor

    Hi,
    I am getting a NPE when attempting to configure CMR mappings orion-ejb-jar.xml with the GUI/Properties Editor.
    Using 9.0.5.2 on Windows XP professional SP2
    Have defined the necessary <relationships> descriptors for this relation.
    1:M unidirectional from entity X to Entity Y
    1)Over orion-ejb-jar.xml right click and select 'Properties...'
    2) Highlight Entity X in properties gui and open the tree. Select 'CMP Field Mappings'.
    3)On the right pane there are two tabs 'CMP Field Mappings' and 'Relationship Mappings'. Select Relationship Mappings.
    4) Relationship Mappings tab now displayed with the above relationship displayed in drop down 'Relationship' tab.
    5) Regardless of whether I select any extra properties on the CMP Mapping, If I hit ok button I get the NPE shown below (n.b. All details filled in except the FK field on the many side of the relation - this is the only field I can enter on this window in this case.).
    java.lang.NullPointerException
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.saveCollectionMapping(RelationshipsPanel.java:1195)
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.saveOneToManyRelationship(RelationshipsPanel.java:748)
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.saveRelationship(RelationshipsPanel.java:528)
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.onExit(RelationshipsPanel.java:394)
         at oracle.ide.panels.TabbedPanel.exitCurrentTraversable(TabbedPanel.java:219)
         at oracle.ide.panels.TabbedPanel.onExit(TabbedPanel.java:106)
         at oracle.jdevimpl.deploy.ejb.oc4j.CmpFieldMappingsPanel.onExit(CmpFieldMappingsPanel.java:134)
         at oracle.ide.panels.MDDPanel.exitTraversable(MDDPanel.java:850)
         at oracle.ide.panels.MDDPanel.onExit(MDDPanel.java:290)
         at oracle.ide.panels.TDialog$L.vetoableChange(TDialog.java:72)
         at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:300)
         at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:217)
         at oracle.bali.ewt.dialog.JEWTDialog.fireVetoableChange(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.dismissDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog$UIListener.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
    <snip ....>
    Very good chance I am doing something wrong ! However, would be interested in getting a reason (or any lead for that matter) why JDev is throwing NPE in this case.
    Cheers
    Ben

    Hi,
    I am getting a NPE when attempting to configure CMR mappings orion-ejb-jar.xml with the GUI/Properties Editor.
    Using 9.0.5.2 on Windows XP professional SP2
    Have defined the necessary <relationships> descriptors for this relation.
    1:M unidirectional from entity X to Entity Y
    1)Over orion-ejb-jar.xml right click and select 'Properties...'
    2) Highlight Entity X in properties gui and open the tree. Select 'CMP Field Mappings'.
    3)On the right pane there are two tabs 'CMP Field Mappings' and 'Relationship Mappings'. Select Relationship Mappings.
    4) Relationship Mappings tab now displayed with the above relationship displayed in drop down 'Relationship' tab.
    5) Regardless of whether I select any extra properties on the CMP Mapping, If I hit ok button I get the NPE shown below (n.b. All details filled in except the FK field on the many side of the relation - this is the only field I can enter on this window in this case.).
    java.lang.NullPointerException
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.saveCollectionMapping(RelationshipsPanel.java:1195)
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.saveOneToManyRelationship(RelationshipsPanel.java:748)
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.saveRelationship(RelationshipsPanel.java:528)
         at oracle.jdevimpl.ejb.mapper.RelationshipsPanel.onExit(RelationshipsPanel.java:394)
         at oracle.ide.panels.TabbedPanel.exitCurrentTraversable(TabbedPanel.java:219)
         at oracle.ide.panels.TabbedPanel.onExit(TabbedPanel.java:106)
         at oracle.jdevimpl.deploy.ejb.oc4j.CmpFieldMappingsPanel.onExit(CmpFieldMappingsPanel.java:134)
         at oracle.ide.panels.MDDPanel.exitTraversable(MDDPanel.java:850)
         at oracle.ide.panels.MDDPanel.onExit(MDDPanel.java:290)
         at oracle.ide.panels.TDialog$L.vetoableChange(TDialog.java:72)
         at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:300)
         at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:217)
         at oracle.bali.ewt.dialog.JEWTDialog.fireVetoableChange(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.dismissDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog$UIListener.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
    <snip ....>
    Very good chance I am doing something wrong ! However, would be interested in getting a reason (or any lead for that matter) why JDev is throwing NPE in this case.
    Cheers
    Ben

  • GUI editor

    Hi all, someone know if exists a software or a IDE able to draw gui for j2me application? In C/C++ environment exists PilRc but in Java?
    Thanks

    I thinkn Borlands one did and so did IBMs device developer studio. I didn't think they were that good tho.
    Spug

  • Forte For Java, editing in Source Editor

    Hi everyone,
    Does anyone know how I can edit the blue areas (code entered by the GUI Editor) of the source code? It doesn't allow me to edit those areas at all. Thanks for any info.

    Hi,
    I use Forte as my primary editor and JAR packager, but no longer need all of the additional features it has to offer (e.g. component browser, GUI editor). If you don't care about having access to these features, you can do the following:
    Open your source code in wordpad and delete the Forte-generated code:
    //GEN-BEGIN:initComponents
    //GEN-END:initComponents
    {//GEN-FIRST:event_xxxxactionPerformed (varies)
    }//GEN-LAST:event_xxxxactionPerformed (varies)
    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables
    Afterwards, when you open the file up in Forte, it will ask you if you want to load "externally modified" files. reply 'yes'.
    If you choose to use this approach, I would suggest that you manually delete any corresponding .form classes in Explorer because they will be useless.
    I suggest that you create a test program first to try this approach. As a new Java developer, Forte-generated code was helpful to me. Now I personally can get my work done much faster using the above approach.

Maybe you are looking for