今天创建框架时出现:The type JFrame is not accessible due to restriction on required librar
百度一下知道解决方法:
Project -> Properties -> libraries,
先remove掉JRE System Library,然后再Add Library重新导入。
方法在这找到的 http://rxxluowei.iteye.com/blog/671893