diff options
author | Adrien Hopkins <masterofnumbers17@gmail.com> | 2019-10-21 15:23:17 -0400 |
---|---|---|
committer | Adrien Hopkins <masterofnumbers17@gmail.com> | 2019-10-21 15:23:17 -0400 |
commit | ce7402fb5e52d947b6b7c383fa96e3aaaf9da188 (patch) | |
tree | a036180832095671027babc8b0fc16e3ca4eca47 /src/org/unitConverter/converterGUI/UnitConverterGUI.java | |
parent | 1bf43ad95e70019a69e91e09ff74f677082ed6f5 (diff) |
Added back Fahrenheit, with more Imperial/USC units to come.
Diffstat (limited to 'src/org/unitConverter/converterGUI/UnitConverterGUI.java')
-rw-r--r-- | src/org/unitConverter/converterGUI/UnitConverterGUI.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/unitConverter/converterGUI/UnitConverterGUI.java b/src/org/unitConverter/converterGUI/UnitConverterGUI.java index 511e47b..0be6c9b 100644 --- a/src/org/unitConverter/converterGUI/UnitConverterGUI.java +++ b/src/org/unitConverter/converterGUI/UnitConverterGUI.java @@ -44,6 +44,7 @@ import javax.swing.JTextField; import org.unitConverter.math.ObjectProduct; import org.unitConverter.unit.BaseDimension; +import org.unitConverter.unit.BritishImperial; import org.unitConverter.unit.LinearUnit; import org.unitConverter.unit.SI; import org.unitConverter.unit.Unit; @@ -78,7 +79,7 @@ final class UnitConverterGUI { database.addUnit("unit", SI.ONE); // nonlinear units - must be loaded manually database.addUnit("tempCelsius", SI.CELSIUS); - // database.addUnit("tempFahrenheit", NonlinearUnits.FAHRENHEIT); + database.addUnit("tempFahrenheit", BritishImperial.FAHRENHEIT); // load initial dimensions database.addDimension("LENGTH", SI.Dimensions.LENGTH); |