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.


>> REGISTER NOW TO START POSTING


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
    Banned
    Join Date
    May 2010
    Location
    North Central Illinois
    Posts
    1,631
    My Mood
    Sleepy
    Thanks
    390
    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 11:41 PM.


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    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, 10:34 PM
  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, 07:30 PM
  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 PM
  4. setEnabled causing checkbox to deselect
    By dewboy3d in forum AWT / Java Swing
    Replies: 3
    Last Post: May 21st, 2009, 11:36 AM