Is there any easy way to add Graphical User Interface to java aplication? and make it look like applet? so I dont need to rewrite all the code. Thank you
You just hit the MVC pattern on its head. If you have cleary separated your M
(the Model, i.e. the data part) from your V (the View), your C (the Controller)
can easily handle another View part.
Most likely you didn't strictly implement an MVC pattern (Scanners all over the
place, reading from the console, class objects reading their own data etc. etc.)
and you do have to rewrite some code. Don't blame yourself though because
nobody gets that MVC pattern right as just an afterthought. It has to be part of
the design from the start.
kind regards,
Jos