This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Been a while since I been here. Trying to get back on the horse, as it were.
I am just getting into developing using LWJGL. I was messing around, trying out different things with the Display and DisplayMode classes and ran into an issue I have never seen before. I don't know if this is the proper forum, I didn't see one specifically for this library so I hope I'm ok posting it here. Any advice is, as always, much appreciated.
The default constructor is public by default, but when you add a constructor explicitly you have the choice of making it private, package private, protected or public. As far as I can tell from the API the only public constructor is the variant that takes two ints, which would make the invocation of the overloaded variant at line 49 illegal.
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
Joined: Feb 19, 2012
I see. Thank you for pointing that out, it's good to know. I am still wrapping my head around api documentation hehe I suppose I need to get more comfortable with that.