public void Liides() {
		final Frame tippAken;
		tippAken = new Frame();
		tippAken.setSize(300, 150);
		tippAken.setTitle("URLi sisestamine");
		tippAken.addWindowListener(new WindowAdapter() {
			public void windowClosing(WindowEvent e) {
				tippAken.dispose();
			}
		});

		Label kysimus = new Label("Sisesta URL!");
		kysimus.setForeground(Color.white);
		kysimus.setBackground(Color.black);

		JTextField vastus = new JTextField(20);// laius
		vastus.setForeground(Color.white);
		vastus.setBackground(Color.black);
		vastus.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				String nimi = ((JTextField) e.getSource()).getText();
				if (nimi.equals("")) {
					ParseIcal retrieveURL = new ParseIcal(path);
					try {
						retrieveURL.ParseIc(path);
					} catch (IOException e1) {
						e1.printStackTrace();
					}
				} else {
					writeUrltoFile(nimi);
					GetUrl retrieveURL = new GetUrl();

					try {
						retrieveURL.retrieveURLfromfile(writeUrltoFile(nimi));
					} catch (IOException e1) {
						e1.printStackTrace();
					}
				}
			}
		});
		Button exitNupp = new Button("Kinnita");
		exitNupp.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				String nimi = ((JTextField) ((Component) e.getSource())
						.getParent().getComponent(1)).getText();
				if (nimi.equals("")) {
					ParseIcal retrieveURL = new ParseIcal(path);
					try {
						retrieveURL.ParseIc(path);
					} catch (IOException e1) {
						e1.printStackTrace();
					}
				} else {
					writeUrltoFile(nimi);
					GetUrl retrieveURL = new GetUrl();

					try {
						retrieveURL.retrieveURLfromfile(writeUrltoFile(nimi));
					} catch (IOException e1) {
						e1.printStackTrace();
					}
					tippAken.dispose();
				}
			}
		});
		tippAken.setLayout(new GridLayout(3, 1));
		tippAken.add(kysimus);
		tippAken.add(vastus);
		tippAken.add(exitNupp);
		tippAken.setVisible(true);
	}