请问为什么我在Eclipse中键入JFrame就会提示错误?
Access restriction: The type JFrame is not accessible due to restriction on required library C:\Program Files\Java\jre7\lib\rt.jar
而且我看了classpath与path变量设置的都没有问题哇,而且
rt.jar中的javax.swing里面也有JFrame.class?
Access restriction: The type JFrame is not accessible due to restriction on required library C:\Program Files\Java\jre7\lib\rt.jar
而且我看了classpath与path变量设置的都没有问题哇,而且
rt.jar中的javax.swing里面也有JFrame.class?