getcontentpane().add(north )(getcontentpane())

   更新时间:   发布时间:   3

1、container contain=getContentPane();应该是 container contain=this.getContentPane();它的父类中是不是有Jframe,this就是它的对象,表示本身。

2、省略了this而已。

本文到此分享完毕,希望对大家有所帮助。


特别提示:本信息由相关企业自行提供,真实性未证实,仅供参考。请谨慎采用,风险自负。
举报 0 收藏 0 评论 0
相关行情
推荐行情
点击排行
浙ICP备2022006665号-5