@Override
	public void insertUpdate(DocumentEvent arg0) {

		
		try{
			if(Integer.parseInt(textRow.getText()) < 1){
				JOptionPane.showMessageDialog(this, "Rows need to be higher than 0!");
				textRow.setText("10");
			}
		}catch(NumberFormatException e){
			JOptionPane.showMessageDialog(this, "All Fields need to be filled with integers!");
			this.textRow.setText("10");
		}
		try{
			if(Integer.parseInt(textCol.getText()) < 1){
				JOptionPane.showMessageDialog(this, "Cols need to be higher than 0!");
				textCol.setText("10");
			}
		}catch(NumberFormatException e){
			JOptionPane.showMessageDialog(this, "All Fields need to be filled with integers!");
			this.textCol.setText("10");
		}
		try{
			if(Integer.parseInt(textBombs.getText()) < 1){
				JOptionPane.showMessageDialog(this, "Bomb Percentage need to be higher than 0!");
				textBombs.setText("10");
			}
			if(Integer.parseInt(textBombs.getText()) > 100){
				JOptionPane.showMessageDialog(this, "Bombs Percentage need to be lower than 100!");
				textBombs.setText("10");
			}
		}catch(NumberFormatException e){
			JOptionPane.showMessageDialog(this, "All Fields need to be filled with integers!");
			this.textBombs.setText("10");
		}
	}