Как установить WindowBuilder в Eclipse 2022 и начать пользоваться IDE (YouTube)
Как установить WindowBuilder в Eclipse 2018-09 (x32) и начать пользоваться IDE (YouTube)
Код внутри метода actionPerformed():
String str = textField.getText().trim();
if (str.isEmpty()) {
JOptionPane.showMessageDialog(null, "Введите имя!");
} else {
JOptionPane.showMessageDialog(null, "Привет! " + str);
}
