JTextField | Java Swing Tutorial for Beginners

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ • 13

  • @JavaCodeJunkie
    @JavaCodeJunkie  3 роки тому

    Continuing with our Java Swing tutorial series, today we will learn how to use the JTextField Component. Please Like, Comment and Subscribe. Cheers!

  • @kavishkamadhudhan1943
    @kavishkamadhudhan1943 3 роки тому +1

    Great series and Thank you for this video.

    • @JavaCodeJunkie
      @JavaCodeJunkie  3 роки тому +1

      @Kavishka Madhudan - My pleasure! Glad yo like them! Thank you for the kind words. 🙏

  • @tbnman
    @tbnman 6 місяців тому

    The audio and video are out of sync on many of these presentations. However, this series hs been very helpful to me. Thank you!

  • @jefferyjohnson2612
    @jefferyjohnson2612 3 роки тому +1

    This is a great series too. So if you were building an app from the ground up, would you go with Swing or JavaFX?

    • @JavaCodeJunkie
      @JavaCodeJunkie  3 роки тому +3

      @Jeffrey Johnson - Thank you! I would choose JavaFX for any new development. Swing is an older UI toolkit and is no longer being enhanced by Oracle and may be discontinued at some point in the future. If I were looking for a job, on the other hand, I would learn Swing first because there is so much legacy code out there that still has to be supported. But I would also learn JavaFX because it can do everything that Swing can do and more.

  • @alexop5919
    @alexop5919 3 роки тому +1

    I like that you do ActionListener via inner class. But I think it'll be better to show audience a lambda method too. It's very hard to get used to lambda notation, better to watch that lambda lines more often

    • @JavaCodeJunkie
      @JavaCodeJunkie  3 роки тому +3

      @Alex Op - It is a conscious choice to use the anonymous inner class when I create listeners as they are easier to understand. Maybe I will do a video to show all of the options for creating listeners.

    • @yash1152
      @yash1152 Рік тому

      7:03

  • @alexop5919
    @alexop5919 3 роки тому +1

    Why there are no JFrame imports? Or they simply didn't show in eclipse?

    • @JavaCodeJunkie
      @JavaCodeJunkie  3 роки тому +1

      @Alex Op - There is a JFrame import. They are folded at the top of the MainFrame class in Eclipse. You can download the project code from GitHub (link in video description). Cheers!

  • @aadi8399
    @aadi8399 3 роки тому +1

    Sir please make a video on javafx textformatter

    • @JavaCodeJunkie
      @JavaCodeJunkie  3 роки тому +1

      @Aditya udasi - Thank you for the request! I have a video on The JavaFX TextFormatter that is almost finished. Look for it soon! Cheers!