public JPanel createLoginPanel() {

		JPanel panel = new JPanel();
		DefaultFormBuilder builder = new DefaultFormBuilder(new FormLayout(""));

		builder.appendColumn("right:pref");
		builder.appendColumn("3dlu");
		builder.appendColumn("fill:max(pref; 200px)");

		builder.append(lblUserRole, cmbUserRole);
		builder.nextLine();
		builder.append(lblOldPassword, txtOldPassword);
		builder.nextLine();
		builder.append(lblPassword, txtPassword);
		builder.nextLine();
		builder.append(lblPassword2, txtPassword2);
		builder.nextLine();
		panel = builder.getPanel();
		Border border = BorderFactory.createCompoundBorder(BorderFactory
				.createTitledBorder("Enter User Type and Password"),
				BorderFactory.createEmptyBorder(5, 20, 5, 20));

		panel.setBorder(border);
		return panel;
	}