Java Swing Project-Part 7 | How to Use TextArea & grabFocus Function in NetBeans |

preview_player
Показать описание
This is the 7th video of the tutorial playlist.
For the previous video on this tutorial, how to add textfields or textboxes and show the input taken from the user. Also, how to concatenate strings in java and the string variable to store data. There will be trim function which is used to trim the text to check whether after trimming the texts the text input is empty or not follow the link:
And for the whole playlist to learn Swing:

In this video I'll show you how to use textArea using Java Swing. I'll show you how to set a textbox so that users can't edit it. Also, I'll show the grabFocus function and how to set a text in a textfield or in a textarea.
And in the following videos I'll show you the next steps to create and implement the features to make a simple and awesome project.

This is the basic video tutorial. After completing the basics I'll try to make tutorial on some basic projects where you can learn how to create a project from scratch in Java. This is a specialized tutorial playlist where you can learn very essential features implementation using Java Swing. If you face any problem implementing such things, comment below. I'll try to solve the problem.
I'll not share any source code in description because you have to learn it and write the code yourself. The best way to learn is practicing anything you want to learn.

Why Learning Swing is Important:
Java Swing is important because you'll easily implement it. And most of the cases CS students are to implement a project to learn Database Management System or I'll say Structured Query Language- SQL. And it's hard to learn 2 or more new things at the same time. That's why even Swing is not used widely nowadays, many of the institutions refers to learn Java Swing for the projects. That's why I'm saying it's important to learn GUI in Java, specially Java Swing. You'll see there's a lot work to implement the features and you'll learn the core things of the OOP- Object Oriented Programming. There's a lot implementation of the function calling (method in Java) and Constructors which are very important in OOP. And there will be lot more things to do. So, let's dive into learning....

Chapters:
0:00 Intro
0:09 Adding TextAreas or TextBoxes
0:52 Show Function Creation
1:51 grabFocus function implementation
4:04 setText Function implementation
5:32 Line Wrapping
6:18 Set as Not Editable
8:00 Ending

All the best for your journey.
To follow my page on Facebook:

I learned the whole things from Youtube. So, thanks to Youtube also.

#TextBoxes #Java #Swing #TextOutput
Рекомендации по теме
visit shbcf.ru