Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OK to use NetBeans UI Form Builder ??

 
Jim Doyle
Ranch Hand
Posts: 36
IBM DB2 Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nart
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic