Pro.King

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年6月6日

摘要: 在写期末项目“学生管理系统”,也被这个困扰着。以为可以使用getParent方法,但是发现这个方法不会返回我们所期望的组件。 这是我在Stack Overflow上提问的回答节选: As can be clearly seen from the message of the exception: no, your specificInsertPanel.this.getParent()does not return aJFrame, it returns aJPanel. (This is becauseJFrames also has internal window manageme... 阅读全文
posted @ 2012-06-06 21:03 Pro.King 阅读(964) 评论(0) 推荐(0)