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
请先登录再写评论。
Hello Reza,
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!"
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
Hello Reza,
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!"