JavaFX and Scene Builder Beginner Course - IntelliJ #16: FileChooser: loading files

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 10

  • @ДенисШабельник-и9ю

    Thank you. Now I know how to da that in my project.

  • @md.iftakheralam8112
    @md.iftakheralam8112 3 года назад +1

    Here you used append but when I run this code, I can't find old information. What to do now?
    Its shows every time to replace the text file.

    • @Randomcode_0
      @Randomcode_0  3 года назад

      Sometimes JavaFX has problems regarding appending. what you can do instead is load the data from the text field and then manually add the new test to the old text, and load this combined text to the text field.
      Hope this helps, let me know if you still are lost.

  • @sqtrailer7450
    @sqtrailer7450 3 года назад +1

    thanks, bro help full video ..........

  • @tanvirshakil263
    @tanvirshakil263 3 года назад +1

    Can you please provide source code?

    • @Randomcode_0
      @Randomcode_0  3 года назад

      Source code: gist.github.com/Da9el00/f75565592ded943420969a3fbcad4d2a
      This is the soruce code for both #16 and #17, because 17 is building upon 16.

    • @tanvirshakil263
      @tanvirshakil263 3 года назад +1

      @@Randomcode_0 can I use multiple textArea's information in on file?

    • @Randomcode_0
      @Randomcode_0  3 года назад

      Yea that would be possible, you would either need to add the text together in one String before writing to the file, or you can use append mode to append text to a file instead of overwriting every time.