- 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/downloadwindow/Downloader.java
r924 r1018 1 1 package net.oni2.aeinstaller.gui.downloadwindow; 2 2 3 import java.awt.Component; 3 4 import java.util.ResourceBundle; 4 5 import java.util.TreeSet; … … 53 54 * @param isCoreDownload 54 55 * Downloading core packages - can not be aborted 56 * @param parent 57 * Reference to parent window for centering 55 58 */ 56 59 public Downloader(TreeSet<Package> mods, TreeSet<Package> dependencies, 57 boolean isCoreDownload ) {60 boolean isCoreDownload, Component parent) { 58 61 super(); 59 62 … … 65 68 setResizable(false); 66 69 setSize(600, (int) getSize().getHeight()); 70 setLocationRelativeTo(parent); 67 71 68 72 if (dependencies != null)
Note:
See TracChangeset
for help on using the changeset viewer.