tell me about the meaig of each line
public class commninterface extends JFrame
setTitle("-::Java Based Port Communication Apps ::-");
setLocationRelativeTo(null); //Will center in middle of screen
Re: tell me about the meaig of each line
A good place to get a description of what methods do is in the API doc:
Java Platform SE 7
If you know the class, find it in the lower left of the page, click on the link and it will display in the main frame.
To look up methods, click on the "Index" link at the top of the page, click on the letter for the first letter in the method name and scan down to the method.