How to compile a ".java" to ".form" file?

Hi all,

I know that using UI Designer, I can easily design a form visually and then get the java source code for it. But here I want to de the reverse: I have the java source for some GUI of my software and I want to change it in some way without bothering myself in the code. How can I convert my .java to .form?

thanks

3 comments
Comment actions Permalink

Hello Reza,

I know that using UI Designer, I can easily design a form visually and
then get the java source code for it. But here I want to de the
reverse: I have the java source for some GUI of my software and I want
to change it in some way without bothering myself in the code. How can
I convert my .java to .form?


You can use the form snapshot feature to do that. See the following help
topic for a description of how to do that:
http://www.jetbrains.com/idea/webhelp2/creating-and-opening-forms.html

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Thanks Dmitry,

I tried your "Form Snapshot", but it seemed to be very weak by the time. Isn't it?! Because it couldn't capture my application's main window (containing menu and toolbar). Do you have any other methods to capture these containers?

bye

0
Comment actions Permalink

Hello Reza,

I tried your "Form Snapshot", but it seemed to be very weak by the
time. Isn't it?! Because it couldn't capture my application's main
window (containing menu and toolbar). Do you have any other methods to
capture these containers?


The UI designer doesn't support working with menus at all, so no, there is
no other way to capture menus. You should have your existing Java code defining
the menus and toolbars - just leave it as is and convert the rest of the
layout to a UI Designer form.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.