JTextField | Java Swing Tutorial for Beginners

preview_player
Показать описание
In this Java Swing GUI Tutorial for Beginners, we will learn how to use the JTextField Component. JTextField is a Java Swing Component that lets you edia a single line of text. We will learn how to set the width of a JTextField, set the background and text colour, how to set the font, add a tooltip, getText and setText as well as how to add an ActionListener to the JTextField component to listen for the Enter key.

Check out my YouTube Channel for more FREE videos

Project code is available on GitHub

Do you want to learn more about Java and how you can grow your skills as a Java Developer? SUBSCRIBE and ring that bell!
Рекомендации по теме
Комментарии
Автор

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

JavaCodeJunkie
Автор

Great series and Thank you for this video.

kavishkamadhudhan
Автор

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

tbnman
Автор

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

jefferyjohnson
Автор

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

alexop
Автор

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

alexop
Автор

Sir please make a video on javafx textformatter

aadi
visit shbcf.ru