Загрузка...

04.02 Event handling with GUI components

Lecture 4.02:
Event handling with GUI components in Java by Dr. Partha Roy
JFC, Java Foundation Classes, AWT, SWING
1) Frame
a. public void setTitle(String title)
b. public Component add(Component comp)
c. public void setSize(int width, int height)
d. public void setVisible(boolean b)
2) Panel
a. public Component add(Component comp)
b. public void setSize(int width, int height)
c. public void setVisible(boolean b)
3) Button
a. public synchronized void addActionListener(ActionListener l)
b. public String getLabel()
c. public void setLabel(String label)

4) Label
a. public String getText()
b. public void setText(String label)
5) TextField
a. public String getText()
b. public void setText(String label)
6) TextArea
a. public String getText()
b. public void setText(String label)
c. public void append(String str)

Learn Java to solve problems
Are you ready to learn Java from scratch? In this comprehensive masterclass, we cover everything you need to go from a total beginner to writing your own functional Java applications. Whether you're a student, an aspiring software engineer, or a hobbyist, this tutorial is designed to be the only starting point you need.
Java remains one of the most popular programming languages in the world. It powers Android apps, enterprise-level server applications, and massive big-data platforms. Learning Java gives you a rock-solid foundation for almost any other language like C#, C++, or Python.

Don't forget to Subscribe ✅ and Hit the Bell 🔔 icon to stay updated with more coding tutorials!

Видео 04.02 Event handling with GUI components канала PROGRAMMING is FUN with Dr. Partha Roy
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять