Eclipse新建JFrame程序报错问题

在保证环境没错的情况下,在eclipse工具栏找到project--->properties--->java Bulid Path--->Libraries 将JRE System Libraries的包remove掉就可以了。见下图:
相关文章
相关标签/搜索