Search Results

Showing results 1 to 40 of 165
Search took 0.02 seconds.
Search: Posts Made By: masijade
Forum: Java 6 Days Ago
Replies: 12
Solved: SQLIte and Java
Views: 542
Posted By masijade
Did you search for exactly "SQLite JDBC Driver". If so, the very first link works, but there are many others, and the third link (the one from sqlite.org) has a list of possible drivers. Take your...
Forum: Java 6 Days Ago
Replies: 5
Views: 217
Posted By masijade
Then use .Net
Forum: Java 12 Days Ago
Replies: 11
Views: 430
Posted By masijade
after j.add add j.validate() and j.repaint(), and then try again.
Forum: Java 12 Days Ago
Replies: 1
Solved: Array Help.
Views: 233
Posted By masijade
Because the only print statement you have there refers to one specific element (and actually it doesn't refere to any of them since index is undefined there).

You, of course, need to create...
Forum: Java 13 Days Ago
Replies: 6
Views: 243
Posted By masijade
As he has been told here ( http://www.java-forums.org/new-java/23657-command-line-arguments-help.html ) already.
Forum: Java 19 Days Ago
Replies: 8
Views: 417
Posted By masijade
The first index of an array is 0, which means the last index of an array is one less than its length. So, knowing that, take a look at the condition in your for loop and see if can find and fix the...
Forum: Java 20 Days Ago
Replies: 6
Views: 353
Posted By masijade
Do you want to "set the element to 0" or do you want to remove it. The sample code will actually remove it. If all you want to do is set it to 0, then there is no reason to "record" the index when...
Forum: Java 22 Days Ago
Replies: 7
Views: 446
Posted By masijade
Implement Runnable unless you have some specific reason for extending Thread.
Forum: Java 22 Days Ago
Replies: 16
Views: 702
Posted By masijade
Manual. Gives full control with no "bolierplate", repetitive, rigid code.

But that's not what you're looking for is it? I dislike all "Gui builders", as they all produce rigid, reptitive code...
Forum: Shell Scripting 23 Days Ago
Replies: 12
Views: 1,011
Posted By masijade
How is javascript going to help with this when there is no server and no html, or anything else that has anything at all to do with JavaScript? Or is this really a download after all? Even though...
Forum: JSP 25 Days Ago
Replies: 1
Views: 367
Posted By masijade
Well, of course you're "not getting the exact reason for this" when you ignore all errors. Add a printStackTrace to each of those catch blocks.
Forum: Java 27 Days Ago
Replies: 20
Views: 594
Posted By masijade
It might help to know what these nebulous "errors" are. complete error message with stack traces (where applicable), please.
Forum: Java 27 Days Ago
Replies: 8
Views: 294
Posted By masijade
Because what is automatically "converted" is the result of the operation, not the individual pieces of the operation. Therefore, the operation consists of two Integers 2/3, therefore Integer math is...
Forum: Java 27 Days Ago
Replies: 8
Views: 294
Posted By masijade
Because 2 and 3 are Integers, so pure Integer math is performed.

Use a literal double (i.e. 2.0 instead of 2) or cast at least one of them to a double
double a = (double) 2 / 3;
// or
double b...
Forum: Java 30 Days Ago
Replies: 2
Views: 198
Posted By masijade
Or Andy Khan's jxl (Don't believe this works as of Office 2007, however). As last resort you can use the JDBC-ODBC Bridge.
Forum: Java Nov 17th, 2009
Replies: 9
Views: 340
Posted By masijade
And your question is?
Forum: Java Nov 12th, 2009
Replies: 5
Views: 277
Posted By masijade
Good for you. A lot of people react negatively to that sort of advice, so, truthfully, way to go.
Forum: Java Nov 9th, 2009
Replies: 26
Views: 803
Posted By masijade
Huh? This is purely a compilation issue. What does applet, or not applet, have anything to do with it?
Forum: Shell Scripting Nov 9th, 2009
Replies: 2
Views: 713
Posted By masijade
$file_name, not file_name
ditto for the other variables
use "sed -e" not just "sed"
and change $file.new to ${file}.new just to be safe

Edit: So many problems, so little text. ;-)
Forum: Java Nov 5th, 2009
Replies: 6
Views: 232
Posted By masijade
BufferedReader, readLine, a counter, and String's split.
Forum: Java Nov 2nd, 2009
Replies: 9
Views: 416
Posted By masijade
Because without the static, that Test t = new Test(); is an instance variable, that is instantiated with every call to new. So, you call new Test() in main, which triggers another new Test, which...
Forum: JSP Oct 28th, 2009
Replies: 5
Views: 2,383
Posted By masijade
Not a good beginning.
Forum: JSP Oct 27th, 2009
Replies: 35
Views: 22,261
Posted By masijade
Yes there is. You have obviously never worked on anything that lasted more than a few days, or ever needed to be expanded or improved or fixed. Scriptlets are a maintenance nightmare. At the very...
Forum: JSP Oct 20th, 2009
Replies: 3
Views: 387
Posted By masijade
Just use getDate.
Forum: Java Oct 19th, 2009
Replies: 9
Views: 5,304
Posted By masijade
By starting your own thread in the JavaScript forum, maybe?
Forum: Java Oct 19th, 2009
Replies: 9
Solved: Length.Java
Views: 539
Posted By masijade
Take a close look at my previous post.

