Search Results

Showing results 1 to 17 of 17
Search took 0.00 seconds.
Search: Posts Made By: nmaillet ; Forum: Java and child forums
Forum: Java Oct 13th, 2009
Replies: 3
Views: 273
Posted By nmaillet
The == operator does not compare the characters of the string. It checks to see if they are referring to the same object. Use the mail.substring(N).equals("hotmail.com") method to compare the...
Forum: Java Aug 4th, 2009
Replies: 1
Views: 267
Posted By nmaillet
This is an decoding problem. By passing a byte array into a String constructor, it does not consider the exact value, it uses the default character set of the system (probably UTF-8). Converting it...
Forum: Java Jul 31st, 2009
Replies: 6
Views: 357
Posted By nmaillet
Try looking around this site: https://labs.ericsson.com/apis/mobile-java-communication-framework/forums/general-development-information/sony-ericsson-sdk-224-javatm-me-platform
Forum: Java Jul 30th, 2009
Replies: 3
Views: 386
Posted By nmaillet
I doubt this is possible without the use of JNI, simply because I don't believe that Java has a method to encapsulate other application's windows as a Java Window object (could be wrong though).
Forum: Java Jul 29th, 2009
Replies: 8
Views: 509
Posted By nmaillet
Try looking at http://java.sun.com/docs/books/tutorial/. I can't really tell you if they are really good tutorials (as I learned in high school/university), but it should give you an idea of Java...
Forum: Java Jul 28th, 2009
Replies: 8
Views: 509
Posted By nmaillet
First, the switch statement must be contained within a method. Also, there should not be a semicolon after switch (s).
Forum: Java Jul 25th, 2009
Replies: 2
Views: 568
Posted By nmaillet
The problem is that it cannot find the class com.sun.gluegen.runtime.DynamicLookupHelper when initializing a GLCanvas. Did you include the gluegen-rt.jar library in your classpath?
Forum: Java Jul 16th, 2009
Replies: 2
Views: 226
Posted By nmaillet
Could you please post some code? I just test the method, and it seems to work fine for me. You could try repainting the tabbed pane, although it shouldn't make a difference.
Forum: Java Jun 30th, 2009
Replies: 1
Views: 261
Posted By nmaillet
In order to use a native library, you would need to use the Java Native Interface found at http://java.sun.com/javase/6/docs/technotes/guides/jni/index.html. You can then interact with the DLL using...
Forum: Java Jun 27th, 2009
Replies: 1
Views: 522
Posted By nmaillet
It's most likely trying to load a JAR file, in the bin folder relative to the location of the EXE. So if you have the examengine.jar file, you should put it in a bin folder, which should be in the...
Forum: Java May 1st, 2009
Replies: 10
Views: 577
Posted By nmaillet
What is the problem with the code?
Forum: Java Apr 25th, 2009
Replies: 6
Views: 725
Posted By nmaillet
Since Finder is no longer a subclass of thread, you cannot store a Thread reference to it. Use Thread thread0 = new Thread(new Finder(target, 0, 249));
Forum: Java Apr 19th, 2009
Replies: 1
Views: 237
Posted By nmaillet
The Image class has a getScaledInstance method.
Forum: Java Apr 18th, 2009
Replies: 6
Views: 389
Posted By nmaillet
I should also mention, that if you did want to use a try-catch block (i.e. handle the exception in the constructor) then leave the field declaration as [icode]Scanner scan;[/code] and initialize the...
Forum: Java Apr 18th, 2009
Replies: 6
Views: 389
Posted By nmaillet
You need to declare the FileNotFoundException in the signature of any constructors, because any variables that are initialized in the field declaration, is like it being initialized in the...
Forum: Java Feb 10th, 2009
Replies: 6
Views: 414
Posted By nmaillet
Okay, I found this page (http://www.dashken.net/index.php?/archives/244-Install-INF-Drivers-From-Command-Line-or-Script.html) that shows the DLL to run to install drivers. So the java command would...
Forum: Java Feb 10th, 2009
Replies: 6
Views: 414
Posted By nmaillet
It's possible to use:
Runtime.getRuntime().exex("rundll32 [dll],[entry point] [parameters]")
You can probably find which DLL to use if you search google some.
Showing results 1 to 17 of 17

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC