| javax.swing.JPanel example.CelsiusConverter
CelsiusConverter | public class CelsiusConverter extends JPanel (Code) | | |
CelsiusConverter | public CelsiusConverter()(Code) | | |
celsiusOutput | public static String celsiusOutput(double value, int precision)(Code) | | |
convert | public static double convert(double celsius)(Code) | | Convert the given Celsius value to Fahrenheit.
|
enframe | public void enframe(JFrame frame)(Code) | | Stick us in a JFrame .
Reused in tests.
|
fahrenheitOutput | public static String fahrenheitOutput(double value, int precision)(Code) | | |
formatOutput | public static String formatOutput(String format, double value, int precision)(Code) | | |
|
|