public void mouseClicked(MouseEvent mouseEvent) {
				JList theList = (JList) mouseEvent.getSource();
				String title = null;
				if (mouseEvent.getClickCount() == 1) {
					int index = theList.locationToIndex(mouseEvent.getPoint());
					if (index >= 0) {
						Object o = theList.getModel().getElementAt(index);
						title = o.toString();
					}
				}
				Object typeObject = actionsListJlst.getSelectedValue();
				String type = null;
				if (typeObject != null) {
					type = typeObject.toString();
				}
				
				switch (type) {
				case CASECLAIM:
					if (currentClaim.getUserId().equals(userLogin.getName())
							&&  currentClaim.getDialogType().equals(ACTIONPRIVATE)) {
						editDetailsJbtn.setEnabled(true);
						deleteActionJbtn.setEnabled(true);
					} else {
						editDetailsJbtn.setEnabled(false);
						deleteActionJbtn.setEnabled(false);
					}
					getClaimDetail(title);
					break;
				case CASESUBCLAIM:
					if (currentClaim.getUserId().equals(userLogin.getName())
							&&  currentClaim.getDialogType().equals(ACTIONPRIVATE)) {
						editDetailsJbtn.setEnabled(true);
						deleteActionJbtn.setEnabled(true);
					} else {
						editDetailsJbtn.setEnabled(false);
						deleteActionJbtn.setEnabled(false);
					}
					getSubClaimDetail(title);
					break;
				case CASEEVIDENCE:
					if (evidenceCurrent.getUserId().equals(userLogin.getName())
							&&  evidenceCurrent.getDialogType().equals(ACTIONPRIVATE)) {
						editDetailsJbtn.setEnabled(true);
						deleteActionJbtn.setEnabled(true);
					} else {
						editDetailsJbtn.setEnabled(false);
						deleteActionJbtn.setEnabled(false);
					}
					getEvidenceDetail(title);
					break;
				case CASECOUNTERCLAIM:
					if (currentClaim.getUserId().equals(userLogin.getName())
							&& currentClaim.getDialogType().equals(ACTIONPRIVATE)) {
						editDetailsJbtn.setEnabled(true);
						deleteActionJbtn.setEnabled(true);
					} else {
						editDetailsJbtn.setEnabled(false);
						deleteActionJbtn.setEnabled(false);
					}
					getCounterClaimDetail(title);
					break;
				case "Counter Evidence":
					if (evidenceCurrent.getUserId().equals(userLogin.getName())
							&&  evidenceCurrent.getDialogType().equals(ACTIONPRIVATE)) {
						editDetailsJbtn.setEnabled(true);
						deleteActionJbtn.setEnabled(true);
					} else {
						editDetailsJbtn.setEnabled(false);
						deleteActionJbtn.setEnabled(false);
					}
					getCounterEvidenceDetail(title);
					break;
				case "Bi-polar Questions":
					if (bipolarQuestionCurrent.getUserId().equals(userLogin.getName())
							&&  bipolarQuestionCurrent.getDialogType().equals(ACTIONPRIVATE)) {
						System.out.println(" title:" + currentClaim.getTitle());
						editDetailsJbtn.setEnabled(true);
						deleteActionJbtn.setEnabled(true);
					} else {
						editDetailsJbtn.setEnabled(false);
						deleteActionJbtn.setEnabled(false);
					}
					getBipolarQuestionDetail(title);
					break;
				case "Response to Bi-polar":
					if (bipolarQuestionCurrent.getUserId().equals(userLogin.getName())
							&&  bipolarQuestionCurrent.getDialogType().equals(ACTIONPRIVATE)) {
						editDetailsJbtn.setEnabled(true);
						deleteActionJbtn.setEnabled(true);
					} else {
						editDetailsJbtn.setEnabled(false);
						deleteActionJbtn.setEnabled(false);
					}
					getResponseBipolarDetail(title);
					break;
				case "Challenge":
					if (challengeCurrent.getUserId().equals(userLogin.getName())
							&&  challengeCurrent.getDialogType().equals(ACTIONPRIVATE)) {
						editDetailsJbtn.setEnabled(true);
						deleteActionJbtn.setEnabled(true);
					} else {
						editDetailsJbtn.setEnabled(false);
						deleteActionJbtn.setEnabled(false);
					}
					
					getChallengeDetail(title);
					break;
				}
			}