JWindowsMenu.java 文件源码

java
阅读 21 收藏 0 点赞 0 评论 0

项目:jGAF 作者:
/**
 * Records the addition of a window to the desktop.
 * 
 * @see java.awt.event.ContainerListener#componentAdded(java.awt.event.ContainerEvent)
 */
public void componentAdded(ContainerEvent e) {
  if ((this.windowPositioner != null) && (e.getChild() instanceof JInternalFrame)) {
    JInternalFrame frame = (JInternalFrame) e.getChild();
    Point position = this.windowPositioner.getPosition(frame, getAllVisibleFrames());
    frame.setLocation(position);
  }
  updateWindowsList();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号