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());
}
}
});
}
WhatIfPlot.java 文件源码
java
阅读 33
收藏 0
点赞 0
评论 0
项目:QN-ACTR-Release
作者:
评论列表
文章目录