I'm trying one of the Oracle's GUI examples that uses SpringUtilities
. But the Eclipse gives me and error Cannot resolve to type
and when I try to compile I get SpringUtilities cannot be resolved
. I'm using 1.7 JDK, guess I have to add something somewhere but I can't find much info about this problem on the internet.
Asked
Active
Viewed 1.5k times
10

Leron
- 9,546
- 35
- 156
- 257
1 Answers
15
SpringUtilities
isn't included in the JDK/JRE. It's used in their SpringLayout tutorial,
http://docs.oracle.com/javase/tutorial/uiswing/layout/spring.html
The source is linked to from that page, and can be viewed at

Ti Strga
- 1,353
- 18
- 40