// Michael Walsh 2016 
import javax.swing.*;
public class Temperature {
	/* data */
	private int currTemp, minTemp, maxTemp; //temperature data
	private JButton incCurr, decCurr, incMin, decMin, incMax, decMax; //buttons to edit temps
	private JLabel currT, minT, maxT; //display labels
	private JLabel temperatureLabel; //to label the temperature section
	
	/* constructor */
	Temperature(){
		currTemp = 50;
		minTemp = 32;
		maxTemp = 100;
	}
	
	Temperature(int c, int mi, int ma){
		currTemp = c;
		minTemp = mi;
		maxTemp = ma;
	}
	/* methods */
	
	public void setCurrTemp(int t){
		currTemp = t;
	}
	
	public void setMinTemp( int t){
		minTemp = t;
	}
	
	public void setMaxTemp( int t){
		maxTemp = t;
	}

	public int getCurrTemp(){
		return currTemp;
	}
	
	public int getMinTemp(){
		return minTemp;
	}
	
	public int getMaxTemp(){
		return maxTemp;
	}
	
}

@@ -565,24 +565,40 @@
 hods */%0D%0A%09%0D%0A
+%09//setters %0D%0A%09%0D%0A
 %09public void
@@ -753,16 +753,31 @@
  t;%0D%0A%09%7D%0D
+%0A%09%0D%0A%09//getters%0D
 %0A%0D%0A%09publ

update comments