tags:

views:

13

answers:

0

hi

i want implement my Java2D application with MVC pattern.i have some classes that have paint() method [my

shapes] and a class that extends Canvas [java.awt.Canvas] class and JFrame class.i add Canvas class to JFrame

and put a button on JFrame.when user click on button must Button's Action class make object from shape and

draw on Canvas.but i have many problem with paint method and nothings happened with MVC.can you help me

for MVC structure for Java2d Application ?

thanks