A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
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.
I agree. Here's the link:
subject: best way to switch from a text based program to a GUI???
Using a Char as an operator in a sum
Java call to C++
How to structure a program
EJB3 and Domain-GUI binding
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015