Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: I've got a problem and I think I know what's causing it but don't know how to fix it.

  1. #1
    Registered Users javapenguin's Avatar
    Join Date
    May 2010
    North Central Illinois
    My Mood
    Thanked 112 Times in 110 Posts

    Question I've got a problem and I think I know what's causing it but don't know how to fix it.

    It seems that maybe my IDE doesn't have java 7 API in it, though I'm pretty sure it does. It doesn't recognize the StrokeBorder or the BorderFactory createStrokeBorder() methods. How do I get these classes or jars into JGrasp or change the API to include the new stuff if it's not recognizing Java 7? And no, I can't easily go and move to another IDE without a lot of headache.

    Maybe I could simply find the code online for it and copy it manually.

    I did so, though I had to change the package so it's not in javax.swing.border anymore, otherwise I couldn't get it to work. I just hope if I ever publish anything with it, it won't be counted as plagarism as I changed the package name as I had to.
    Last edited by javapenguin; June 8th, 2012 at 23:41.
    Please mark solved threads as "Solved" by going to threads and clicking "Mark Solved"
    Using code tags

    How To ask questions the smart way
    Java Tutorials
    Java API
    Save Our Snips
    Hit THANKS to thank a person. Hit REP+ to increase reputation (or decrease it). Cannot give to same person for a while.
    Shooting Park Road Baptist Church Site

  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Thanked 844 Times in 786 Posts
    Blog Entries

    Default Re: I've got a problem and I think I know what's causing it but don't know how to fix

    Move to Java IDEs

    You've been told this many times in the past - please post in the appropriate section for your question. This is not a 'What's wrong with my code' question

Similar Threads

  1. [SOLVED] What's causing this Null Pointer Exception?
    By javapenguin in forum What's Wrong With My Code?
    Replies: 29
    Last Post: July 2nd, 2011, 22:34
  2. Cannot find where extra brace is at causing my errors
    By eagle09 in forum What's Wrong With My Code?
    Replies: 15
    Last Post: June 27th, 2011, 19:30
  3. Persistence causing problems with JButton 2D Array
    By easyp in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 21st, 2010, 12:21
  4. setEnabled causing checkbox to deselect
    By dewboy3d in forum AWT / Java Swing
    Replies: 3
    Last Post: May 21st, 2009, 11:36