Results 1 to 4 of 4

Thread: javax.swing.GroupLayout cannot be resolved in Eclipse

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2007
    Location
    England
    Posts
    61

    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!

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    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
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2007
    Location
    England
    Posts
    61

    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.

  4. #4
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    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
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width