SizeChooser
is a compound component made of a JComboBox
and a JSpinner
that allows the user to enter a size in multiple of a selectable unit: byte, kilobyte, megabyte, ... Each time the value changes, a ChangeEvent
is fired to registered listeners. This component can also serve to enter a speed in byte/kilobyte/megabyte/... per second. This only affects the units displayed, this component works in the exact same way otherwise.
@author Maxence Bernard
|
|
|
|