Connet DB with java application
Hi I am new to java and need some help connecting a database to my java application in eclipse. I have already created both the application and the database. The application will store and retrieve...
View ArticleConnect Java Application to Microsoft Access Database
Hi I have create a database using Microsoft Access and created a java application in Eclipse. I was wondering if anyone knows how I could connect the java application to the database? Thanks in advance...
View ArticleExecution Order
When a Class is started like below Code: <applet code="a.class" align=right width=610 height=296 name=client> </applet> what are the sub/function orders of execution in the class that take...
View ArticleWhat does this mean
In the following if clause what does boolean _tmp = selectedLightBalls[i] == 0 mean I understand that _tmp is the name of a boolean variable but I do not understand the = selectedLightBalls[i] == 0...
View ArticleWhere do I get Java and how to install it
I need to install Java so I can test some Java applets.
View Article2D Boolean Arrays?
I'm writing some code to display a 4x4 2D boolean array in a console. Both the far left and far right columns can contain true values while the middle values remain false. Printing in the console can...
View Articleprint array in the shape of a figure 8
Hi I have an java project which prints an array using the follwing loop: Code: String tempString2 = ""; for (int i=0; i<19; i++) { tempString2 = tempString2...
View ArticleNeed an explanation of a java function
Hello Java lovers, I have query about java hashcode method what is difference in between hashcode and array.hashcode what is the output of hashcode("a") and array of hashcode("a","b") Actually i don't...
View ArticleJava on Android Decoding a string
I'm calling IIS web methods from a java app on an Android device. The IIS web method returns a JSON string that looks like this: Code: {"d":"{\"login\":true,\"success\":\"\",\"message\":\"\u003cbr...
View ArticleHow do I get the username of the person who is currently using the computer?
I'm developing a Java application that is supposed to be able to figure out who's currently using the computer and log him or her out. The app is supposed to run under an administrator account that the...
View ArticleI created a number guessing game in Java.
Just thought I'd share this quick app I made in Java. You guess a number between 1 and 10. If your guess is correct, you earn a point. If it is incorrect, you lose a point. You can try again as many...
View ArticlePKCS7 Digital Signature
Hello New to Java here coming from .NET Trying to implement PKCS7 signing using Java similar to a previous .NET implementation. Problem is am not able to get the same output. Same keystore converted...
View ArticleJava applet -> Adapter class...
Ok A bit further into the book now, and it's shown how to do mouse and keyboard functions. Then cut them down more to using adapters. As its challenge, it says try putting in the keyboard listeners...
View Articlestream pipeline with I/O channel as source?
Java 8 has a new Stream interface and the docs say, "To perform a computation, stream operations are composed into a stream pipeline. A stream pipeline consists of a source (which might be an array, a...
View ArticleCome lavorare con Java - How to work with Java
Hello everyone my name is Maurizio and my problem is this: more than a real problem I would like to know this! I would like to learn the fundamentals of working with Java. But since not nor understand...
View Articlethis.getClass().getName() and underscore
Hi Easy one for you but I seem to be hitting a brick wall on finding the answer... running the code : Code: String s = this.getClass().getName(); However this is running from a jsp file and I've named...
View Article[RESOLVED] Java, origem, destino and request/response
Hi Working over here (Brasil) for a company. they have a wrapper I think for the data items... Anyways, my question is to do with the Java passing information internally through the server. I am using...
View ArticleJava to modify PDF using a locally signed... thing
Hi The company I'm working for has an applet that does the following: - downloads a pdf that the system generated - adds in a signed section to verify the document - re-uploads the modified pdf back to...
View Article