Problemer med å starte Visible Test 0.21

Startet av Milzit, mandag 30. desember 2013, klokken 22:24

« forrige - neste »

Milzit

Jeg har brukt versjon 0.15 av Visible Tesla på Macen uten noen problemer, da starter jeg VisibleTesla.jar med Java Web Start.

Men jeg hentet ned nyeste versjon 0.21 nå, og den har ingen JAR fil men VisibleTesla.java. Prøver å starte den med Jave Web Start man får bare denne feilmeldingen.
Jeg finner ingen JAR filer lenger her..
Det virker som jeg starter feil fil?


* VisibleTesla.java - Copyright(c) 2013 Joe Pasqua
* Provided under the MIT License. See the LICENSE file for details.
* Created: Jul 22, 2013
*/

package org.noroomattheinn.visibletesla;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import org.noroomattheinn.utils.Utils;

/**
* This is the main class for the VisibleTesla application.
* In addition to loading the FXML and starting it off, this class maintains
* global application state that is available to all of the individual tabs
* which implement the various functions.
* <P>
* This is a singleton class which can be accessed via <code>VisibleTesla.getInstance()</code>.
* With the instance in hand, the individual tabs can access the selected vehicle
* which is the primary object they need to perform all activities.
* <P>
* The AgreggatorConnector doesn't do much, but it does give access to the underlying
* Tabs. This is necessary so that this class can access the LoginConnector
* and attempt an automatic login (based on previously set cookies). None of the
* other tabs are available until a successful login occurs.
*
* @author Joe Pasqua <joe at NoRoomAtTheInn dot org>
*/
public class VisibleTesla extends Application {
    MainController mainController;
   
    /**
     * This is where everything starts. It's invoked indirectly by main() and is
     * where the application is loaded and initialized.
     *
     * @param stage
     * @throws Exception
     */
    @Override public void start(Stage stage) throws Exception {
        Parent root = FXMLLoader.load(getClass().getResource("MainUI.fxml"));
        Scene scene = new Scene(root);
        stage.setScene(scene);
        stage.show();
        // Everything above is boilerplate. The only thing this method does that
        // is out of the ordinary is telling the MainController that startup is
        // complete and that it can start the mainline activity of the App.
        mainController = Utils.cast(root.getUserData());
        mainController.start(this, stage);
    }
   
    public void stop() {
        mainController.stop();
    }
   
    /**
     * The main() method is ignored in correctly deployed JavaFX application.
     * main() serves only as fallback in case the application can not be
     * launched through deployment artifacts, e.g., in IDEs with limited FX
     * support. NetBeans ignores main().
     *
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        launch(args);
    }

}


Veggen



© 2025, Norsk elbilforening   |   Personvern, vilkår og informasjonskapsler (cookies)   |   Organisasjonsnummer: 982 352 428 MVA