Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Dec 2013
    Posts
    11
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Problem with eclipse

    Accidentally I deleted java, so i had to re-download eclipse as well, so when i started it up I made a new Java project, package and class. But when I copied my Tic-Tac-Toe code into the class, it seemed to not recognize JFrame or JButton. I searched the internet trying to find away to fix it but I couldn't. I've tried everything and still JFrame and JButtons come up as errors, any advise will help, thanks.

    I don't know if you need this but here's the code:
    Attached Files Attached Files

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    This code isn't useful, what's the error you're receiving?
    Are you sure that you have the package in place, and that the eclipse is configured with the proper jdk?
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 
    Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)


  •  

    Tags for this Thread

    Posting Permissions

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