Portablity problem from NetBeans IDE 5.5 to Eclipse 3.2

Hi

I am getting error when i copy paste the running program from NetBeans to Eclipse. I am getting error in

javax.swing.GroupLayout PrimaryRadioButtonGroupLayout = new javax.swing.GroupLayout(PrimaryRadioButtonGroup);

javax.swing.GroupLayout is not being recognised by Eclipse so do i need to import or modify to suit to Eclipse

I have created the form using Drag and Drop in NetBeans5.5 i will paste the code if required.

Please help this new Programmer.

Thanks

[506 byte] By [GroupLayouta] at [2007-11-26 17:46:32]
# 1
GroupLayout was only introduced in JDK1.6 . I bet Eclipse is using 1.5 or earlier.
sabre150a at 2007-7-9 4:58:45 > top of Java-index,Desktop,Core GUI APIs...