SpringUtilities could not be resolved

I am trying to use one of the Oracle GUI examples that uses SpringUtilities . But Eclipse also gives me Cannot resolve to type error, and when I try to compile, I get SpringUtilities cannot be resolved . I am using 1.7 JDK, I think I need to add something, but I can not find much information about this problem on the Internet.

+6
source share
1 answer

SpringUtilities not included in the JDK / JRE. It was used in the SpringLayout tutorial,

http://docs.oracle.com/javase/tutorial/uiswing/layout/spring.html

The source is linked to this page and can be viewed on

http://docs.oracle.com/javase/tutorial/uiswing/examples/layout/SpringGridProject/src/layout/SpringUtilities.java

+10
source

All Articles