Sign in to follow this  

[java] repainting

Recommended Posts

i am having trouble accessing my paint method. i have two classes, the first class is the class with my main method and the paint. My second class is the class with all my mouseEvents in it. my problem is that after I have handled my mouse events, i cannot access my paint method to repaint() because the paint method cannot be accessed by a static method. Is there a way around this, or will i have to combine the two classes together?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this