Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

best way to switch from a text based program to a GUI???

 
Waria Ahmed
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

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.
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic