javax.swing.GroupLayout cannot be resolved in Eclipse
Hello,
I created a Java GUI in Netbeans and copied the source into a project in Eclipse.
Everything works fine except it is telling me:
javax.swing.GroupLayout cannot be resolved
Why is this?
I have looked and javax.swing.GroupLayout doesnt seem to exsist in Eclipse.
Is there any way around it?
Thanks! :thumb:
Re: javax.swing.GroupLayout cannot be resolved in Eclipse
it's most likely the the JDK you're using on Eclipse is older than the one you're using on NetBeans (1.6)
Because this is a new class
Re: javax.swing.GroupLayout cannot be resolved in Eclipse
ah ComputerJy it looks like your the only one ever to reply in this forum!!
I'll see if I can find a newer version of Eclipse with the correct JDK.
Re: javax.swing.GroupLayout cannot be resolved in Eclipse
you don't have to look for a newer eclipse version
just let the one you have point to the JDK6.0 look it up on your computer, you can see the NetBeans options to find out where is it installed