| # | Line 176 | Line 176 | public class AEInstaller2 { | |
|---|---|---|
| 176 | } | |
| 177 | } | |
| 178 | ||
| 179 | + | boolean offline = !DepotManager.getInstance().checkConnection(); |
| 180 | + | if (offline) { |
| 181 | + | JOptionPane.showMessageDialog(null, |
| 182 | + | basicBundle.getString("offlineMode.text"), |
| 183 | + | basicBundle.getString("offlineMode.title"), |
| 184 | + | JOptionPane.INFORMATION_MESSAGE); |
| 185 | + | } |
| 186 | + | Settings.getInstance().setOfflineMode(offline); |
| 187 | + | |
| 188 | SwingUtilities.invokeLater(new Runnable() { | |
| 189 | public void run() { | |
| 190 | try { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |