Two Laptop Bag*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes OK to use NetBeans UI Form Builder ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "OK to use NetBeans UI Form Builder ??" Watch "OK to use NetBeans UI Form Builder ??" New topic
Author

OK to use NetBeans UI Form Builder ??

Jim Doyle
Ranch Hand

Joined: Jul 18, 2003
Posts: 36

Can I use code generated by the NetBeans IDE for simplifying my UI
coding task? I have heard several conflicting rules about SCJD:
1. You may use whatever IDE you wish.
2. You can only use code that you write. Does that include "generated"
code from a UI Builder? Or is this forbidden?
After all, the "generated" code from the UI builder is useless unless
you know how to write code that uses the event model.
-- Jim
Michael Hartman
Greenhorn

Joined: Feb 01, 2004
Posts: 11
I would err on the side of caution and say No. Code generated from Netbeans may very well depend on Netbeans libraries and you are forbidden from including any libraries outside of the standard J2SE. Besides IMHO, part of the certification is to evalute your GUI development skills, not your skill with any particular IDE.
Philippe Maquet
Bartender

Joined: Jun 02, 2003
Posts: 1872
Hi Jim,
I agree with Michael.
Unfortunately, this excerpt of the instructions:

You are permitted to use any IDE tool you choose, but you must not submit any code that is not your own work.

is clear enough.
Regards,
Phil.
Nart
Ranch Hand

Joined: May 28, 2002
Posts: 95
You can use NetBeans' designer for proto-typing your GUI and sketching ideas. If your not an expert at using GridBag (assuming your intending on using it) without a designer this should help you as well. After you have something useable, fine tune the generated code by hand and remove any traces of NetBeans work on it
As long as you dont use AbsoluteLayout, then your code will be completely dependent only on the core api's... no NetBeans specific additions.
And remember to remove the generated:

comments from code if you want to copy and paste from NetBeans
Seriously just use it for prototyping.
Nart
Min Huang
Ranch Hand

Joined: Mar 17, 2004
Posts: 100
What? No way, Nart! Don't even think about using a GUI builder. Learn to do it by hand first. Remember when you were a CS major and they made you write a linked list from scratch? Yea. It's like that. Everybody has to do it at least once. Then you can Netbeans or whatever to build the UI on your next project.


SCJP 1.4, SCJD 1.4, SCBCD (Preparing!)
Nart
Ranch Hand

Joined: May 28, 2002
Posts: 95
Who told you about me being still a computer science major!
And maybe he already knows how to 'Do it once' and just wants to quickly sketch an idea, as i said use it for prototyping!
Nart
Min Huang
Ranch Hand

Joined: Mar 17, 2004
Posts: 100
Who told you about me being still a computer science major!
And maybe he already knows how to 'Do it once' and just wants to quickly sketch an idea, as i said use it for prototyping!
Nart

Lucky! Be happy you didn't have to implement a stupid linked list!
OK, yup yup prototyping
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: OK to use NetBeans UI Form Builder ??
 
Similar Threads
SCJD and third Party softwares
Can I use IDE to create GUI?
what is the quickest and the best way to develop java desktop app
Struggling to Learn Java GUI.
Desktop Aplication c++ & Java