public class commninterface extends JFrame
{
public commninterface()
{
initUI();
setTitle("-::Java Based Port Communication Apps :);
setSize(700, 400);
setResizable(false);
setLocationRelativeTo(null); //Will center in middle of screen
setDefaultCloseOperation(EXIT_ON_CLOSE);
}