@Override
public void componentResized( ComponentEvent e ) {
if (visibleDescs) {
vv.setBounds( 7, BORDERLINE, this.getWidth() - ( DESC_WIDTH + 21 ), this.getHeight() - ( BORDERLINE + 7 ) );
descPanel.setBounds( this.getWidth() - ( 7 + DESC_WIDTH ), BORDERLINE, DESC_WIDTH, SHORT_DESC_HEIGHT + LONG_DESC_HEIGHT + EXITS_HEIGHT + BUTTON_HEIGHT + 4 * 7 );
scrollableNotes.setBounds( this.getWidth() - ( 7 + DESC_WIDTH ), BORDERLINE + descPanel.getHeight() + 7, DESC_WIDTH, this.getHeight() - ( descPanel.getHeight() + 14 + BORDERLINE ) );
} else {
vv.setBounds( 7, BORDERLINE, this.getWidth() - ( 2 * 7 ), this.getHeight() - ( BORDERLINE + 7 ) );
descPanel.setBounds( 0, 0, 0, 0 );
scrollableNotes.setBounds( 0, 0, 0, 0 );
}
}
MapperPanel.java 文件源码
java
阅读 35
收藏 0
点赞 0
评论 0
项目:batmapper
作者:
评论列表
文章目录