mirror of https://github.com/rusefi/RomRaider.git
Removed outdated BareBonesBrowser library and updated openURL references to already existing BrowserControl class.
This commit is contained in:
parent
85e7087a95
commit
0330e97160
|
@ -9,7 +9,6 @@
|
|||
<classpathentry kind="lib" path="lib/windows/vecmath.jar"/>
|
||||
<classpathentry kind="lib" path="lib/windows/Graph3d.jar"/>
|
||||
<classpathentry kind="lib" path="lib/common/jama-1.0.2.jar"/>
|
||||
<classpathentry kind="lib" path="lib/common/BareBonesBrowserLaunch.jar"/>
|
||||
<classpathentry kind="lib" path="lib/common/jep.jar"/>
|
||||
<classpathentry kind="lib" path="lib/common/Jama.jar"/>
|
||||
<classpathentry kind="lib" path="lib/common/jamlab.jar"/>
|
||||
|
|
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* RomRaider Open-Source Tuning, Logging and Reflashing
|
||||
* Copyright (C) 2006-2012 RomRaider.com
|
||||
* Copyright (C) 2006-2014 RomRaider.com
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -68,7 +68,7 @@ import org.w3c.dom.Document;
|
|||
import org.xml.sax.InputSource;
|
||||
import org.xml.sax.SAXParseException;
|
||||
|
||||
import com.centerkey.utils.BareBonesBrowserLaunch;
|
||||
import com.romraider.net.BrowserControl;
|
||||
import com.romraider.Settings;
|
||||
import com.romraider.logger.ecu.EcuLogger;
|
||||
import com.romraider.maps.Rom;
|
||||
|
@ -183,7 +183,7 @@ public class ECUEditor extends AbstractFrame {
|
|||
options,
|
||||
options[0]);
|
||||
if (answer == 0) {
|
||||
BareBonesBrowserLaunch.openURL(ECU_DEFS_URL);
|
||||
BrowserControl.displayURL(ECU_DEFS_URL);
|
||||
} else {
|
||||
showMessageDialog(this,
|
||||
"ECU definition files need to be configured before ROM images can be opened.\nMenu: ECU Definitions > ECU Definition Manager...",
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
package com.romraider.logger.ecu;
|
||||
|
||||
import static com.centerkey.utils.BareBonesBrowserLaunch.openURL;
|
||||
import com.romraider.net.BrowserControl;
|
||||
import static com.romraider.Version.LOGGER_DEFS_URL;
|
||||
import static com.romraider.Version.PRODUCT_NAME;
|
||||
import static com.romraider.Version.VERSION;
|
||||
|
@ -572,7 +572,7 @@ public final class EcuLogger extends AbstractFrame implements MessageListener {
|
|||
"Logger definition not configured.\nGo online to download the latest definition file?",
|
||||
"Configuration", DEFAULT_OPTION, WARNING_MESSAGE, null, options, options[0]);
|
||||
if (answer == 0) {
|
||||
openURL(LOGGER_DEFS_URL);
|
||||
BrowserControl.displayURL(LOGGER_DEFS_URL);
|
||||
} else {
|
||||
showMessageDialog(this,
|
||||
"The Logger definition file needs to be configured before connecting to the ECU.\nMenu: Settings > Logger Definition Location...",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* RomRaider Open-Source Tuning, Logging and Reflashing
|
||||
* Copyright (C) 2006-2012 RomRaider.com
|
||||
* Copyright (C) 2006-2014 RomRaider.com
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -19,9 +19,9 @@
|
|||
|
||||
package com.romraider.logger.ecu.ui.swing.menubar.action;
|
||||
|
||||
import static com.centerkey.utils.BareBonesBrowserLaunch.openURL;
|
||||
import static com.romraider.Version.LOGGER_DEFS_URL;
|
||||
import com.romraider.logger.ecu.EcuLogger;
|
||||
import com.romraider.net.BrowserControl;
|
||||
import com.romraider.swing.menubar.action.AbstractAction;
|
||||
import java.awt.event.ActionEvent;
|
||||
|
||||
|
@ -32,6 +32,6 @@ public final class UpdateLoggerDefAction extends AbstractAction {
|
|||
}
|
||||
|
||||
public void actionPerformed(ActionEvent actionEvent) {
|
||||
openURL(LOGGER_DEFS_URL);
|
||||
BrowserControl.displayURL(LOGGER_DEFS_URL);
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* RomRaider Open-Source Tuning, Logging and Reflashing
|
||||
* Copyright (C) 2006-2012 RomRaider.com
|
||||
* Copyright (C) 2006-2014 RomRaider.com
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -19,7 +19,6 @@
|
|||
|
||||
package com.romraider.logger.ecu.ui.tab.dyno;
|
||||
|
||||
import static com.centerkey.utils.BareBonesBrowserLaunch.openURL;
|
||||
import static com.romraider.Version.CARS_DEFS_URL;
|
||||
import static com.romraider.logger.car.util.SpeedCalculator.calculateMph;
|
||||
import static com.romraider.logger.car.util.SpeedCalculator.calculateRpm;
|
||||
|
@ -85,6 +84,7 @@ import com.romraider.logger.ecu.definition.EcuSwitch;
|
|||
import com.romraider.logger.ecu.definition.ExternalData;
|
||||
import com.romraider.logger.ecu.definition.LoggerData;
|
||||
import com.romraider.logger.ecu.ui.DataRegistrationBroker;
|
||||
import com.romraider.net.BrowserControl;
|
||||
import com.romraider.util.SettingsManager;
|
||||
|
||||
public final class DynoControlPanel extends JPanel {
|
||||
|
@ -1570,7 +1570,7 @@ public final class DynoControlPanel extends JPanel {
|
|||
"Cars definition file not found.\nGo online to download the latest definition file?",
|
||||
"Configuration", DEFAULT_OPTION, WARNING_MESSAGE, null, options, options[0]);
|
||||
if (answer == 0) {
|
||||
openURL(CARS_DEFS_URL);
|
||||
BrowserControl.displayURL(CARS_DEFS_URL);
|
||||
} else {
|
||||
showMessageDialog(parent, MISSING_CAR_DEF +
|
||||
" file from the installation or profiles or definitions directory.\nDyno feature will not be available until this file is present.", "Notice", WARNING_MESSAGE);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* RomRaider Open-Source Tuning, Logging and Reflashing
|
||||
* Copyright (C) 2006-2012 RomRaider.com
|
||||
* Copyright (C) 2006-2014 RomRaider.com
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -47,12 +47,12 @@ import javax.swing.JMenuItem;
|
|||
import javax.swing.JRadioButtonMenuItem;
|
||||
import javax.swing.JSeparator;
|
||||
|
||||
import com.centerkey.utils.BareBonesBrowserLaunch;
|
||||
import com.romraider.Settings;
|
||||
import com.romraider.editor.ecu.ECUEditor;
|
||||
import com.romraider.editor.ecu.ECUEditorManager;
|
||||
import com.romraider.maps.Rom;
|
||||
import com.romraider.maps.Table;
|
||||
import com.romraider.net.BrowserControl;
|
||||
import com.romraider.ramtune.test.RamTuneTestApp;
|
||||
import com.romraider.util.SettingsManager;
|
||||
|
||||
|
@ -416,7 +416,7 @@ public class ECUEditorMenuBar extends JMenuBar implements ActionListener {
|
|||
} else if (e.getSource() == openLogger) {
|
||||
parent.launchLogger();
|
||||
} else if (e.getSource() == updateDefinition) {
|
||||
BareBonesBrowserLaunch.openURL(ECU_DEFS_URL);
|
||||
BrowserControl.displayURL(ECU_DEFS_URL);
|
||||
|
||||
} else if (e.getSource() == launchRamTuneTestApp) {
|
||||
RamTuneTestApp.startTestApp(DISPOSE_ON_CLOSE);
|
||||
|
|
Loading…
Reference in New Issue