A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
best way to switch from a text based program to a GUI???
Joined: Jul 09, 2008
Aug 13, 2008 08:29:00
I currently have a text based program with arrays, and i have designed a GUI seperately with no information in it, or any classes linking.
What would the best way of making the switch from a text based program to a GUI?
Can it be done, or would i have to recreate my program from my GUI program that i have created?
Thanks very much in advance.
Joined: Oct 13, 2005
Aug 13, 2008 08:49:00
You use all the controls in your GUI to invoke methods in the original classes.
Separate model which is the original classes, view which is the displayed GUI, and control which includes listeners on the Buttons.
It is sorta covered in the
JavaRanch Style Guide
subject: best way to switch from a text based program to a GUI???
EJB3 and Domain-GUI binding
How to structure a program
Java call to C++
Using a Char as an operator in a sum
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014