Access restriction: The type JFrame is not accessible due to restriction on required library
使用eclipse开发工具在需要JFrame时
import javax.swing.JFrame;
JFrame, 就会爆红。
解决方法:
Project -> Properties ->->java builder path->Libraries
使用eclipse开发工具在需要JFrame时
import javax.swing.JFrame;
JFrame, 就会爆红。
解决方法:
Project -> Properties ->->java builder path->Libraries