buttonHoverEffect(final JPanel k, final String name) {
			super();
			this.setText(name);
			this.setName(name);
			final Color z = this.getForeground();
			this.setMaximumSize(new Dimension(200, 100));
			this.setCursor(new Cursor(java.awt.Cursor.HAND_CURSOR));
			this.setOpaque(false);
		    this.addMouseListener(new java.awt.event.MouseAdapter() {
				@Override
				public void mouseReleased(MouseEvent arg0) {
					if(!name.equals("LogOut") && !name.equals("About")) {
						BorderLayout k = (BorderLayout) mainFrame.getContentPane().getLayout();
						k.getLayoutComponent(BorderLayout.CENTER).setVisible(false);
						mainFrame.remove(k.getLayoutComponent(BorderLayout.CENTER));
						
						if(name.equals("Inventory")) {
							inventoryPane.setVisible(true);
							mainFrame.getContentPane().add(inventoryPane, BorderLayout.CENTER);
							k.getLayoutComponent(BorderLayout.CENTER).setVisible(true);
						} else if(name.equals("Transaction")) {
							transactionPane.setVisible(true);
							mainFrame.getContentPane().add(transactionPane, BorderLayout.CENTER);
							k.getLayoutComponent(BorderLayout.CENTER).setVisible(true);
							Frame_Transaction.deffaultFocus();
						} else if(name.equals("Human Resource")) {
							HRPane.setVisible(true);
							mainFrame.getContentPane().add(HRPane, BorderLayout.CENTER);
							k.getLayoutComponent(BorderLayout.CENTER).setVisible(true);
						}
					} 
					if(name.equals("About")) {
						Frame_About.ui();
					} 		
				}
		        public void mouseEntered(java.awt.event.MouseEvent evt) {
		        	setForeground(Color.WHITE);
		        }
				public void mouseExited(java.awt.event.MouseEvent evt) {
					setForeground(z);
		        }
		        });
		}