


Try to be creative! You will not be graded on the artistic merits of your chart. Your chart need not look like the sample (which is ugly on purpose, so you can more easily do better). Please see the syllabus for additional information about projects. You must work alone on your project, however you can ask your instructor for help anytime. 7.4 A GUI-Based Conversion Program The BreezySwing package extends Javas built-in facilities for creating GUIs in a manner that is powerful yet easy to use. Also a fully working project may not score 100%. You need to use Java to calculate each value using the correct formula, and use various control structures.Ī non-working project can score quite well (so don’t be afraid to turn one in). It is not acceptable to pre-compute each Celsius value, and just have many “ g.drawString()” statements. Creative extras are extras, and you are not free to modify the project requirements. If you include any creative extras, be sure your program still performs the basic chart as described above. Lorsque vous faites ceci: celsius Double.parseDouble (TFCelsius.getText ()) fahrenheit Double.parseDouble (TFFahrenheit.getText ()) celsius (fahrenheit - offset) FahrenheitTOCelsius fahrenheit celsius CelsiusTOFarenheit + offset Le résultat de votre premier calcul (la nouvelle valeur Celsius) sera utilisé dans le deuxième. You must meet all the requirements from the description above. Also, if you have any other criticism Id love to hear it.

Temperature conversion java gui code#
Im curious as to how you guys would organize this code to improve readability. I used Eclipse WindowBuilder and did not attempt to make the components more modular. You must turn in a stand-alone AWT or swing program, not an Applet or JApplet nor a JavaFx program. I made a simple temperature converter to serve as an introduction to swing.
