repositories
/
Persons_Comparator.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Properly add all view JComponents to the JPanel in the main JFrame.
[Persons_Comparator.git]
/
src
/
SizeView.java
1
import
javax
.
swing
.*;
2
3
public class
SizeView
extends
JComponent
{
4
private
Size sizeObj
;
5
6
SizeView
() {
7
}
8
9
SizeView
(
Size sizeObj
) {
10
setSizeObj
(
sizeObj
);
11
}
12
13
public
Size
getSizeObj
() {
14
return
sizeObj
;
15
}
16
17
public void
setSizeObj
(
Size sizeObj
) {
18
this
.
sizeObj
=
sizeObj
;
19
}
20
}