This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Hi all! I am working on some code for a frame grabber using the Java Native Interface. One method needs a boolean argument which tells whether or not to sync on the green channel, but ONLY if the input is RGB (as opposed to s-video or composite). So my question is: in C++, I could define a method with a default argument such as int setConfig(int videoType, boolean syncOnGreen = false); If the second argument is not provided, it defaults to false; Is there an equivalent way of doing this with Java/JNI? Thanks in advance. Stephanie