3e6d00f668a0270f8f0f9ee5b42e88410e8116f1
[Persons_Comparator.git] / src / WeightView.java
1 import javax.swing.*;
2
3 public class WeightView extends JComponent {
4 private Weight weightObj;
5
6 WeightView() {
7 }
8
9 WeightView(Weight weightObj) {
10 setWeightObj(weightObj);
11 }
12
13 public Weight getWeightObj() {
14 return weightObj;
15 }
16
17 public void setWeightObj(Weight weightObj) {
18 this.weightObj = weightObj;
19 }
20 }