Java - LinkedLists - Students GUI - Add, Delete, Display - Part 01
Part 01:
* Build a Student GUI that stores Student objects in a LinkedList and allows the user to Add students, Delete students, Display All students, and Exit. See question below. Uses Java's built in LinkedList class.
* Linked Lists – using Java's built in LinkedList
* Question: Write a Java class named StudentEmail that has data members for the name and number of a student. The class should have a constructor and appropriate accessor and mutator methods. In addition, the toString method should include the output information with student name, student number and the corresponding e-mail address. The e-mail address is a string with the student number and @my.email (such as [email protected]). Then you write a program that creates a GUI with two labelled text fields, each one for name and student number, a text area to display the information, and four buttons:
• Add: when the user enters data into the text fields and clicks the ‘add’ button, a StudentEmail object is created and stored in a LinkedList, and in then the student name, number and e-mail is displayed on the text area.
• Delete: If you want to delete a student e-mail entry, you can enter the student name in the text field and press the ‘delete’ button. If the entered student name doesn’t match any name in the LinkedList, a dialog message box will pop up to indicate this.
• Display All: Clicking ‘display all’ button will display all data (StudentEmail object) that are stored in the linkedlist.
• Exit: Pressing ‘exit’ button will allow users to exit the program.
• User input is handled via GUI components (textfields) - which is *much* better than using input dialogs.
TThe videos in this LinkedLists series:
* Java - LinkedLists - Students GUI - Add, Delete, Display - Part 01
https://youtu.be/0KdG9DZgi6I
* Java - User Input Validation and Exception Handling
https://www.youtube.com/watch?v=Yb0f_VMnvTo
* Java - LinkedLists - Students GUI - Add, Delete, Display - Part 02 - Edit
https://youtu.be/LXMg1E6gJJ0
* Java - LinkedLists - Students GUI - Add, Delete, Display - Part 03 - NetBeans
https://youtu.be/xrNSa0nXDLE
Java Source code is in my GitHub:
* https://github.com/MooseValley/LinkedLists-Students-GUI-Add-Delete-Display
If you'd like to learn more about Linked Lists, please see my 2 part special where I start with the very basics and build a linked list from scratch:
* LinkedList - From Scratch - Part 1 of 2:
https://youtu.be/BuntNoC8Cq0
* LinkedList - From Scratch - Part 2 of 2:
https://youtu.be/WdXKpOIEzoo
My web site:
* Moose's Software Valley - Established July, 1996.
https://rebrand.ly/MoosesSoftware
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Java - LinkedLists - Students GUI - Add, Delete, Display - Part 01», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.