i hope i have placed this in the right place - it's java programming afterall, only it is J2ME, not the typical J2SDK.
i've just installed the wireless tookit 2.2 from sun, and was playing around with the demo applications when i found something which is close to an application i would like to develop, only that i need to add in the details of my calculations. i'm refering to the alert demo (under UIDemo) which displays the type of alert and the corresponding delay to show the alert.
in the demo, the user has to click on the button (on the emulator) corresponding to 'show' in order for the alert (and the corresponding delay) to be displayed. however, the application i was planning to develop i hope that the alert message will be automatically displayed, rather than upon the activation of a button. i was planning to calculate the cost to take a train any between 2 stations, so whenever the user changes either of the ChoiceGroup selection, the fare should be updated and displayed automatically below the second ChoiceGroup.
anyone with any idea how to do this?