public NoteView(NoteModel model){
		this.setPreferredSize(new Dimension(Constants.PREFERRED_MODULE_WIDTH, Constants.PREFERRED_MODULE_HEIGHT));
		this.setLayout(new BorderLayout());
		this.add(this.drawArea, BorderLayout.CENTER);
		this.add(this.bottomPanel, BorderLayout.SOUTH);
		
		this.drawArea.setBackground(Color.white);
		this.bottomPanel.setBackground(Color.white);
		this.bottomPanel.setLayout(new GridLayout(1, 4));
		this.bottomPanel.setBorder(BorderFactory.createLineBorder(Color.black));
		
		this.slider.setBackground(Color.white);
		
		this.bottomPanel.add(this.eraseButton);
		this.bottomPanel.add(this.preview);
		this.bottomPanel.add(this.colorChooser);
		this.bottomPanel.add(this.slider);
		
		this.bottomPanel.setPreferredSize(new Dimension(300, 50));
		
		this.model = model;
		model.addObserver(this);
	}