WhatIfPlot.java 文件源码

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

项目:jmt 作者:
public WhatIfPlot(double[] xAxis) {
    super();
    this.xAxis = xAxis;
    // Adds popup menu
    this.addMouseListener(new MouseAdapter() {
        /**
         * Invoked when the mouse has been clicked on a component.
         */
        @Override
        public void mouseClicked(MouseEvent e) {
            if (e.getButton() == MouseEvent.BUTTON3) {
                popup.show(WhatIfPlot.this, e.getX(), e.getY());
            }
        }
    });
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号