JavaFX and Scene Builder Course - IntelliJ #27: Updating text with a TimeLine

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 2025

ความคิดเห็น • 21

  • @gongayzick5448
    @gongayzick5448 3 ปีที่แล้ว +4

    Love this video, your the only channel who covers JavaFX very well :)

    • @Randomcode_0
      @Randomcode_0  3 ปีที่แล้ว +1

      I had the same problem, I could not find any good JavaFX and scene builder videos so I decided to create my own :)

  • @RomainRyko
    @RomainRyko 2 ปีที่แล้ว +1

    Stumbled on your channel looking desperately for a some recent tutorials on JavaFX and you've really saved my life. Thank you so much !

    • @Randomcode_0
      @Randomcode_0  2 ปีที่แล้ว +1

      Great to hear! I had the same problem which is more or less why I started this channel. Let me know if I am missing any JavaFX topics.

  • @The242511
    @The242511 3 ปีที่แล้ว +1

    Thanks man, you just got a new sub :)

    • @Randomcode_0
      @Randomcode_0  3 ปีที่แล้ว

      Glad to hear!! :)

    • @The242511
      @The242511 3 ปีที่แล้ว +1

      @@Randomcode_0 Do you use JavaFX on a daily basis? like on your job or are you just a student like me? Because everything is just shifting to web dev :/

    • @Randomcode_0
      @Randomcode_0  3 ปีที่แล้ว

      ​@@The242511 I am just a student, and we are mainly using JavaFX, but we are also shifting more into everything web. Yea you are right it seems to be moving more to web. :/

    • @The242511
      @The242511 3 ปีที่แล้ว +1

      ​@@Randomcode_0 Yeah, I've been studying Spring Boot for Java web dev, I highly recommend it if you have the chance to study it. Basically Java and html + css
      We used Angular for frontend.

    • @Randomcode_0
      @Randomcode_0  3 ปีที่แล้ว

      Good to know, thanks for the tip! :)

  • @arthurasche4457
    @arthurasche4457 3 ปีที่แล้ว +1

    Thank you.

  • @minus3241
    @minus3241 2 ปีที่แล้ว

    How to change the scene after 10seconds, I managed to stop the timer after then seconds, by using timeline.setCycleCount(10); but I didn’t know how to change the scenes after that. I tried many things but nothin works

    • @Randomcode_0
      @Randomcode_0  2 ปีที่แล้ว +3

      When we create the timline we define how often it is going to run in the in the Duration.seoncds(here) part, we could then define the timeline to run every 10 seconds, inside the main codeblock we then put the code we would like to be run every 10 seconds:
      Timeline timeline = new Timeline(new KeyFrame(Duration.seconds(10), e ->{
      //Here we put the code we want to be run every 1+ seconds
      }));
      We then can run this timeline x amount of times with the timeline.setCycleCount(x); which then runs the 10 seconds timeline 10 times in this case.

    • @minus3241
      @minus3241 2 ปีที่แล้ว

      @@Randomcode_0 thank you very much 😊

  • @ahmadsolehin7841
    @ahmadsolehin7841 3 ปีที่แล้ว

    how to make curved text in javafx?

    • @Randomcode_0
      @Randomcode_0  3 ปีที่แล้ว

      Curved text is not a standard setting in JavaFX, it is possible using animations to move shapes and then draw letters 1 at the time at the positions of the turned shapes, but there is no simple solution.

    • @Randomcode_0
      @Randomcode_0  3 ปีที่แล้ว +1

      Check out my latest video for my example of curved text in JavaFX

    • @ahmadsolehin7841
      @ahmadsolehin7841 3 ปีที่แล้ว

      @@Randomcode_0 hello sir,, i really appreciate.. many thanks.......

  • @penggunawooijo
    @penggunawooijo 5 หลายเดือนก่อน

    pretty good channels, constraint denial.

    • @Randomcode_0
      @Randomcode_0  5 หลายเดือนก่อน

      constraint denial, Noted! Thanks for all your comments! :)