我跟着thenewbostons java game tutorials on youtube,并设法创建一个基类,它将使用screenmanager类以全屏模式。那么所有的作品就好了,我可以绘制图像和字符串等,但到底我怎么能添加Jbutton将等等等等如何添加一个JButton到我的全屏java程序
我已上载pastie.org我的代码,所以你可以看到它:)
BaseFrame [the abstract frame]
Menu Frame [Inheritted from BaseFrame]
为了更快提供更好的帮助,请发布[SSCCE](http://sscce.org/)。 – 2012-02-09 05:15:33