Now I got it. It's not creating an instance of Authenticator class, but extending it. As said by Norm, an 'anonymous class' is used here, and the function defined within the anonymous class is...
Type: Posts; User: junxiqqq
Now I got it. It's not creating an instance of Authenticator class, but extending it. As said by Norm, an 'anonymous class' is used here, and the function defined within the anonymous class is...
Thanks, Norm, I'm gonna Google the term 'anonymous class' and find out what that is for. :rolleyes:
Oh, and the resource file can be found at
https://apjp.googlecode.com/svn/trunk/JAVA/src/APJP/Main.java
Hi! I'm a newbie in Java programming, and I'm learning from some open-source projects now. I've just came across a question: what does this block mean? I got surprised by the method defined with...