JavaFX and 3D

Hi all

I would like to create a custom 3D shape. But I have not found a way to create custom 3d shape. I saw in the examples, the 3D shapes are created by 2D shapes changed. If I want to create a 3-d shape should I take forms 2D, like rectangles and apply 3D changes?

Thank you.

Diego

>
If I want to create a 3-d shape should I take forms 2D, like rectangles and apply 3D changes?
>

Yes. JavaFX will have no real support for 3D for another year. It similar 2D shapes, 3D transformations given is the closest thing available now.

Tags: Java

Similar Questions

  • The use of javafx and awt on MAC

    I've read articles on no, the use of libraries SWT and AWT together in MAC systems. Then there's their constraints for JAVAFX and AWT as well?

    Please see this link.

    I have a similar case to write an image on the drive and I use javafx, the line doesn't seem to work on my mac.

    Post edited by: abhinay_agarwal

    The link you posted on the integration of SWT/AWT is not relevant to the integration of JavaFX/AWT.

    For abount JavaFX/Swing integration, see the tutorial Oracle Trail:

    JavaFX for developers of Swing: on this tutorial. Documentation and tutorials of JavaFX 2

    Swing is based on AWT, the trail tutorial also applies if you integrate JavaFX with AWT only or with the full Swing toolkit.

    In my view, there is little reason to integrate JavaFX with just the AWT toolkit, because there is little value to AWT provide that JavaFX does not already.

    JavaFX fits very well with ImageIO to write files to disk, Oracle provides a tutorial for this (see the section "Creating a snapshot"):

    With the help of the FPO Image API | Documentation and tutorials of JavaFX 2

    //Take snapshot of the scene
    WritableImage writableImage = scene.snapshot(null);
    
    // Write snapshot to file system as a .png image
    File outFile = new File("imageops-snapshot.png");
    try {
      ImageIO.write(
        SwingFXUtils.fromFXImage(writableImage, null),
        "png",
        outFile
      );
    } catch (IOException ex) {
      System.out.println(ex.getMessage());
    }
    
  • problem of JavaFX and javascript

    Hello

    I work with Javafx and facing a problem regarding the javafx and javascript event. I use WebView of javafx and points associated with the application of the swing.
    I'm passing a url and be able to view the Web page.

    The Web page contains a button that has a validation. After clicking on a popup alert is supposed to be opened against this validation.

    But the alert does not come.
    could you please enlight on it.

    Kind regards
    Dev.

    Note that your question belongs in the forum later and JavaFX 2.0 not 1.x forum JavaFX (JavaFX 1.x did not have a WebView).

    JavaFX 2.0 and later versions «JavaFX 2.0 and later forum»

    ---------------

    To get windows pop up for WebView, you must implement an appropriate Manager.
    Perhaps a future version of a WebView will provide implementations by default of these dialog boxes, but there is currently no default behavior for many of these methods in JavaFX 2.2 (i.e. basically they are simply ignored).

    See WebEngine methods:
    setOnAlert
    setPromptHandler
    setConfirmHandler
    setCreatePopupHandler

    For your example, you probably want to predict an EventHandler setOnAlert that creates a new dialog box that contains the alert information.

    For example, the following code displays a couple of alerts when the user triggers them by pressing a button html with a javascript onclick handler:

    import javafx.application.Application;
    import static javafx.application.Application.launch;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.layout.StackPane;
    import javafx.scene.web.*;
    import javafx.stage.*;
    
    public class WebViewWithPromptHandler extends Application {
      public static void main(String[] args) { launch(args); }
      @Override public void start(final Stage primaryStage) {
        WebView webView = new WebView();
        webView.getEngine().loadContent("");
        webView.getEngine().setOnAlert(new EventHandler>() {
          @Override public void handle(WebEvent event) {
            Stage popup = new Stage();
            popup.initOwner(primaryStage);
            popup.initStyle(StageStyle.UTILITY);
            popup.initModality(Modality.WINDOW_MODAL);
    
            StackPane content = new StackPane();
            content.getChildren().setAll(
              new Label(event.getData())
            );
            content.setPrefSize(200, 100);
    
            popup.setScene(new Scene(content));
            popup.showAndWait();
          }
        });
    
        final Scene scene = new Scene(webView);
        primaryStage.setScene(scene);
        primaryStage.show();
      }
    }
    

    -----------

    If you want to use predefined and model logic of dialogue to set your WebView dialogue management, then refer to the ControlsFX project:
    http://fxexperience.com/controlsfx/

  • WebView 2.2 JavaFX and SVG component

    Hello

    (1) I am using the WebView of JavaFX 2.2 component (Windows XP, Java 1.7.0_04) to render an SVG file (displays an analog clock). The SVG file loads fine, but when it hits the 'text' attribute, it blocks just to the application. The SVG file works fine in JavaFX 2.1 as well as in any web browser directly. Wondering if anyone has experienced this problem and if there is one solution (other than decommissioning of JavaFX 2.1)?
    final WebView browserDate = new WebView();
    URL urlDate = getClass().getResource(filepath + "svgwith2.2.svg");
    browserDate.getEngine().load(urlDate.toExternalForm());
    The error I get is
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6f4780a7, pid=6656, tid=4672
    #
    # JRE version: 7.0_04-b20
    # Java VM: Java HotSpot(TM) Client VM (23.0-b21 mixed mode, sharing windows-x86 )
    # Problematic frame:
    # C  [WebPaneJava.dll+0x4780a7]  Java_com_sun_webpane_platform_BackForwardList_bflItemGetIcon+0x1f767
    #
    # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
    #
    (2) the double click event on a treeview element also doesn't seem to work in JavaFX 2.2 (works very well in 2.1). Anyone else having a similar problem and no workaround?

    Thank you
    PT

    Edited by: user7783315 may 3, 2012 14:28

    Edited by: user7783315 may 3, 2012 14:31

    Edited by: user7783315 may 3, 2012 14:33

    Seems to be a regression problem known with 2.2 built (see comments in http://javafx-jira.kenai.com/browse/RT-20733 "CSS font family does not correctly applied", which includes an example of svg, with text). It seems that the problem has been fixed recently, but it may be some time (maybe one or two weeks) before the relevant 2.2 version is promoted. The fix was in the source code closed (at the moment), so you can patch the open source trunk still. I guess you should just downgrade to 2.1 until a new version 2.2 is promoted.

  • JavaFx and fxml in an OSGI runtime

    Hello

    I work to run javafx in the Apache felix osgi runtime,
    using Bundle-NativeCode and many import/export-package, I do a javafx bundle, that works perfectly to run javaFx interfaces written in plain java...
    but, when I try to load a fxml file I get this question:
    javafx.fxml.LoadException: BorderPane is not a valid type.
         at javafx.fxml.FXMLLoader.createElement(Unknown Source)
         at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
         at javafx.fxml.FXMLLoader.load(Unknown Source)
    the exception I don't give no information more... someone knows more about this exception to help understand this error?

    PS. : the same file fxml will work fine outside the osgi runtime.

    Best regards.

    Published by: user13059812 on 19/03/2012 06:53

    Published by: user13059812 on 19/03/2012 06:54

    Sounds like a problem of ClassLoader. Make sure that the FXMLLoader using the same classloader as the OSGi runtime. Unfortunately, JavaFX 2.0 does not allow you to specify a custom class loader, so you'll need to use JavaFX 2.1 for this. See FXMLLoader #setClassLoader ().
    G

  • JavaFX and Netbeans platform

    Hello

    Small question... anyone know if there are plans or ongoing work at the port of the netbeans for JavaFX platform?

    Osmoz

    Osmoz, take a look at these links, maybe they can help you:
    http://blogs.Oracle.com/Geertjan/entry/deeper_integration_of_javafx_in
    http://NetBeans.dzone.com/JavaFX-2-in-NetBeans-RCP
    http://blogs.Oracle.com/Geertjan/entry/a_docking_framework_module_system
    http://blogs.Oracle.com/Geertjan/entry/thanks_javafx_embedded_browser_for

    I think Netbeans RCP JavaFX strategy would be to improve Netbeans RCP to provide better support for the coating of the scenes of JavaFX in the platform.
    Conversion of the platform to be written in JavaFX rather than Swing would make not much sense - like thing would be a completely new platform in its own right.

  • JavaFX and FTP applet

    Hi all!!!

    I do a JFX Applet that will make an ftp transfer, but it does not work. I added - Djava.net.preferIPv4Stack = true VM options (I use Netbeans). If the firewall is disabled, it works perfectly, but if the firewall is turned on, it does not work. (Software caused connection abort: socket write error).

    I think that this problem is caused by the firewall Windows7 + Java7 bug.

    How can I to run it as an Applet?

    Thank you in advance. Sorry for my bad English.

    Software caused the abandonment of the connection: socket write error

    This message indicates a network problem (too many attempts). Is not an applet problem specifically.

    I think that this problem is caused by the firewall Windows7 + Java7 bug.

    I don't. That translates into an authorization error or a "connection reset by peer: socket error writing ' after 30 seconds on Google." Which suggests as there are several problems, not just one.

  • How to charge the screen when changing languages in JavaFX 2?

    I am a beginner with javaFX and need to change the language of the screen... but I have no idea how to do to recharge the screen when the language has been changed. The application has a button where to have the language available. I just want to refresh screen when the user changes language.

    Here is the start method to show the scene.

    @Override

    public void start (steps) throws exceptions

    {

    Stage = this.stage;

    Locale locale = Locale.getDefault ();

    Rb ResourceBundle = ResourceBundle.getBundle ("resources/Label", local);

    loader = new FXMLLoader (getClass () .getResource ("FXMLDocument.fxml"), rb);

    root = (Parent) loader.load().

    FXMLDocumentController controller = loader.getController ((FXMLDocumentController));

    controller.setMain (this);

    scene = new Scene (root);

    stage.setScene (scene);

    internship. Show();

    }

    Here is the function to change the language (in the same class with start function), the rb is the new ResourceBundle:

    public void refresh (ResourceBundle rb)

    {

    change the language here

    }

    1. I don't want to use the resourceBundle to get the value in the resource file, and set the label in a scene of one.like following:

    this.btnLabel.setText (rb.getString (key.test));

    ...

    2. I don't want to reload the scene as follows:

    public void refresh (ResourceBundle rb)

    {

    VR;

    {

    loader = new FXMLLoader (getClass () .getResource ("FXMLDocument.fxml"), rb);

    root = (Parent) loader.load().

    scene.setRoot (root);

    FXMLDocumentController controller = loader.getController ((FXMLDocumentController));

    controller.setMain (this);

    }

    catch (exception Err)

    {

    err.printStackTrace ();

    }

    }

    While we have a solution to just define the resourceBundle and recharge the easier scene?

    Thank you and best regards!

    773846 wrote:

    JAVAFX isn't that kind of solution (more efficient and automatic)?

    No and nor Swing or AWT (no idea for SWT): whenever you manually change the value of all labels autour (or build a custom system to do as suggested). The easiest way that most of the app use is simply to save the language in preferences and then ask the user to restart the application. So when the computer reboots, the app is full new regional settings. On the change of the fly is another matter.

    Note: there is no FXML binding as far as i18n and text labels are concerned. You can just describe them as being located by using the '%' symbol, and at load time, the FXMLLoader has made an extra effort to replace anything out of all values (see the method resolvedPrefixedValue() in the class FXMLLoader source code simply call resources.getString ())... and that's all. There is more no link between controls text properties and the bundle once finished loading (and that's why you can replace everything that follows when in the controller when you want).

    Another option would be to create your own custom FXMLLoader keeps the autour bundle and create links to i18n labels at load time.,.

  • TableView with dynamic and updatable columns

    Hello!!

    Im trying to encode a TableView with dynamic columns and I saw a lot of examples like this: create columns dynamically

    But none who would work for my needs.

    Its very simple:

    I got a list of customers, and each has a list of purchases.

    A purchase has a string "buyDetail" and a Date for the ship.

    My TableView need the first column with the name of the client, and a column more for each day of existing ships.

    We do not know previously days that will be used.

    If the sum is greater than 100, for example, I need to be able to apply different styles.

    Example:

    Customer 02/01/2015 03/01/2015 09/01/2015
    Morgan$400 (buyDetail)0$100
    Luis00$20
    Steven$1000
    Hulk0$5$32

    I can't use the properties because I don't know how to buy will have to each customer.

    My best test (only for the first column) was next, but I can't buy it updated if I change the value in the cell:

    I did not try to write other code columns because I feel that I don't hurt really...

    This shows the names of Customer´s, but I can't manage if data modification.

    table = new TableView<Customer>();
    ObservableList<Customer> lista = FXCollections.observableList(registros);
    
    table.setItems(lista);
    
    TableColumn<Customer, Customer> customerNameColumn = new TableColumn<Customer, Customer>("");
      customerNameColumn.setCellValueFactory(new Callback<CellDataFeatures<Customer, Customer>, ObservableValue<Customer>>() {
      public ObservableValue<Customer> call(CellDataFeatures<Customer, Customer> p) {
      return new SimpleObjectProperty(p.getValue());
      }
      });
    
      customerNameColumn.setCellFactory(column -> {return new TableCell<Customer, Customer>() {
      @Override
      protected void updateItem(Customer item, boolean empty) {
      super.updateItem(item, empty);
    
      if (item == null || empty) {
      } else {
      setText(item.getName());
      //APPLY STYLE
      }
      }
      };
      });
    
      table.getColumns().addAll(customerNameColumn);
    

    Post edited by: user13425433

    The columns are available already update default... If you happen to use JavaFX properties for the value of the source.

    The core of you're your question lies in your cellValueFactory.

    Here we have only the cellValueFactory for the name, not for the other columns. So I'll take the name for example, and you have to adapt to the other columns.

    But if you do something like this to your cellValueFactory:

    new SimpleObjectProperty(p.getValue().getName());
    

    Then the name can never be updated if it modifies the client instance: there is no "link" between the name and the property used by the table.

    We have therefore 3 test case:

    • If the name is a property of JavaFX and you do something like:
    TableColumn customerNameColumn = new TableColumn("Customer");
    customerNameColumn .setCellValueFactory(new PropertyValueFactory<>("name"));
    

    Then, if the name change pending Customer-> value in the table automatically changes.

    It also works the other way around: If the table is editable, and the name property is not unalterable-> the value of the changes of names in the Customer instance follows the table has been changed.

    • Now, if your name is not a property of JavaFX but a Java Bean observable property instead (this means that you can register and unregister an instance of Java Bean PropertyChangeListener to this property), you can do:
    TableColumn customerNameColumn = new TableColumn("Customer");
    customerNameColumn.setCellValueFactory(new Callback, ObservableValue>() {
        @Override
        public ObservableValue call(TableColumn.CellDataFeatures p) {
            final Customer t = p.getValue();
            try {
                return JavaBeanStringPropertyBuilder.create().bean(t).name("name").build();
            } catch (NoSuchMethodException ex) {
                // Log that.
                return null;
            }
        }
    });
    

    In this way, you have created a JavaFX property that is bound to an observable property Java Bean.

    Same as above, it works both ways when possible.

    • The latter case is that your name is neither a JavaFX property or a Java Bean-> you can not update unless you happen to create a kind of observer/listener that can update the property with the most recent value.

    Something like that:

    TableColumn customerNameColumn = new TableColumn("Customer");
    customerNameColumn.setCellValueFactory(new Callback ObservableValue>() {
      public ObservableValue call(CellDataFeatures p) {
        final Customer t = p.getValue();
        final SimpleStringProperty result = new SimpleStringProperty ();
        result.setvalue(t.getName());
        t.addNameChangeListener(new NameChangeListener() {
          @Override
          public void nameChanged() {
            result.setvalue(t.getName());
          }
        });
        return result;
      }
    });
    

    If you don't do something like that, the value of the table will never change when the name changes in the instance because the table does not change.

    Now, you will need to apply this theory to your price columns. I hope that I was clear enough to help you.

  • Combination of JavaFX FXML layout

    Hi everyone)) recently I started using javafx and I wonder if there a way to combine the FXML provisions without Java code, like insert smaller layout in larger? (Thanks in advance))

    Is

    
    

    what you're looking for? Documentation here.

  • JavaFX Single line table

    Hello World) recently I started using javafx and I faced a complication that I don't know how to solve.

    I have a table view with specific columns. I need fill the cells with text data, represented by String objects.

    Sometimes these strings contains more than one line, but I still need the table display to show only a (first) line of this text so that the rows are the same height regardless of the amount of lines of text.

    Is it possible to do? Thanks in advance)

    Use a cell factory. Suppose you have

    TableColumn someColumn ;
    

    Then you can do

    someColumn.setCellFactory(col -> new TableCell() {
      @Override
      public void updateItem(String item, boolean empty) {
          super.updateItem(item, empty);
          if (empty) {
              setText(null);
          else {
              int lineBreakIndex = item.indexOf("\n");
              if (lineBreakIndex >= 0) {
                  setText(item.substring(0, lineBreakIndex);
              } else {
                  setText(item);
              }
          }
      }
    });
    
  • Can I use JavaFX in Swing without modifying source more?

    I had created a desktop in Java - Swing application.

    Now, I want to improve the GUI. So I had planned to upgrade to JavaFX.

    Can I use JavaFX in the swing and it is good to set up like this, rather than rewrite the program in JavaFx?

    Updated the Message was edited by: CyberBoy

    > Can I use JavaFX bat

    Yes, you can incorporate scenes of JavaFX in Swing and Swing components in JavaFX.

    See tutorial Oracle Interoperability JavaFX-Swing.

    > is good to be implemented like this, rather than rewrite the program in JavaFx

    Yes and no.  It depends on your application.

    Yes-online mix JavaFX and Swing is a good approach if you are integrating your application into a vast structure of swing established such as the NetBeans platform.

    No-online mix JavaFX and Swing is a bad approach, if you have an application that is relatively small and insignificant.

    Mixture of JavaFX and Swing makes your more complex program because:

    * You have to deal with different threading systems.

    * You have to deal with different toolkits to interface user.

    The JavaFX components looks do not match the appearance of the Swing components, if your application will look a little weird.

    * Swing apps will not support features like touch interfaces.

    Yes, the best to avoid mixing the two with the exception of special cases.  Valid reasons to mix the two (IMO) are:

    * You have a large, existing Swing code base, which completely makes the migration to JavaFX AND unreasonable

    * You want to use some specific features of JavaFX like WebView, multimedia playback in JavaFX, JavaFX graphics or 3D JavaFX which are not available in the swing.

    OR

    * You have a JavaFX application and the need to make use of some complex and Swing only existing component for which there is no counterpart in JavaFX (I think that for most people this will not be the case).

  • Action JavaFX class 8

    I'm migrating Swing to JavaFX and noticed that there is no replacement for the category 'Action' of the Swing. This one is nice because it encapsulates the work to be done with a clear name and a Boolean value disabled. I reinvented the wheel to get the same thing in JavaFX right now. That intention is missing or is he expected to come in a future release?

    Unfortunately, it seems that the dialogs API does not contain an Action API. At least I've found in the last set of changes. What a pity. in any case, I already programmed by own framework for Action which serves well, so I just have to stick to it.

  • M3u8 sample Live Streaming HTTP plays don't not - stand-alone JavaFX 2.2.7 for java 1.6.0.32

    Hi all
    I searched high and low on the here and the wild wild web, but cannot find any support for my problem.

    I was testing my code of JavaFX2.2.7 Media Player based in a common Java 6 application when I discovered that HTTP Live Streaming does not seem to work.  I can play a local file of the format supported (Sintel trailor mp4 h264), but when I try and use a stream of Live HTTP instead, nothing plays. (for example http://download.oracle.com/otndocs/products/javafx/JavaRap/prog_index.m3u8 ).  I find myself with an empty drive and no exceptions or errors.

    private final static String MEDIA_URL = " " http://download.Oracle.com/otndocs/products/JavaFX/JavaRap/prog_index.m3u8 "; "

    Media = new Media (MEDIA_URL);

    MediaException ex = media.getError ();

    If (ex! = null) {}

    System.out.println ("Media error" + ex.getMessage ());

    } else {}

    System.out.println ("no media error");

    }

    Program the output to the console: "No. Media Error.

    I thought it was something wrong with my Player code, as a last resort, I went to JavaFX 2 - together and copied from the source and put it directly in my application and it ran... Unfortunately occurs the same result. The player runs, but simply shows a video window empty.  Controls are available, but the video plays.

    Based on the release notes for Java 2.2.7 that I was under the impression that HLS has been supported.  Am I incorrect?

    I can't upgrade to Java 7 because I'm firmly stuck with Java 1.6.0.32 for lack of project.

    Can anyone provide any assistance would be greatly appreciated.

    Post edited by: 2b18d6de-8200-4adc-a82a-88fc0451f448 I've updated for JavaFX 2.2.21 and this has not fixed the problem.  The result is exactly the same.  No exceptions, no error and no video...

    My Conclusion: Http Live Streaming does not seem to work with JavaFX 2.2.7 or 2.2.21.

    I've proved since the problem lies with 2.2.7 JavaFX and JavaFX 2.2.21, and that by using the new JavaFX comes with Jre7 solves the problem.

    I created a completely new and added that the JavaFX jars comes with 7 project JRE on my road to build.  I copied the code from http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble/index.html#SAMPLES/Media/Streaming%20Media%20Player and it works.

    So, I made a few changes on my original Java Eclipse project.

    Removed the build path:

    -C:\Program Files (x 86) \Oracle\JavaFX 2.2 Runtime\lib\jfxrt.jar

    -C:\Program Files (x 86) \Oracle\JavaFX 2.2 Runtime\lib\javaws.jar

    -C:\Program Files (x 86) \Oracle\JavaFX 2.2 Runtime\lib\plugin.jar

    -C:\Program Files (x 86) \Oracle\JavaFX 2.2 Runtime\lib\deploy.jar

    Added to build the path:

    -C:\Program Files (x86)\Java\jre7\lib\jfxrt.jar

    -C:\Program Files (x86)\Java\jre7\lib\javaws.jar

    -C:\Program Files (x86)\Java\jre7\lib\plugin.jar

    -C:\Program Files (x86)\Java\jre7\lib\deploy.jar

    Always using the 1.6.0_32 Java runtime, I ran my application and everything worked.

    Of course, this will be like a giant hack. I am disappointed by the release notes for JavaFX 2.2.7.

    NOTE: To export my request as an executable Jar, I also had to pull the related JavaFX ".dll" JRE 7 libraries and add them to the java.library.path (using script commands) before running the jar.

  • JavaFx Webview cannot mount JSObject

    If I followed the code example I can run the program as a stand-alone project and everything works fine. But in my case, I did a summary plugin so I can contain javafx and its webview to be used as a plugin in eclipse.  I think that I added my necessary pots for the class path and build the order of my project. But I seem to get a compilation error when loading my plugin.  This is my error I get:

    java.lang.ClassCastException: com.sun.webpane.webkit.dom.JSObject cannot be cast to netscape.javascript.JSObject

    to com.interpro.emmeclipse.views.PageBuilderPart$ 1.changed(PageBuilderPart.java:48)

    to com.interpro.emmeclipse.views.PageBuilderPart$ 1.changed(PageBuilderPart.java:1)

    to com.sun.javafx.binding.ExpressionHelper$ SingleChange.fireValueChangedEvent (unknown Source)

    at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent (unknown Source)

    to javafx.beans.property.ReadOnlyObjectWrapper$ ReadOnlyPropertyImpl.fireValueChangedEvent (unknown Source)

    at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent (unknown Source)

    at javafx.beans.property.ObjectPropertyBase.markInvalid (unknown Source)

    at javafx.beans.property.ObjectPropertyBase.set (unknown Source)

    to javafx.scene.web.WebEngine$ LoadWorker.updateState (unknown Source)

    to javafx.scene.web.WebEngine$ LoadWorker.dispatchLoadEvent (unknown Source)

    to javafx.scene.web.WebEngine$ LoadWorker.access$ 600 (unknown Source)

    to javafx.scene.web.WebEngine$ PageLoadListener.dispatchLoadEvent (unknown Source)

    at com.sun.webpane.platform.WebPage.fireLoadEvent (unknown Source)

    at com.sun.webpane.platform.WebPage.fwkFireLoadEvent (unknown Source)

    at com.sun.webpane.webkit.network.URLLoader.twkDidFail (Native Method)

    to com.sun.webpane.webkit.network.URLLoader.access$ 1400 (unknown Source)

    to com.sun.webpane.webkit.network.URLLoader$ 7.run (unknown Source)

    to com.sun.glass.ui.InvokeLaterDispatcher$ Future.run (unknown Source)

    at org.eclipse.swt.internal.win32.OS.DispatchMessageW (Native Method)

    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2546)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3756)

    to org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$ 9.run(PartRenderingEngine.java:1053)

    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)

    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)

    to org.eclipse.ui.internal.Workbench$ 5.run(Workbench.java:588)

    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)

    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)

    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)

    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)

    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

    I would miss an import on my plugin manifest file? Import only that I had to add a library external plugin.jar in my class path. This solved a problem loading of osgi bundle.

    I solved the problem by including netscape.javascript in the plugin manifesto.

Maybe you are looking for