I have to write a program which allows you to enter a student name, 3 grades, click either alpha or numeric radio button, hit calculate and display results. All these must be in the same window. The problems I am having are 1) how do you display the results of the ButtonListener in another panel, is this possible? and 2) how can results be displayed as either a letter or number in the same field in another panel? I cannot even send any code because I have no idea how to write it. Any help will be appreciated.
Joined: Feb 22, 2009
I don't how to go about telling how to do the project, but yes, its possible. Have a look see:
That shouldn't be too difficult, but it's something that requires at least a little knowledge of Swing to code it. Read the Swing tutorials posted by "Lost Mind." Maybe you can use NetBeans or something to make the window (unless it's for an assignment). Anyway this is a Swing question so it should be moved to the Swing forum.