Welcome to the JFormDesigner / FormDev Blog

Hello and welcome to the JFormDesigner / FormDev blog.

In this blog we'll inform you about new JFormDesigner releases, new features, enhancements, future development, product announcements and company news. We'll also post articles and tips & tricks around JFormDesigner.

You've probably noticed it. Our website has a new style. Hope you like it. We've also migrated our website to a new modern open-source CMS, which powers this blog. It also makes it easier for us to write new and update existing content.

Comments

  • John Hurst
    2010-06-28 00:27:48

    Great!

    I hope this means that JFormDesigner is alive and well and will keep having new releases!

    With the kind-of uncertain status of Java Swing I wasn't sure whether JFormDesigner was still forging ahead. I, for one, am still more interested in Swing tooling than in JavaFX.

    Thanks

    John Hurst

  • Karl Tauber
    2010-06-28 15:10:23

    Sure, JFormDesigner is alive and we'll have a new major release in the next months. JFormDesigner 5 brings Beans Binding (JSR 295) support and many other new features.

    Then we're going to have shorter release cycles (2-3 months) for 5.1, 5.2 and 5.3 with support for MiG Layout, NetBeans plug-in and JDeveloper plug-in.

    A lot of things were going on behind the scenes. We've migrated the entire JFormDesigner 5 code base to Java 5. We've moved our internal project and issue tracking system from Trac to Redmine. We have set up a new continuous integration server. And recently we've migrated our source code repositories from Subversion to Git. And thanks to SmartGit, it is a pleasure to use Git.

    Stay tuned!

  • Scott Anderson
    2010-07-15 19:55:07

    Karl, I'm trying to use the custom components capability and I've successfully added several properties to the custom components I've built. But one that isn't included in the examples and I can't quite figure out how to get into the BeanInfo is a file chooser. I'd like to add a property (PropertyDescriptor) to a custom component that is the result of a file chooser dialog. Have you an example or can you describe how you'd go about it?

    Thanks,

    Scott Anderson

  • Karl Tauber
    2010-07-22 18:19:44

    Scott,

    first of all, please send support requests to support@formdev.com.

    Anyway, after trying some ideas we've found a solution. The trick is to use JFileChooser directly as custom editor and call JFileChooser.setControlButtonsAreShown(false) to hide the OK and Cancel buttons.

    Here is an example:

    public class MyFileNameEditor extends java.beans.PropertyEditorSupport {
        @Override
        public boolean supportsCustomEditor() {
            return true;
        }
    
        @Override
        public Component getCustomEditor() {
            JFileChooser chooser = new JFileChooser() {
                @Override
                public void removeNotify() {
                    super.removeNotify();
    
                    // when dialog closes, update property editor value
                    File file = getSelectedFile();
                    setValue(file != null ? file.getAbsolutePath() : null);
                }
            };
            chooser.setControlButtonsAreShown(false);
            //TODO initialize selection; set other options if necessary
            return chooser;
        }
    }

    Hope this helps.

  • Claude Mansart
    2010-11-10 08:49:29

    Hello, I 'd like to use JForm designer as a plugin with Rational Application Developer 7.5. I cannot use it due to JRE compatibility "Sorry, but Jform designer does not support the IBM J9, Please use a sun JRE". Could you help me solving this issue, please? thanks

  • Ken
    2013-03-08 17:19:07

    Hi

    Any update on Mig Layout support? Current release is 5.2 but I still don't see support for it.

    Thnx K

« Previous Post | Next Post »