Can you correct any errors I made in this code?
<p>Make the Pixel gotten using getPixel( 2, 3 )
be made black with setColor(java.awt.Color.Black) and then the Picture
be shown with show( ) Hint: You MUST declare and use a Picture reference
variable, with code like Picture p. </p>

<pre><code>public static void main(String[] a)
{
    new Picture(FileChooser.pickAFile( );
}
</code></pre>

<p>Here's my answer, can anyone please tell me if this is correct and if i need to make any changes? any help would be appreciated. Also, this isn't a hw question, im reviewing for an exam. So if you're going to tell me to go do my own hw, don't bother answering. :)</p>

<pre><code>public static void main(String[] a)
{
    Picture p = new Picture;
    new Picture(FileChooser.pickAFile( );
    Pixel pixRef;
    pixRef.getPixel(2,3);
    pixRef.setColor(java.awt.Color.Black);
    p.show();
}
</code></pre>
