Search Results

Showing results 1 to 40 of 463
Search took 0.04 seconds.
Search: Posts Made By: masijade
Forum: Java 4 Days Ago
Replies: 12
Solved: SQLIte and Java
Views: 496
Posted By masijade
Unfortunately for you, SQLite is one of the least compliant DBs.
Forum: Java 4 Days Ago
Replies: 12
Solved: SQLIte and Java
Views: 496
Posted By masijade
That depends. If you use SQL that is specifc to that DB, then no, 100% compatable it is not. And since not all DBs implement the entire range of SQL98 you can't even be sure of being compatable...
Forum: Java 4 Days Ago
Replies: 4
Views: 170
Posted By masijade
No. It wouldn't. Normally you don't make JFileChooser part of another dialog, as it is a completely self-enclosed Dialog itself, you need simply use it. See...
Forum: Java 4 Days Ago
Replies: 4
Views: 170
Posted By masijade
Um, I'm sorry, but what is wrong with JFileChooser (http://java.sun.com/javase/6/docs/api/javax/swing/JFileChooser.html)?

In any case, if you insist on recreating the wheel, here...
Forum: Java 4 Days Ago
Replies: 7
Views: 299
Posted By masijade
:sigh:
Forum: Java 5 Days Ago
Replies: 12
Solved: SQLIte and Java
Views: 496
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 5 Days Ago
Replies: 7
Views: 299
Posted By masijade
Yes. Write a Comparator. (see the API docs for Comparator and the Collections Tutorials)
Forum: Java 6 Days Ago
Replies: 3
Views: 199
Posted By masijade
It has found the node, but the word itself, i.e. Apple is a child node of the "word" node, a TextNode type.
Forum: Java 7 Days Ago
Replies: 12
Solved: SQLIte and Java
Views: 496
Posted By masijade
Well, then, Google for SQLite JDBC Driver. There is one out there. It is not a Type 4.0 Driver (AFAIK), however.
Forum: Java 10 Days Ago
Replies: 15
Views: 657
Posted By masijade
We will be more than happy to help you. Post your code with a complete listing of all compiler message and/or exception messages and complete, but brief description of what, exactly you are haviong...
Forum: Java 10 Days Ago
Replies: 15
Views: 657
Posted By masijade
Then you'd better get cracking. We are not a homework (cheating) service.

Maybe next time you'll do your homework rather than go partying.
Forum: Java 11 Days Ago
Replies: 11
Views: 405
Posted By masijade
after j.add add j.validate() and j.repaint(), and then try again.
Forum: Java 11 Days Ago
Replies: 4
Views: 248
Posted By masijade
You don't have to.

