protected void showContent(String name) {
		toolBarName = "";
		TitledBorder nameBorder = BorderFactory.createTitledBorder(
				name);
		MainView.contentPanel.setBorder(nameBorder);
		mainView.getCardLayout().show(mainView.getContentPanel(), name);

		// refresh visible card panel
		JPanel card = null;
		for (Component comp : mainView.getContentPanel().getComponents()) {
			if (comp.isVisible() == true) {
				card = (JPanel) comp;
				card.repaint();
			}
			
			if(comp instanceof CategoryView)
			{
				((CategoryView)comp).refreshCategoryTable();
			}
			if(comp instanceof MemberView)
			{
				((MemberView)comp).refreshMemberTable();
			}
			if(comp instanceof ProductView)
			{
				((ProductView)comp).refreshProductTable();
			}
			if(comp instanceof DiscountView)
			{
				((DiscountView)comp).refreshDiscountTable();
			}
			if(comp instanceof VendorView)
			{
				((VendorView)comp).refreshVendorTable();
			}
			if(comp instanceof PurchaseOrderView)
			{
				((PurchaseOrderView)comp).refreshPurchaseOrderTable();
			}
			

		}

		/**
		 * @author sakthi
		 */

		if (name.equals(Utility.getPropertyValue(Constants.logout))) {
			LoginPopupView.userNameTxtField.setText("");
			LoginPopupView.passwordField.setText("");
			label.setText("");
			label.setVisible(false);
			toolBarName = Utility.getPropertyValue(Constants.logout);
			getToolbarName();
			LoginPopupView.showLoginDialog(mainView);
		}	
		

	}