NetBeans 6.9.1 with JavaFX 1.3.1 issues.

My understanding is that the NetBeans 6.9.1 is the only decent IDE right now for JavaFX 1.3.1.
There are two issues of that IDE.
1.
Even if I run JavaFX apps with "Standard Execution" model, the IDE will force me to start the HTTP server. Can I disable that HTTP server? What is the purpose of that HTTP server anyway? I have not activated the "Java Web and EE" module yet in the IDE.
2. The javaw.exe consumes 500 MB RAM and I have stopped running my JavaFX applications. Again, everything is in "Standard Execution" model and "Java Web and EE" deactivated.
I am not sure if they are JavaFX related or purely IDE problems.

I have NetBeans 6.5.1 and WebLogic 10.3. I tried to add WebLogic server in NetBeans and it could not recoganise the WL directory I entered. I tried ...\bea, ...\bea\wlserver_10.3, ...\bea\user_projects\domains\base_domain and ...\bea\user_projects\domains\base_domain\servers\AdminServer. None worked.
Some other Internet site seems to suggest that this is a bug.
Gang

Similar Messages

  • Need tech-book style book to learn Netbeans 6.5 with Javafx

    I am having a heck of a time geting started with Netbeans 6.5 JavaFx. Everytime I download code into my IDE I get all types of errors that I can't overcome. I have recently completed a text book course in Java by Lewis and Loftus. The book starts with the basics and work up. Most of the tutorials that I find on JavaFX start with huge amounts of code which is very confusing to people trying to learn this terminology. Can anybody direct me to a tech-book style book on Netbeans 6.5 with JavaFX or is it too early for such a book.

    Any tutorial about JavaFX dated prior to December 8 2008 should be disregarded utterly by a beginner.
    There are significant differences and trying to figure them out from old tutorials is futile!
    Books are coming, search Amazon, there is a title by Weiqi Gao or James Weaver (Jim Weaver).

  • I'm having problems with JavaFX applications run on raspberry pi!

    I'm having problems with JavaFX applications run on raspberry pi. I did all the steps of the videos of the course: overclocking, uncommented what I had to uncomment about the framebuffer but Exceptions are still happening. The Fireworks demo example does not work. Someone went through this problem? Java applications are ok. As the versions of java in netbeans project and also on "properties" and they are all JDK 8. So if someone can give a hint, I'm very grateful!

    Can you provide the exceptions you got so I can help you better?
    Would you like to do a coaching session for this?
    -Vinicius

  • How to escape bluecove preverify error on mobile with javaFX?

    Hi all, I'm finding a problem with an application that runs for a standard execution but not on mobile emulator. I am having the following error at execution.
    Error preverifying class com.intel.bluetooth.btgoep.Connection
    java/lang/NoClassDefFoundError: com/ibm/oti/connection/CreateConnection
    ERROR: preverify execution failed, exit code: 1
    I don't know how to go through. I'm using netbeans with javaFx plugins and the application seems to be working with standard execution but not on the mobile emulmator.
    Should anyone have an idea of what is happening here I'll be strongly interested.. Thanks for help.

    The PC10 in vlan 10 can not ping the gateway (10.64.16.1) of vlan 20. It can only ping its own gateway 10.64.8.1
    Both hosts are running Windows 7 professional with firewall turned off.
    The same for the PC20 in vlan 20. It can only ping its own gateway (10.64.16.1) but not vlan10's gateway (10.64.8.1)
    In fact, just for testing purposes.
    I temporarily assign g0/1/2 (which was on vlan20) to vlan10 now. Changed the host (PC20) IP to 10.64.8.3.
    After this change, the 2 hosts can ping each other (in the same vlan 10)....that's expected. So, the OSes and firewalls issues on the hosts are not the issue. They can ping each other when they are in the same vlan.
    However, now that they are in the same vlan, they still can't ping out to G0/0 192.168.0.162.
    So, the problem is how to ping from the layer 2 EHWIC to the built-in G0/0 and G0/1 router ports?

  • Netbeans 7.2.1 JavafxApplication JavaFX Scene Builder Error: Cause is null

    Hi.
    I'm using windows 7 x32, Netbeans IDE 7.2.1, JavaFX Scene Builder 1.0
    http://www.gop.edu.tr/errimage/javafxerr10.png
    http://www.gop.edu.tr/errimage/javafxerr11.png
    http://www.gop.edu.tr/errimage/javafxerr12.png
    http://www.gop.edu.tr/errimage/javafxerr13.png
    http://www.gop.edu.tr/errimage/javafxerr14.png
    Open File Failed
    Error loading file 'D:/cihan/Belgelerim/NetBeansProjects/JavaFXApplication6/src/javafxapplication6/Sample.fxml'.
    Cause is null

    Surprising. Your hardware should run Scene Builder without any trouble.
    With Java 7 U5 I run SceneBuilder 1.0 b44 on Win XP 32-bit and 1 G of RAM, with -Xmx1024m.
    Aren't you facing an issue with Java ? do you run successfully other Java applications of a comparable size ?
    You may also download the Scene Builder samples: according you've Ant and FX handy you can run them command line.
    For what is about removing or modifying the -Xmx option the answer is no, this can't be done in this release.
    Regards

  • Twitter4j AccesToken with JavaFX Browser

    I want to authentificate a user using an embedded browser with javafx. I can get the PIN (String) that twitter gives me but when I try to create the AccesToken it does not create it correctly. (I can't get my token or tokenSecret, both null).
    I use other browser such as djnativeswing ,it can get AccesToken,but javafx can't.what's the problem?Is it javafx can't support it ? If you know about it ,please tell me,
    thank you very much!

    Hello user,
    The problem may causes from below reasons:
    -Clean the cache of java.
    -Adjust your date and time of your computer
    -Sign the jar
    Thanks
    Narayan

  • Drag and Drop objects with JavaFX properties

    Has anyone tried to implement drag and drop functionality with objects containing JavaFX properties? The issue I'm running into is that the objects appear to need to be serializable, and the JavaFX properties are not serializable. I can implement Externalizable instead of Serializable, and basically serialize the values contained by the FX properties, but of course I lose any bindings by doing this (as the listeners underlying the bindings are not serialized).
    The [url http://docs.oracle.com/javafx/2/api/javafx/scene/input/Clipboard.html]javadocs for Clipboard state "In addition to the common or built in types, you may put any arbitrary data onto the clipboard (assuming it is either a reference, or serializable. See more about references later)" but I don't see any further information about references (and at any rate, this doesn't really make sense since anything that's serializable would be a reference anyway). Is there a special DataFormat I can use to specify a reference in the local JVM so the reference gets passed without serialization?
    I know this might not make sense without a code example; I just thought someone might have come across this closely enough to recognize the problem. I'll try to post a code example tonight...

    Here's pretty much the simplest example I can come up with. I have a real-world example of needing to do this, but the object model for the real example is quite a bit more complex.
    For the toy example, imagine we have a list of projects, some employees, and we want to assign each project to one or more employees. I have a Project class with a title and assignee. (In real life you can imagine other properties; due date, status, etc.) I'll keep a ListView with a bunch of unassigned projects (titles but assignees equal to null) and then a ListView for each of the employees.
    To assign a project to an employee, the user should be able to drag from the "master" list view to one of the employee list views. When the project is dropped, we'll create a new project, set the assignee, and bind the title of the new project to the title of the project which was dragged. (Remember we want to be able to assign a single project to multiple employees.)
    So here's the first shot:
    A couple of simple model classes
    Project.java
    import java.io.Externalizable;
    import java.io.IOException;
    import java.io.ObjectInput;
    import java.io.ObjectOutput;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.beans.property.SimpleStringProperty;
    import javafx.beans.property.StringProperty;
    public class Project {
         private final StringProperty title ;
         private final ObjectProperty<Employee> assignee ;
         public Project(String title) {
              this.title = new SimpleStringProperty(this, "title", title);
              this.assignee = new SimpleObjectProperty<Employee>(this, "assignee");
         public Project() {
              this("");
         public StringProperty titleProperty() {
              return title ;
         public String getTitle() {
              return title.get() ;
         public void setTitle(String title) {
              this.title.set(title);
         public ObjectProperty<Employee> assigneeProperty() {
              return assignee ;
         public Employee getAssignee() {
              return assignee.get();
         public void setAssignee(Employee assignee) {
              this.assignee.set(assignee);
         @Override
         public String toString() {
              String t = title.get();
              Employee emp = assignee.get();
              if (emp==null) {
                   return t;
              } else {
                   return String.format("%s (%s)", t, emp.getName()) ;
    }Employee.java
    import java.io.Externalizable;
    import java.io.IOException;
    import java.io.ObjectInput;
    import java.io.ObjectOutput;
    import javafx.beans.property.SimpleStringProperty;
    import javafx.beans.property.StringProperty;
    public class Employee {
         private StringProperty name ;
         public Employee(String name) {
              this.name = new SimpleStringProperty(this,"name", name);
         public StringProperty nameProperty() {
              return name ;
         public String getName() {
              return name.get();
         public void setName(String name) {
              this.name.set(name);
    }and the application
    DnDExample.java
    import javafx.application.Application;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.collections.ObservableList;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.control.ListCell;
    import javafx.scene.control.ListView;
    import javafx.scene.control.TextField;
    import javafx.scene.input.ClipboardContent;
    import javafx.scene.input.DataFormat;
    import javafx.scene.input.DragEvent;
    import javafx.scene.input.Dragboard;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.input.TransferMode;
    import javafx.scene.layout.HBox;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    import javafx.util.Callback;
    public class DnDExample extends Application {
         private static final DataFormat PROJECT_DATA_FORMAT = new DataFormat("com.example.project"); // is there something special I can use here?
         @Override
         public void start(Stage primaryStage) {
              final HBox root = new HBox(5);
              final ListView<Project> allProjects = new ListView<Project>();
              final Employee fred = new Employee("Fred");
              final Employee ginger = new Employee("Ginger");
              final ListView<Project> fredsProjects = new ListView<Project>();
              final ListView<Project> gingersProjects = new ListView<Project>();
              final VBox employeeLists = new VBox(5);
              employeeLists.getChildren().addAll(new Label("Fred's Projects"), fredsProjects, new Label("Ginger's Projects"), gingersProjects);
              root.getChildren().addAll(allProjects, employeeLists);
              allProjects.setCellFactory(new Callback<ListView<Project>, ListCell<Project>>() {
                   @Override
                   public ListCell<Project> call(ListView<Project> listView) {
                        return new AllProjectListCell();
              allProjects.setEditable(true);
              final EventHandler<DragEvent> dragOverHandler = new EventHandler<DragEvent>() {
                   @Override
                   public void handle(DragEvent dragEvent) {
                        if (dragEvent.getDragboard().hasContent(PROJECT_DATA_FORMAT)) {
                             dragEvent.acceptTransferModes(TransferMode.COPY);
              fredsProjects.setOnDragOver(dragOverHandler);
              gingersProjects.setOnDragOver(dragOverHandler);
              fredsProjects.setOnDragDropped(new DragDropHandler(fred, fredsProjects.getItems()));
              gingersProjects.setOnDragDropped(new DragDropHandler(ginger, gingersProjects.getItems()));
              allProjects.getItems().addAll(new Project("Implement Drag and Drop"), new Project("Fix serialization problem"));
              Scene scene = new Scene(root, 600, 400);
              primaryStage.setScene(scene);
              primaryStage.show();
         public static void main(String[] args) {
              launch(args);
         private class DragDropHandler implements EventHandler<DragEvent> {
              private final Employee employee ;
              private final ObservableList<Project> itemList;
              DragDropHandler(Employee employee, ObservableList<Project> itemList) {
                   this.employee = employee ;
                   this.itemList = itemList ;
              @Override
              public void handle(DragEvent event) {
                   Dragboard db = event.getDragboard();
                   if (db.hasContent(PROJECT_DATA_FORMAT)) {
                        Project project = (Project) db.getContent(PROJECT_DATA_FORMAT);
                        Project assignedProject = new Project();
                        assignedProject.titleProperty().bind(project.titleProperty());
                        assignedProject.setAssignee(employee);
                        itemList.add(assignedProject);
         private class AllProjectListCell extends ListCell<Project> {
              private TextField textField ;
              private final EventHandler<MouseEvent> dragDetectedHandler ;
              AllProjectListCell() {               
                   this.dragDetectedHandler = new EventHandler<MouseEvent>() {
                        @Override
                        public void handle(MouseEvent event) {
                             Dragboard db = startDragAndDrop(TransferMode.COPY);
                             ClipboardContent cc = new ClipboardContent();
                             cc.put(PROJECT_DATA_FORMAT, getItem());
                             db.setContent(cc);
                             event.consume();
                   this.setEditable(true);
              @Override
              public void updateItem(final Project project, boolean empty) {
                   super.updateItem(project, empty);
                   if (empty) {
                        setText(null);
                        setGraphic(null);
                        setOnDragDetected(null);
                   } else if (isEditing()) {
                        if (textField != null) {
                             textField.setText(getItem().getTitle());
                        setText(null) ;
                        setOnDragDetected(null);
                        setGraphic(textField);                    
                   } else {
                        setText(project.getTitle());
                        setOnDragDetected(dragDetectedHandler);
              @Override
              public void startEdit() {
                   super.startEdit();
                   if (!isEmpty()) {
                        textField = new TextField(getItem().getTitle());
                        textField.setMinWidth(this.getWidth()-this.getGraphicTextGap());
                        textField.focusedProperty().addListener(new ChangeListener<Boolean>() {
                             @Override
                             public void changed(
                                       ObservableValue<? extends Boolean> observable,
                                       Boolean oldValue, Boolean newValue) {
                                  if (! newValue) {
                                       getItem().setTitle(textField.getText());
                                       commitEdit(getItem());
                        setText(null);
                        setGraphic(textField);
                        setOnDragDetected(null);
              @Override
              public void cancelEdit() {
                   super.cancelEdit();
                   if (!isEmpty()) {
                        setText(getItem().getTitle());
                        setGraphic(null);
                        setOnDragDetected(dragDetectedHandler);
                   } else {
                        setText(null);
                        setGraphic(null);
                        setOnDragDetected(null);
              @Override
              public void commitEdit(Project project) {
                   super.commitEdit(project);
                   if (!isEmpty()) {
                        setText(getItem().getTitle());
                        setGraphic(null);
                        setOnDragDetected(dragDetectedHandler);
    }If you try to drag from the list on the left to one of the lists on the right, it will fail pretty quickly and tell you that the data need to be Serializable.
    Simply adding "implements Serializable" to the Project and Employee classes doesn't work, as you find that SimpleStringProperty and SimpleObjectProperty are not Serializable. So instead I can use Externalizable:
    public class Project implements Externalizable {
    @Override
         public void writeExternal(ObjectOutput out) throws IOException {
              out.writeObject(title.get());
              out.writeObject(assignee.get());
         @Override
         public void readExternal(ObjectInput in) throws IOException,
                   ClassNotFoundException {
              setTitle((String)in.readObject());
              setAssignee((Employee)in.readObject());
    }and
    public class Employee implements Externalizable {
         @Override
         public void writeExternal(ObjectOutput out) throws IOException {
              out.writeObject(name.get());
         @Override
         public void readExternal(ObjectInput in) throws IOException,
                   ClassNotFoundException {
              setName((String) in.readObject());
    }This makes the drag and drop work, but if you drop a project on one of the employee lists, then edit the project title in the master list, the binding is not respected. This is because deserialization creates a new SimpleStringProperty for the title, which is not the property to which the title of the new Project object is bound.
    What I really want to do is to be able to drag and drop an object within the same JVM simply by passing the object by reference, rather than by serializing it. Is there a way to do this? Is there some DataFormat type I need?

  • Netbeans 7.1 - Error: package javafx.* does not exist

    when i open a project/directory made by old netbeans version as groovyfx as found in http://groovyfx.org/ (but the same occur in other cases) i change the library in default fx library but all the import javafx fail.
    what can i do?
    lorenzo

    Netbeans/Java is not lying to you. The package does not exist, so it does not exist. Figure out what you did wrong, perhaps by examining the Netbeans documentation on both the javafx plugin and how to manage the classpath of a project.

  • Starting with JavaFX 2.0 - Any doubts

    I'm starting with JAvaFX 2.0.
    I need to make a application, but a have any doubts.
    - Whats the better, make layouts (Forms) in FXML or JAva Code ? Because, i read any developers prefers use Java Code, to make complex layouts (forms);
    - JavaFX has a Date component ? I have not found it.
    Thanks
    Thiago

    Hi!
    1. I would recommend FXML, because it's much faster to operate with (thanks to Scene Builder -> http://www.oracle.com/technetwork/java/javafx/tools/index.html). Try to check this after you install Scene Builder: http://docs.oracle.com/javafx/scenebuilder/1/overview/jsbpub-overview.htm
    Moreover, by using FXML you split the GUI code and the logic code, making them much easier to maintain and test.
    2. There's no date component in the official JFX 2, but take a look here: http://jfxtras.org/
    Cheers!
    Edited by: zmirc on Jan 19, 2013 11:43 AM
    I forgot a link.

  • Playing videos with JavaFX

    Hello,
    I'm trying to add a new functionality to an existent Java application which allows playing local videos.
    First I tried with JMF but I have read in the next web that it's better to do this with JavaFX.
    [http://javatrack.blogspot.com/2009/08/video-in-java-no-more-jmf-please-use.html|http://javatrack.blogspot.com/2009/08/video-in-java-no-more-jmf-please-use.html]
    I want to do this if it's easier than JMF but I was not able to call a JavaFX script from mi Java code.
    Anybody knows if this is posible and relatively easy?
    Thank you very much!

    Have you tried getting info on an affected file (click on a movie file and click Command-I on the keyboard) and then changing the application to open that file type in the Info window? (In the "Open with" section, select Quicktime - navigate to the Quicktime application on your hard drive if necessary.)
    That's the standard Mac method to set what app opens any particular file type (e.g. HTML, PDF, MP3, etc.)
    If the file is on your hard drive rather than a CD, the procedure is to do the above, then click on "Change All" if you want all files of that type to be opened with that application from then on. If it's on a CD, it doesn't allow that, which is fine in this case - it asks if you want to open all files of that type with Quicktime. In that case, click on Continue and you should be all set.
    Do this for each file type (.avi, .mov, and so on) that you want to open with Quicktime. It should stick for all files of that type after you've done this with one file of that type.
    15" MacBook Pro 2.0GHz/100GB (7200rpm)/2GB RAM; Windows XP Pro on Parallels   Mac OS X (10.4.7)   400MHz G4 (Sawtooth); Airport network; 60GB iPod photo; Dell-in-the-Closet

  • Floor layout with JavaFx

    Hi,
    I'm having a requirement to implement an interactive data center floor layout. It should display the different partitions in the data center and should display the server racks installed in them. by clicking on the cubical it should zoom into the racks and once click on the rack it should display the rack layout showing the servers and clicking the server it should display various configurations, etc in the server.
    Can this be achieved with JavaFX and any starting tutorial to implement this would be much appreciated.
    Thanks in advance.
    Dushan

    This can be achieved with JavaFX, but it is quite a bit of work.
    Approach 1:
    Draw your floor layout plan in a vector editor tool (such as Inkscape). Ideally the vector editor should support SVG. Extract the SVGPaths for the individual pieces of your floorplan. You can now recreate those pieces as individual components using SVGPath. Add mouse handling to respond to clicks which then change the position and zoom of the displayed view. Add mouse handling to display detailed configuration info.
    Approach 2:
    Create images for all possible views you will show (the overall floor plan, plus the various zoomed in views). Add mouse handling to respond to mouse clicks and the corresponding navigation logic to take to the different views.
    Honestly approach 2 is probably the easiest, but isn't as 'pure' in that you aren't utilizing vector drawing.

  • Access Network Camera with JavaFX is possible?

    hi,
    i have IP Camera Foscam 8910W and it have the access via http for see mpeg movie via network
    if i access in firefox http://myipcamera/videostream.asf?user=xx&pwd=yy
    i see the direct movie of this network camera
    i have create a application swing+javafx for show this movie in JFrame
    is possible use this with JavaFX?
    Dario

    Actually i am having java code for camera applications.and i want to use it for the javafx applications.But for displaying camera control in javame we will typecast it as below.
    (Item)videoControl. initDisplayMode(VideoControl.USE_GUI_PRIMITIVE, null)
    and append it to a form.
    But for javafx we want node so that it is displayed.But how i acheive this thing in javafx.

  • Recording audio with JavaFX

    Hi All,
    I was looking for advice on how best to record audio with JavaFX, as JMF is seriously out of date.
    Can anybody tell me how to get started here?
    Cheers,
    Chester

    I think you'll have to do it via Java Sound API, because JavaFX itself doesn't have capability of recording audio. Maybe in version 1.3, but I have no access to it.

  • VoiceChat with JavaFX?

    Hi,
    we have the following requirement:
    Two entities shall connect to each other and shall talk to each other (e.g. using a socket connection). Entity 1 writes to the OutputStream. Entity 2 receives the InputStream.
    The stream is some kind of audio stream.
    Eventually we want to have a voice chat, similar as in Skype between two (later more) entities.
    Besides the problem of capturing the microphone, is that possible with JavaFX using the MediaPlayer to let the user control volume, muting and stuff like that?
    If not, is something like that planned for JavaFX 8.0?
    Can HTTP Live Streaming be used for that requirement?

    It asks for FX 2.2, but take a look here: http://jemmy.java.net/JemmyFXGuide/jemmy-guide.html
    Cheers for using JavaFX.

  • Stereoscopic view with javafx?

    Hello,
    Is it possible to obtain stereoscopic views of a scene with javafx?
    More specifically, I am interested to render the scene using quad buffers or anaglyphs methods.
    Thank you,
    Erwan

    Not currently, no. Stereoscopic support is something we may consider for a future version.
    Kevin Rushforth
    Oracle Corporation

Maybe you are looking for

  • I need help getting rid of Adobe Flash Player

    First - cor-el, thanks for your suggestion (reply form won't let me enter a reply). Now, my problem: I use very slow dial-up. I cannot have a Flash Player on my computer or nothing else opens. When I downloaded Adobe Reader 8, somehow Adobe Flash Pla

  • Uninstall Security Update 2008-003

    One of my iMacs (G4) is crashing repeatedly now after installing the Security Update 2008-003. (My employee installed it against my orders, mistakenly). Is there any way to un-install this update? Thanks

  • If my left USB port works, will a Left I/O Board replacement fix my issue?

    I recently bought a Macbook Pro 2.33GHz off of craigslist. The seller made it seem like the issue was a dead battery because it would not take a charge. I have been looking online and it seems like the Left I/O board could be the issue. I have no pro

  • Wired Mac on Airport Extreme slowing down Wireless network?

    I have an Airport Extreme 802.11n and a MacBook Pro 15" (unibody). I recently added a MacMini Core 2 duo as an iTunes server, and since it didn't have 802.11n (it's an older one), I shut off the WiFi and ethernet cable'd it to my Airport Extreme. It

  • ERROR 00604

    I wrote oracle procedure in which I am using 2 cursor. When I execute this procedure I got following error. ERROR at line 1: ORA-00604: error occurred at recursive SQL level 2 ORA-04031: unable to allocate 1400 bytes of shared memory ("shared pool","