void eventHandling()
	{
		this.browseButton.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent e) {
				int res = Delete.this.fileChooser.showOpenDialog(Delete.this.mainPanel);
				if (res == JFileChooser.APPROVE_OPTION) {
					Delete.this.deleteField.setText(Delete.this.fileChooser.getSelectedFile().toString());
				}
			}
		});

		this.okButton.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent e) {
				Delete.this.selFile = new File(Delete.this.deleteField.getText().trim());
				if (Delete.this.selFile.exists()) {
					if (Delete.this.selFile.isFile()) {
						Delete.this.selFile.delete();
						Delete.this.deleteSuccess("File");
					} else {
						Delete.this.deleteDirectory(Delete.this.selFile);
						Delete.this.deleteSuccess("Directory");
					}
				} else {
					Delete.this.result.setText("<html><font color='red'>File/Folder Doesn't Exists</font></html>");
				}
				Delete.this.selFile = null;
				Delete.this.deleteField.setText("");
			}
		});
	}