Posts by joaoazevedo • 29 points
6 posts
- 
		-1 votes1 answer279 viewsQ: java:7: error: invalid method declaration; Return type requiredName of the complete error: Cliente.java:7: error: invalid method declaration; return type required public cliente() { ^ Code I used: import java.net.Socket; public class Cliente extends… 
- 
		1 votes1 answer49 viewsQ: Why doesn’t my button event start in Swing?import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JLabel; import java.awt.event.ActionEvent; public class main{ public static void main(String[] args){ JFrame frame = new… 
- 
		1 votes1 answer139 viewsQ: Exception in thread "main" java.awt.Illegalcomponentstateexception: The frame is DecoratedGuys I came back, I started studying AWT I made a simple program that just opened a window with a green background, but I try to create an event to the program window close and is giving the title… 
- 
		-1 votes1 answer40 viewsQ: error: ")" expected } <Guys, I’m trying to make a program that by clicking the confirm button, open another Jframe, but keeps giving the error error: ")" expected } ^ and error "teladelogin.java:48: error: class,… 
- 
		0 votes1 answer53 viewsQ: how do I use Actionlisten? I need an example to better understandGuys, in a previous question I had asked a question about actionListen, but I wanted to ask an example, could someone give me an example, I created this simple code q shows a Jbutton in Swing,… 
- 
		0 votes1 answer544 viewsQ: What’s the Actionlistener for?I’m starting to study Java. Can someone explain to me, in detail, in the most complete and simple way possible, what good is the method actionListener java (da lib swing). 'Cause I’m having a little…