X-Git-Url: https://git.piment-noir.org/?p=Persons_Comparator.git;a=blobdiff_plain;f=src%2FWeightView.java;h=3e6d00f668a0270f8f0f9ee5b42e88410e8116f1;hp=e6b69c54e62fa8fb62be14bd74786fd28d491cb7;hb=089fcbfccd75b77daf843b22e128beeee1d1dc07;hpb=609718730ad9bc6d18491cf164360b4a44db5f52 diff --git a/src/WeightView.java b/src/WeightView.java index e6b69c5..3e6d00f 100644 --- a/src/WeightView.java +++ b/src/WeightView.java @@ -1,6 +1,11 @@ -public class WeightView { +import javax.swing.*; + +public class WeightView extends JComponent { private Weight weightObj; + WeightView() { + } + WeightView(Weight weightObj) { setWeightObj(weightObj); }