/**
*
*/
public ApparatusPanel( final AffineTransformFactory tx ) {
// Call superclass constructor with null so that we
// don't get the default layout manager. This allows us
// to lay out components with absolute coordinates
super( null );
this.mvTx = tx;
this.mh = new MouseHandler();
addMouseListener( mh );
addMouseMotionListener( mh );
addComponentListener( new ComponentAdapter() {
@Override
public void componentResized( ComponentEvent e ) {
updateTransform();
}
} );
}
ApparatusPanel.java 文件源码
java
阅读 31
收藏 0
点赞 0
评论 0
项目:PhET
作者:
评论列表
文章目录