【发布时间】:2012-03-15 18:57:10
【问题描述】:
我的代码是这样的
public ImageIcon pictures[]=new ImageIcon[100];
jLabel10.setIcon(pictures[jTable1.getSelectedRow()]);
jLabel10.setLocation(getMousePosition().x,getMousePosition().y);
如何在单击事件(我的意思是在 jTable 中)时在鼠标指针附近显示图像?
【问题讨论】: