Answer the question
In order to leave comments, you need to log in
Java graphical application reference?
Hello everyone, I am writing a course project on the topic of a Google services directory, an approximate design in the photo, but that's not the point. The question is how, when you click on the buttons with the names of Google services, display information about the Google service according to the prepared text. I ask you to help those who know, because the idea of \u200b\u200bwhat Java is and what it is eaten with is 0. Initially, I wanted to write in # WPF, but I didn’t need a ride in Java ( PS (I write in IntelliJ IDEA + JavaFx)
Answer the question
In order to leave comments, you need to log in
Where jbutton is your button (Google Mail).
jbutton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
JOptionPane.showMessageDialog((Component)
null,
"Твой текст",
"Google Пошта",
JOptionPane.INFORMATION_MESSAGE);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question