The first code block is your code, the second code block is modifications to that code.
Forum: Java Oct 19th, 2009
Replies: 7
Views: 309
Posted By masijade
Aargh multi-post

http://www.daniweb.com/forums/thread231257.html
Forum: Java Oct 17th, 2009
Replies: 1
Views: 338
Posted By masijade
You are calling the ethod without any arguments, but the method is designed to take an int and a double, so give it an int and a double.
Forum: Java Oct 17th, 2009
Replies: 6
Views: 371
Posted By masijade
Write a method that reads the user input (I am assuming your getting input at various stages) and checks whether it is "quit" or not and otherwise returns the input as a String. Then, every place...
Forum: Java Oct 16th, 2009
Replies: 8
Views: 431
Posted By masijade
That information seems to encapsulate a session, so Google around a bit and find out how to maintain a session using HttpURLConnection.
Forum: Java Oct 16th, 2009
Replies: 14
Views: 1,286
Posted By masijade
Change this

to this

public detectUSB() {
initComponents();
}

and change this
Forum: Java Oct 16th, 2009
Replies: 11
Views: 403
Posted By masijade
MS Access is file based (i.e. no remote connections, local file access needed) and Applets do not have access to the local file system. A complete redesign is in order.
Forum: Java Oct 16th, 2009
Replies: 3
Solved: Packages
Views: 231
Posted By masijade
Each package has it's own directory (in the normal state of affairs, there are other ways of doing it, but we won't get into those).

I.E. Hypothetical, your source code is under
/my/source
and...
Forum: Java Oct 15th, 2009
Replies: 2
Views: 274
Posted By masijade
cmd /c <command>

See http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

And read it completely and thoroughly, although I can't imagine why you would really want to do all this.
Forum: Java Oct 7th, 2009
Replies: 4
Views: 326
Posted By masijade
On your profile page is a new "helpfulness percentage rating". These ups and down go toward that (the reputation still exists alongside this though, and these don't seem to affect that).
Forum: Java Oct 6th, 2009
Replies: 4
Views: 326
Posted By masijade
package thisIs.a.valid.packageAnd;
public interface MyInterface {
}
Forum: Java Oct 6th, 2009
Replies: 5
Views: 327
Posted By masijade
Correct, and, as I said in your other thread, it is because the image file (as referenced there) doesn't exist. Read the API docs for the getResource method carefully and completely.
Forum: Java Oct 3rd, 2009
Replies: 4
Views: 360
Posted By masijade
Start your own thread.
Forum: Java Oct 3rd, 2009
Replies: 7
Views: 288
Posted By masijade
Forum: Java Oct 2nd, 2009
Replies: 4
Views: 1,492
Posted By masijade
That is what I said, that super() is added by the compiler, if you don't add a super call yourself. I simply illustrated what the code effectively was. In fact, if your classes looked like this
...
Showing results 1 to 40 of 165

 


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

©2003 - 2009 DaniWeb® LLC