Is it still possible to use the java.awt.* packages or can 1 only use the javax.swing.*; packages
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD
GroupLayout is intended for use by builders, but may be hand-coded as well.
It depends. If there are equivalent classes in the swing package, then you must use it (for instance, java.awt.Button and javax.swing.JButton).
Roel De Nijs wrote:only your own code should be used in this assignment (and no generated code).
instructions.html wrote:but you must not submit any code that is not your own work
Martin Krischik wrote:
Roel De Nijs wrote:only your own code should be used in this assignment (and no generated code).
It never says that. the original wording is:
instructions.html wrote:but you must not submit any code that is not your own work
Generated code is never mentioned.
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD
Roberto Perillo wrote:Champion, is "generated code" "your own work"?
wikipedia wrote:work is the amount of energy transferred by a force acting through a distance.
Roberto Perillo wrote:No generated code is allowed.
Roberto Perillo wrote:If the assessor notice this, the candidate is automatically failed.
Martin Krischik wrote:Code Re-factor? Introduce Variable, Constant, Method? Heck, "New class" won't open an empty file! Especially the "New class" in Eclipse is pretty powerful. It will generate constructors, main, implementations for all abstract methods.
This too is generated code. Hands up who did not use any of those features.
Matthew Brown wrote:If I get Netbeans to create a bunch of accessors for me, there is absolutely no difference between what they generate and what I would generate if I type it all out by hand.
Matthew Brown wrote:It's usually very easy to tell if someone hand-coded it or not.
Martin Krischik wrote:Just don't sell that sentence as absolute truth. It isn't. If it is true what you say then it is a trick question designed to make otherwise suitable candidates fail. Why else not just say “Code generators and GUI builder are not allowed!”.
Martin Krischik wrote:Are you an assessor with inside knowledge?
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD
Roberto Perillo wrote:It isn't necessary to be an assessor to notice something that is obvious.
instructions.html wrote:You are permitted to use any IDE tool you choose, but you must not submit any code that is not your own work. The final program must have no dependencies on any libraries other than those of the Java 2 Platform.
Martin Krischik wrote:Could you elaborate on that?
instructions.html wrote:You are permitted to use any IDE tool you choose, but you must not submit any code that is not your own work.
Martin Krischik wrote:Did nobody ever try who2contact@sun.com to get an official stand?
Roel De Nijs wrote:For me that's obvious and quiet easy (and I'm also not a native speaker): code generated by a gui builder is not my own, so I can't submit that.
Roel De Nijs wrote:I'm quiet sure a GUI builder will produce code that's completely different to mine.
Roel De Nijs wrote:Secondly they gave very little information and certainly not an official stand. I sent them an email asking if I could change Sun's interface just to add some javadoc to the methods.
Martin Krischik wrote:I already challenged that opinion and stated that I do not accept that stand as absolute and universal truth.
Martin Krischik wrote:Until then I consider the instructions ambiguous
OCMJD 6, OCPJP8, CISSP Baroque Potion, G+
Consider Paul's rocket mass heater. |