HI guys, as my next application I thought I'd build a simple converter, something that allows me to convert from, say, Km to miles and so on. The framework I will use is vaadin (unfortunately) but it will still be java anyway :-).
So, I just thought I'd see if anybody has some good suggestions really. This is how I think I could go about it.
The UI class will obviously hold the GUI stuff, so no need to talk about it. I will have another class, converter.java which will have a list of options as radio button selection, something like
-From Km to miles
-From miles to Km
-From F to C
Then when you make your selection you get some text fields to input data, a click button to confirm and process your selection and then another text field for displaying the results.
The text fields to input data will probably be always the same 2 for all the options rather than having to create two for each options and they will be displayed/hidden as necessary
How does that sound?