/Users/lyon/j4p/src/graphics/graph/StressBean.java

1    package graphics.graph; 
2     
3     
4    public class StressBean { 
5        private static StressBean sb = new StressBean(); 
6        private boolean stress; 
7     
8        private StressBean() { 
9        } 
10    
11       public static StressBean getStressBean() { 
12           return sb; 
13       } 
14    
15       public void setStress(boolean b) { 
16           stress = b; 
17       } 
18    
19       public boolean getStress() { 
20           return stress; 
21       } 
22   }