Загрузка...

69- Programming with java || what is JButton & JLabel?

In Java, a JButton is a push button that performs a specific action when clicked, while a JLabel is a component that displays text, an image, or both:
JButton
A Java Swing implementation of a push button that performs a specific action when clicked. You can create a JButton with text or an image.
JLabel
A component that displays text, an image, or both. You can use a JLabel to present un-editable content to the user, such as general instructions or in front of text fields or buttons. The content of a label can be changed via the setText method, but it is not editable by the end user.

Видео 69- Programming with java || what is JButton & JLabel? канала TechLearn(تک لرن)
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять