public void addButtons()
{
	b3.setPreferredSize(new Dimension(500,100));
	b3.setText(months[monthTracker]);
	b3.setBackground(Color.white);
	b3.addActionListener(this);
	b3.setToolTipText("Month Summary");
	
	int cr=0;
	for(int r=0;r<6;r++)
	{
		for(int l=0;l<7;l++)
		{
			int k=0;
			
			if(dateDay[dateDayIndex]==1 && r>=4)
			{
			
				if(cr==0){
              btnPlcmntCounter=l;
				cr++;}
						manybuttons[r][l]=new JButton();
						manybuttons[r][l].addActionListener(this);
				        manybuttons[r][l].setFont(new Font("Arial",Font.PLAIN,20));
				        manybuttons[r][l].setEnabled(false);
				        panel1.add(manybuttons[r][l]);
				        
				        k++;
		    }
              
	    	
			if(k != 0)
				continue;
			
			
			
			if(l<btnPlcmntCounter && r==0)
			{
				manybuttons[r][l]=new JButton();
				manybuttons[r][l].addActionListener(this);
		        manybuttons[r][l].setFont(new Font("Arial",Font.PLAIN,20));
		        manybuttons[r][l].setEnabled(false);
		        
			}
		     else{
		    manybuttons[r][l] = new JButton(String.valueOf(dateDay[dateDayIndex]));
			manybuttons[r][l].addActionListener(this);
	        manybuttons[r][l].setFont(new Font("Arial",Font.PLAIN,20));
	        colorButton(r,l);
	        dateDayIndex++;
		     }
		     panel1.add(manybuttons[r][l]);
	        
	  
	}
	
	   }
	
	
}