Yeah it has to be your class but SpringUtilities class also helps in great deal for using SpringLayout. I mean SUN should include such classed in API but they are not (like SwingUtilities)...
Can anyone confirm who has used such standard SUN provided classes in assignment for GUI purpose.
Sun should not keep adding stuff to the language just because people say they "should". They're already including everything and the kitchen sink "because Ruby has it" (or whichever language is hyped at the time), causing Java to become ever more obscure and difficult to learn and use.
And indeed, you can NOT use ANYTHING that's not part of the core distribution. Your assignment document states to explicitly and any failure to do so is an automatic failure.
42
Don't get me started about those stupid light bulbs.