Changeset 1018 for java/installer2/src/net/oni2/aeinstaller/gui/modtable
- Timestamp:
- Mar 28, 2015, 7:11:52 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/installer2/src/net/oni2/aeinstaller/gui/modtable/ModTable.java
r863 r1018 1 1 package net.oni2.aeinstaller.gui.modtable; 2 2 3 import java.awt.Component; 3 4 import java.awt.Desktop; 4 5 import java.awt.Rectangle; … … 88 89 setSelectionMode(ListSelectionModel.SINGLE_SELECTION); 89 90 getSelectionModel().addListSelectionListener(this); 90 addMouseListener(new MouseEventHandler( ));91 addMouseListener(new MouseEventHandler(this)); 91 92 addKeyListener(new KeyEventHandler()); 92 93 // To get checkbox-cells with background of row … … 289 290 290 291 private class MouseEventHandler extends MouseAdapter { 292 private final Component parent; 293 294 public MouseEventHandler(Component parent) { 295 this.parent = parent; 296 } 297 291 298 private void mouseEventProcessing(MouseEvent e) { 292 299 int r = rowAtPoint(e.getPoint()); … … 349 356 toDo.add(mod); 350 357 Downloader dl = new Downloader(toDo, deps, 351 false );358 false, parent); 352 359 try { 353 360 dl.setVisible(true);
Note:
See TracChangeset
for help on using the changeset viewer.