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.