public GUI() {

		//setting sizes
		Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
		int screenWidth = (int) 700;
		int screenHeight = (int) 200;
		setSize(screenWidth,screenHeight);
		
		 //setting elements
        c=this.getContentPane();
		c.setLayout(new GridLayout(2,2));
		
		memo=new JTextArea(20,60);
		scrollBar = new JScrollPane(memo);
		
		start=new JButton("Start server");
		stop=new JButton("Stop server");
		
		JPanel chatPanel=new JPanel();
		JPanel actionPanel=new JPanel();
		
		chatPanel.add(scrollBar);
		actionPanel.add(start);
		actionPanel.add(stop);
		
		c.add(chatPanel);
		
		c.add(actionPanel);
	}