private void setupWindow() {
			JPanel mainPanel = new JPanel();
			mainPanel.setLayout(new BorderLayout());
			mainPanel.setBackground(new Color(108,75,31));
			mainPanel.setMaximumSize(new Dimension(250, 120));
			mainPanel.setMinimumSize(new Dimension(250, 120));
			
			//spacing
			JPanel upperPanel = new JPanel();
			JPanel leftPanel = new JPanel();
			JPanel rightPanel = new JPanel();
			JPanel lowerPanel = new JPanel();
			
			upperPanel.setOpaque(false);
			leftPanel.setOpaque(false);
			rightPanel.setOpaque(false);
			lowerPanel.setOpaque(false);
			
			upperPanel.setLayout(new BoxLayout(upperPanel, BoxLayout.PAGE_AXIS));
			lowerPanel.setLayout(new BoxLayout(lowerPanel, BoxLayout.PAGE_AXIS));
			leftPanel.setLayout(new BoxLayout(leftPanel, BoxLayout.PAGE_AXIS));
			rightPanel.setLayout(new BoxLayout(rightPanel, BoxLayout.PAGE_AXIS));
			upperPanel.add(Box.createRigidArea(new Dimension(0, 10)));
			lowerPanel.add(Box.createRigidArea(new Dimension(0, 10)));
			leftPanel.add(Box.createRigidArea(new Dimension(10, 0)));
			rightPanel.add(Box.createRigidArea(new Dimension(10, 0)));

			mainPanel.add(upperPanel,BorderLayout.NORTH);
			mainPanel.add(lowerPanel,BorderLayout.SOUTH);
			mainPanel.add(leftPanel,BorderLayout.WEST);
			mainPanel.add(rightPanel,BorderLayout.EAST);
			
			JPanel middlePanel = new JPanel(new BorderLayout());
			
			JPanel soundPanel = new JPanel(new BorderLayout());
			//final JCheckBox cbPlayMusic = new JCheckBox("Play Background Music");
			cbPlayMusic.setSelected(NineManMill.PLAY_MUSIC);
			cbPlayMusic.addActionListener(new ActionListener(){

				@Override
				public void actionPerformed(ActionEvent e) {
					//Checkbox was changed: Save changes to wini
					try{
						ini.put("Settings", "playmusic", cbPlayMusic.isSelected() ? "1" : "0");
						NineManMill.PLAY_MUSIC = cbPlayMusic.isSelected();
						if (parent!=null && parent.gamestate != null){
							if (NineManMill.PLAY_MUSIC){
								parent.gamestate.playBackgroundMusic();
							} else{
								//turn it off
								parent.gamestate.stopBackgroundMusic();
							}
						}
						ini.store();
						//if unchecked, stop music playing
						//TODO
						
					} catch (IOException e1) {
						System.err.println("ERROR: Error with I/O when operating on settings file. Settings may not save.");
						e1.printStackTrace();
					}
				}
			});
			
			//final JCheckBox cbPlaySFX = new JCheckBox("Play Sound Effects");
			cbPlaySFX.setSelected(NineManMill.PLAY_SFX);
			cbPlaySFX.addActionListener(new ActionListener(){

				@Override
				public void actionPerformed(ActionEvent e) {
					//Checkbox was changed: Save changes to wini
					try{
						ini.put("Settings", "playsfx", cbPlaySFX.isSelected() ? "1" : "0");
						NineManMill.PLAY_SFX = cbPlaySFX.isSelected();
						ini.store();
					} catch (IOException e1) {
						System.err.println("ERROR: Error with I/O when operating on settings file. Settings may not save.");
						e1.printStackTrace();
					}
				}
			});
			
			// Sasa Stuff
			cbPlaySFX.setBackground(new Color(108,75,31));
			cbPlaySFX.setFocusPainted(false);
			cbPlaySFX.setForeground(Color.WHITE);
			cbPlayMusic.setBackground(new Color(108,75,31));
			cbPlayMusic.setFocusPainted(false);
			cbPlayMusic.setForeground(Color.WHITE);
			soundPanel.setBackground(new Color(108,75,31));
			// End Sasa
			
			soundPanel.add(cbPlaySFX, BorderLayout.NORTH);
			soundPanel.add(cbPlayMusic, BorderLayout.SOUTH);
			middlePanel.add(soundPanel,BorderLayout.CENTER);
			middlePanel.setOpaque(false);
			

			JPanel OKPanel = new JPanel();
			OKPanel.setLayout(new BoxLayout(OKPanel, BoxLayout.LINE_AXIS));

			//align the button
			//button
			JButton dismiss = new JButton("OK");
			dismiss.setOpaque(true);
			if (System.getProperty("os.name").contains("Mac")){
				//it's running on a mac
				dismiss.setBackground(new Color(108,75,31));
			} else {
				//other OS are fine
				dismiss.setBackground(new Color(255,146,0));
			}
			dismiss.addActionListener(new ActionListener(){

				@Override
				public void actionPerformed(ActionEvent e) {
					// TODO Auto-generated method stub
					PreferencesDialog.this.dispose();
				}
				
			});
			
			OKPanel.setBackground(new Color(0,0,0,0));
			
			OKPanel.add(Box.createHorizontalGlue());
			OKPanel.add(dismiss);
			OKPanel.add(Box.createHorizontalGlue());
			
			middlePanel.add(OKPanel, BorderLayout.SOUTH);
			mainPanel.add(middlePanel,BorderLayout.CENTER);
	
			getContentPane().add(mainPanel);
		}