Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How do i reference declarations made inside main class?

Hi, I'm pretty new to java and was wondering if someone could answer my question...

I'm messing around with BufferedImages and trying to blur an image... I had a method ImportImage where i declared the following...

[code]BufferedImage newImage = null;[/code]

after some research and relating to my problem I've realized it would be more beneficial to declare this in my Main class. The problem is I don't know how to reference it from other methods.

Can someone please let me know?

Thanks

Sign In or Register to comment.