Added mouse listener and output in jlabels instead of the text fields