0

I have an application I'm updating from Java 6 to 7 inorder to get it to run.

The code looks like:

    public Canvas(GraphicsConfiguration config) {
        this();
        graphicsConfig = config;
    }

But when compiled I get:

"graphicsConfig is private access" @ line graphicsConfig = config.

How can I do the same thing in Java 7?

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by NormR1
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.