Simply do readLine until it returns null as shown in the second example in the Tutorial (http://java.sun.com/docs/books/tutorial/essential/io/charstreams.html).
Forum: Java 12 Days Ago
Replies: 4
Views: 248
Posted By masijade
Rather than Scanner use a BufferedReader, its readLine method, and String's split method.
Forum: Java 13 Days Ago
Replies: 1
Views: 233
Posted By masijade
One thing that might cause "strange effects" is the way that public static final (or protected/default static final for sub/package classes) are handled. Those values compiled directly into the...
Forum: Java 14 Days Ago
Replies: 16
Views: 692
Posted By masijade
No. It's a simple discussion of personal opinions/views of the pros and cons of varying approachs.

If your question is solved, go ahead and mark it as solved, that won't stop people from being...
Forum: Java 18 Days Ago
Replies: 8
Views: 406
Posted By masijade
Nope all four are there, but the first one is an empty string.

And that exception comes from the second array where, I can only assume, you are trying to set the elements of a String array with...
Forum: Java 18 Days Ago
Replies: 8
Views: 406
Posted By masijade
Well, now, that's what I said, isn't it? Is there something wrong with allowing the OP have a feeling of accomplishment by solving it himself? Do you feel the OP is too dense to figure it out alone...
Forum: Java 18 Days Ago
Replies: 8
Views: 406
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 19 Days Ago
Replies: 6
Views: 346
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 19 Days Ago
Replies: 16
Views: 692
Posted By masijade
Then I'm impressed, they've gotten better.
Forum: Java 19 Days Ago
Replies: 16
Views: 692
Posted By masijade
And of course you use JSP/Servlet, That, of course, does not invalidate the argument. And you completely missed the point about methods. And building a GUI by hand, when done properly, as I said,...
Forum: Java 19 Days Ago
Replies: 16
Views: 692
Posted By masijade
Good for you, to each his own.

Maybe, but I still find it best to learn it manually first so you know what it is the code those GUI Builders make does.

No, manually you can make methods that...
Forum: Java 21 Days Ago
Replies: 7
Views: 433
Posted By masijade
http://www.javaworld.com/javaworld/jw-08-2003/jw-0801-toolbox.html
http://www.javaworld.com/javaworld/jw-11-1998/jw-11-techniques.html
Forum: Java 21 Days Ago
Replies: 5
Views: 404
Posted By masijade
http://java.sun.com/docs/books/tutorial/ui/features/components.html
which is part of
http://java.sun.com/docs/books/tutorial/ui/index.html
and don't forget...
Forum: Java 21 Days Ago
Replies: 7
Views: 433
Posted By masijade
Well, unless you have a specific reason to extend JFrame, don't extend that either. Google "composition".
Forum: Java 21 Days Ago
Replies: 7
Views: 433
Posted By masijade
Implement Runnable unless you have some specific reason for extending Thread.
Forum: Java 21 Days Ago
Replies: 16
Views: 692
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: Java 26 Days Ago
Replies: 20
Views: 581
Posted By masijade
Then that is the compilation error. On which line does that occur.

But I can tell you, that most of the class defination of "Listed" needs to be contained within a Method and not directly under...
Forum: Java 26 Days Ago
Replies: 20
Views: 581
Posted By masijade
Compile the project?

Read the manual to find out how, if you must.
Forum: Java 26 Days Ago
Replies: 20
Views: 581
Posted By masijade
There is more than that. That occurs when you try to execute a project within Eclipse that hasn't been successfuly compiled yet. It would definately help to have the compilation messages.
Forum: Java 26 Days Ago
Replies: 20
Views: 581
Posted By masijade
It might help to know what these nebulous "errors" are. complete error message with stack traces (where applicable), please.
Forum: Shell Scripting 27 Days Ago
Replies: 4
Views: 499
Posted By masijade
At least on Solaris "-u" is the option. For any other system you are going to have to man ls and actually read it to find out if any of the options have anything to do with access time and then...
Forum: Shell Scripting 27 Days Ago
Replies: 4
Views: 499
Posted By masijade
man ls
Forum: Java 28 Days Ago
Replies: 4
Solved: Dynamic array?
Views: 453
Posted By masijade
IMHO, not really since they are different sites (as long as you keep them all up-to-date with your progress), but many people consider even that cross-posting (I consider cross-posting to be posting...
Forum: Java 28 Days Ago
Replies: 4
Solved: Dynamic array?
Views: 453
Posted By masijade
ArrayList (and this looks familiar. Did you post this same question on Sun? Yes.)
Forum: Java 28 Days Ago
Replies: 5
Views: 404
Posted By masijade
Huh? An "ArrayList" doesn't do any splitting whatsoever and what you are splitting on is "$$". Are you telling me that you have a String such as
a,b,c$$d,e,f$$g,h,i
And you want to get three...
Forum: Java 28 Days Ago
Replies: 5
Views: 404
Posted By masijade
List<String> list = Arrays.asList(string.split());
Forum: Java 33 Days Ago
Replies: 3
Views: 554
Posted By masijade
Nope. The real problem is that that code needs to be inside a method. You can't simply code loops and other actions as part of the class definition, but rather as method/constructor/block...
Forum: Shell Scripting 34 Days Ago
Replies: 14
Views: 1,175
Posted By masijade
I didn't mention, that was on Solaris. On something else the "t" may not be necessary (and is seemingly not on your system), but that decimal point is (when including seconds).



There is a...
Showing results 1 to 40 of 463

 


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

©2003 - 2009 DaniWeb® LLC