Search:

Type: Posts; User: cnmeysam

Search: Search took 0.09 seconds.

  1. Replies
    16
    Views
    1,720

    [SOLVED] Re: java Null Pointer Exception for choose file

    finally i found it i I hope it helps you too
    first use this librarys


    import com.sun.javafx.application.PlatformImpl;
    import java.io.File;
    import javafx.stage.FileChooser;


    and write this...
  2. Replies
    16
    Views
    1,720

    [SOLVED] Re: java Null Pointer Exception for choose file

    if you can add file type in codes and user just can see image files and select just image files in last code. my problem is solves and if you cant! don't different you can Each of the first and...
  3. Replies
    16
    Views
    1,720

    [SOLVED] Re: java Null Pointer Exception for choose file

    Did you read the API doc for the getScene method? What did it say? https://docs.oracle.com/javase/8/javafx/api/javafx/scene/Node.html#getScene--

    i write all my code here in first post you can copy...
  4. Replies
    16
    Views
    1,720

    [SOLVED] Re: java Null Pointer Exception for choose file

    i first post i write all code in my project don't have any code to paste in here
    I even put a sample of the project source for download
    Download File UploadBoy.com Making Your File Sharing Easy!...
  5. Replies
    16
    Views
    1,720

    [SOLVED] Re: java Null Pointer Exception for choose file

    i cant find getScene return null in API doc
    can i use javafx FileChooser and stage in java swing?
    i don't now how i must create open file dialog for select a picture like this form...
  6. Replies
    16
    Views
    1,720

    [SOLVED] Re: java Null Pointer Exception for choose file

    after click on my button i see this errors

    Window stage = openwindow.getScene().getWindow(); return null for mee



    run:
    openwindow = VBox@3ab692e9
    openwindow.getScene() = null
    Exception in...
  7. Replies
    16
    Views
    1,720

    [SOLVED] Re: java Null Pointer Exception for choose file

    import java.io.File;
    import java.net.URL;
    import java.util.ResourceBundle;
    import static javafx.scene.input.DataFormat.URL;
    import javafx.scene.layout.VBox;
    import javafx.stage.FileChooser;...
  8. Replies
    16
    Views
    1,720

    [SOLVED] Re: java Null Pointer Exception for choose file

    i think now you can help me
  9. Replies
    16
    Views
    1,720

    [SOLVED] java Null Pointer Exception for choose file

    Tips about getting error java.lang.NullPointerException at NewJFrame.jButton4ActionPerformed(NewJFrame.java:266) when executing code

    i think problem is from VBox or openwindow.getScene(). i use a...
Results 1 to 9 of 9