New ScreenPanel

This commit is contained in:
2018-01-19 11:11:01 +01:00
parent 353abd3c9d
commit 3dbe82474d

View File

@@ -2048,7 +2048,7 @@ public class ScreenPanel2 extends Panel {
if (index>1){
String id = String.valueOf(dataTable.getModel().getValueAt(index, 0));
String locator = String.valueOf(dataTable.getModel().getValueAt(0, 1));
dataTable.setToolTipText(locator+ " " + id);
dataTable.setToolTipText(locator + " " + id);
Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();
clipboard.setContents(new StringSelection(locator+ " " + id), (Clipboard clipboard1, Transferable contents) -> {});
if ((e.getClickCount() == 2) && (!e.isPopupTrigger())) {