Removed outdated BareBonesBrowser library and updated openURL references to already existing BrowserControl class.

This commit is contained in:
Dale Schultz 2014-05-26 23:11:20 -04:00
parent 85e7087a95
commit 0330e97160
7 changed files with 14 additions and 15 deletions

View File

@ -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"/>

View File

@ -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...",

View File

@ -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...",

View File

@ -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);
}
}

View File

@ -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);

View File

@ -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);