Re: Question on Java .form and Eclipse
On Aug 1, 11:54 pm, Hongyu <hongyu...@yahoo.com> wrote:
Thanks for everyone's reply. Yes, it might be from the 'form designer'
of NetBeans. Since I noticed that each .form has a corresponding .java
file. If I open the .form by the editor, it looks like a xml file. And
when I opened the .java file, I saw something " ...... * WARNING: Do
NOT modify this code.
Yep. That message sounds familiar as well.
..The content of this method is
* always regenerated by the Form Editor. */". I will search more on
the NetBeans, which is good to know from here.
As an aside. Can you tell us more about how you
are involved in this project for which someone
'gave you a zip'?
The reason I ask is that
1) If you are expected to contribute GUI code back
to the project, you will need NetBeans.
2) If you are contributing changes to non-GUI code,
you can safely edit the .java source in Eclipse so
long as you do not edit any of those sections that
warns not to.
3) If you are *not* contributing code back to the
people you got it from, you can ignore the .form
files and edit anything you like. If that is the
case, I would recommend that, since these .form
files are merely extra cruft you do not need to
bother with - and it is handy to know how to build
a GUI in Java (and important to understand how to
do that, to produce good code, even when using the