JForm Integration

Hi, I released the initial revisions of my JFormdesigner Integration plugin.

It's in the plugins repository enjoy.

Feedback welcome at mpzarde@truecool.com

Could someone from JetBrains delete the 1.0 release which was done by accident (sorry).

Thanks,

Martin

14 comments
Comment actions Permalink

Hi,

I'm have been waiting for this integration for a long time...
Unfortunately it does not work under Linux. Is this a known issue?

Could you provide the source code?

Johannes Schneider

0
Comment actions Permalink

Dumb question, what does the integration give me? I downloaded an eval of the program and installed the plugin, but I'm clueless as to what kind of integration I get? I can make a new form in IDEA, but when I open it all I see is the "xml" source.

thanks,

John

0
Comment actions Permalink

There should be a menu entry when right clicking onto that xml file.
But I don't know will happen - does not work for me :-/


Johannes Schneider


John Childress wrote:

Dumb question, what does the integration give me? I downloaded an eval of the program and installed the plugin, but I'm clueless as to what kind of integration I get? I can make a new form in IDEA, but when I open it all I see is the "xml" source.

thanks,

John

0
Comment actions Permalink

Yep, I get the menu but it only opens the xml source :(

0
Comment actions Permalink

Nevermind, it took a few restarts but now it works. One of the restarts aksed me for the location of the JForm exe. After that it opens the form as I thought it would.

0
Comment actions Permalink

John Childress wrote:

Nevermind, it took a few restarts but now it works. One of the restarts aksed me for the location of the JForm exe. After that it opens the form as I thought it would.


Within Idea?
Do you run idea under windows?


Johannes Schneider

0
Comment actions Permalink

Yes, XP Pro. EAP build of IDEA 4109.

0
Comment actions Permalink

This plugin is like External Tools integration? ;)

0
Comment actions Permalink

No message
java.lang.NullPointerException
at com.truecool.jformdesignerplugin.JFormdesignerPluginOptionsConfigurable.isModified(JFormdesignerPluginOptionsConfigurable.java:68)
at com.intellij.openapi.options.ex.SingleConfigurableEditor$ApplyAction$1.run(SingleConfigurableEditor.java:4)
at com.intellij.util.Alarm$1.run(Alarm.java:98)
at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:241)
at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:7)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:129)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:132)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:113)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.Dialog.show(Dialog.java:536)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:43)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:141)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:730)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor.b(ControlPanelSettingsEditor.java:92)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor.access$900(ControlPanelSettingsEditor.java:37)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor$MyActionButton$1.mouseReleased(ControlPanelSettingsEditor.java:10)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:129)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:86)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:113)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.Dialog.show(Dialog.java:536)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:43)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:141)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:730)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showControlPanelOptions(ShowSettingsUtilImpl.java:6)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:38)
at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:3)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:6)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:115)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:129)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:86)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:113)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0
Comment actions Permalink

Hi, could you let me know how you produced this erro.

Thanks,

Martin

0
Comment actions Permalink

New 1.0.3 version should fix that.

0
Comment actions Permalink

Sorta kinda figured out the problem here, I'm using a straight Runtime.getRuntime().exec(...) to start JFormDesigner.

This won't work under linux directly with the shell script as I believe this doesn't properly start a shell.

There is a solution which I will implement shortly to get this running.

Look for it in release 1.0.4, thanks for your patience.

0
Comment actions Permalink

Martin Zardecki wrote:

Sorta kinda figured out the problem here, I'm using a straight Runtime.getRuntime().exec(...) to start JFormDesigner.

This won't work under linux directly with the shell script as I believe this doesn't properly start a shell.

There is a solution which I will implement shortly to get this running.

Look for it in release 1.0.4, thanks for your patience.


The start script used under linux just calls "java -jar
lib/JFormDesigner.jar"
So it should be no problem...


Johannes Schneider


0
Comment actions Permalink

Tested under Ubuntu, works ok now.

Only glitch is that it starts a new JFormDesigner for each form you work on.

0

Please sign in to leave a comment.