private PassWindow(String option){
		super();
		//setResizable(false);
		this.setTitle("Personnel Records");
		cnt = this.getContentPane();
		JLabel background = Background.getLabel();
		cnt.add(background, BorderLayout.CENTER);
		background.setLayout(new GridLayout(3,3));
//		cnt.setBackground(defaultColor);
		setBounds(500, 250, 400, 200);
		Font f = new Font("Helvetica", Font.ITALIC, 14);
		label = new JLabel(" Enter password: ");
		label.setFont(f);
		field = new JTextField();
		//add action listener to pass textField
		field.addActionListener(new ActionListener() {
			
			@Override
			public void actionPerformed(ActionEvent e) {
				JTextField tf = (JTextField) e.getSource();
				String pass = tf.getText();
				if(!pass.equals(PASSWORD)) {
					//if pass is empty
					if(!pass.isEmpty())
						tf.setBackground(Color.RED);
					else {
						tf.setBackground(new Color(255,255,255));
					}
				}
				else {
					if(pass.equals(PASSWORD))
					switch (option) {
					case "console":
						dispose();
						ConsoleController cc = ConsoleController.getInstance();
						break;
					case "gui":
						dispose();
						Window w = Window.getInstance();
						break;
					}
				}
					
			}
		});
		menuPanel = new JPanel(new GridLayout(3,1));
		menuPanel.setBackground(new Color(0,0,0,0));
		menuPanel.add(label);
		menuPanel.add(field);
		for(int i = 0; i < 4; i++)
			background.add(new JLabel());
		background.add(menuPanel);
		for(int i = 0; i < 4; i++)
			background.add(new JLabel());
		setVisible(true);
	}