Forum: Java 16 Hours Ago |
| Replies: 1 Views: 72 So, waited until the last minute to do your project, huh? The bar's were just too tempting, huh? Well, good luck. We are not going to do this for you. Try rent-a-coder. |
Forum: Java 1 Day Ago |
| Replies: 1 Views: 86 Well, first off, why are you not using the Stack class, rather than a LinkedList?
Also, rather than doing Temp.clear() create a new Stack and assign it to Temp, because at that point Input and... |
Forum: Java 1 Day Ago |
| Replies: 10 Views: 171 Well, that's a different exception, isn't it? What does the one have anything to do with the other?
You need to print more than just the message so that you actually know what is going on. I.E.... |
Forum: Java 2 Days Ago |
| Replies: 3 Views: 115 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 2 Days Ago |
| Replies: 1 Views: 119 We are not here to do your (home)work for you.
We are more than happy to help you with it, but you have to do it. Show us what you are trying and we will help you to correct it, or describe what... |
Forum: Java 3 Days Ago |
| Replies: 5 Views: 176 Well, sorry to say, JOGL is not part of the JDK itself, so Mac is not required to implement/support it. That is not a satisfying answer, but true.
Edit: BTW, All systems you know of, or you... |
Forum: Java 3 Days Ago |
| Replies: 4 Views: 176 See http://java.sun.com/docs/books/tutorial/deployment/applet/appletMethods.html
You are missing the methods that actually count for anything. You want to move most of the stuff in your... |
Forum: Java 3 Days Ago |
| Replies: 5 Views: 169 Then you seemingly missed the "support request" link on the next page, duh!
Stop making things up, either that or actually open your eyes when you look at the web sites. |
Forum: Java 3 Days Ago |
| Replies: 2 Views: 126 If you want to "split up" the initialisation, place the actual processes into private methods and call those methods from the constructors, rather than coding it directly into the constructors.
... |
Forum: Java 3 Days Ago |
| Replies: 5 Views: 176 Does Mac have/use OpenGL? |
Forum: Java 3 Days Ago |
| Replies: 9 Views: 216 |
Forum: Java 3 Days Ago |
| Replies: 26 Views: 522 This is exactly what the API docs tell you. Did you even bother to look? No? You'd rather spend days begging at a forum for someone to do it for you than to take two minutes to RTFM and do it... |
Forum: Java 3 Days Ago |
| Replies: 5 Views: 169 :sigh: Take a look at the left-hand side of the "drjava" page. Do you see the bold heading "Feedback"? What is directly under it? You see that? It is the word "support". OMG, It's a link! ... |
Forum: Java 3 Days Ago |
| Replies: 3 Views: 126 Do not use == to compare Strings. Use Strings "equals" method.
if ("2".equals(theparam)) {
The "2" is done first as this will avoid any possible NullPointerException. |
Forum: Java 3 Days Ago |
| Replies: 9 Views: 216 I've given up. The OP hasn't even asked a question, yet. And, considering the line numbers in one of the above posts, seems to be copying the code from elsewhere on this forum, so I see no point in... |
Forum: Shell Scripting 3 Days Ago |
| Replies: 14 Views: 370 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... |
Forum: Java 4 Days Ago |
| Replies: 3 Views: 126 The code might help.
However, marking your post as "URGENT" is extremely rude. Suggesting that your problem is more important than anyone elses and more important than anything we, ourselves,... |
Forum: Shell Scripting 4 Days Ago |
| Replies: 14 Views: 370 The man page for ls and the awk command.
ls -E f1.sh | awk '{print $6, $7, $8}' |
Forum: Shell Scripting 4 Days Ago |
| Replies: 14 Views: 370 touch -mt 200911141130.00 f1.sh
Take a closer look at the man page. |
Forum: Java 4 Days Ago |
| Replies: 26 Views: 522 Uhm, no. It can, and should be updated to use the "current" procedure, not to mention other javac options (which I already mentioned earlier). |
Forum: Java 4 Days Ago |
| Replies: 26 Views: 522 Then only because the programmer decided to be generous, but since it is not documented this way do not count on it always working this way, and especially not with all options.
Edit: And,... |
Forum: Java 4 Days Ago |
| Replies: 26 Views: 522 Okay. And have you looked at the API docs (http://java.sun.com/javase/6/docs/api/index.html) for Dialog (http://java.sun.com/javase/6/docs/api/java/awt/Dialog.html) to see if that method description... |
Forum: Java 4 Days Ago |
| Replies: 26 Views: 522 You also have the option in the wrong position relative to the filename list. That is rather important. |
Forum: Java 4 Days Ago |
| Replies: 26 Views: 522 You have it wrong, though. See above. |
Forum: Java 4 Days Ago |
| Replies: 26 Views: 522 So, as I said, post what it was you got.
P.S. You hopefully did not actually type
javac -Xlint deprecated file name.java
but rather
javac -Xlint:deprecation filename.java
which is what the... |
Forum: Java 4 Days Ago |
| Replies: 26 Views: 522 And have you used that option to javac, yet? Using an option on a command line is not a Java issue, and if you do not know how to provide options and arguments to a command on the command line then... |
Forum: Java 4 Days Ago |
| Replies: 1 Views: 112 Gladly. Show what you have, and let us know exactly what problems you are having with that. |
Forum: Java 4 Days Ago |
| Replies: 9 Views: 216 ?????
I have no idea what you want. |
Forum: Java 4 Days Ago |
| Replies: 9 Views: 216 Okay? And you are telling us this because .... ? |
Forum: Java 4 Days Ago |
| Replies: 1 Views: 109 No. That 500 sets the initial size of the array that "backs" the arraylist, as well as the size of all subsequent arrays used to back the arraylist once it exceeds that size, but the "indexes" are... |
Forum: Java 4 Days Ago |
| Replies: 5 Views: 157 Java does not have an Eval. You would have to either parse it and perform actions logically, or you would have to create a class "on the fly", either with BCEL (Google that) or by generating and... |
Forum: Java 4 Days Ago |
| Replies: 5 Views: 169 I'm afraid you are going to have find a support link at the site from which you are downloading. |
Forum: Java 4 Days Ago |
| Replies: 1 Views: 124 Find out what it is suppossed to be doing and reprogram it in Java. Trying to achieve a 1-to-1 translation is an exercise in futility, and, even if you do get it to run, it is not likely to be at... |
Forum: Java 4 Days Ago |
| Replies: 1 Views: 130 Every time you execute "java" from the command line you are starting another JVM. |
Forum: Shell Scripting 4 Days Ago |
| Replies: 14 Views: 370 Yes it will. Why don't you try showing us what you tried.
P.S. Did you try typing "man touch" first? |
Forum: Java 7 Days Ago |
| Replies: 6 Views: 248 Scriptlets alone are a bad idea in a JSP. If you insist on doing this "on the spot", then at least make a bean out of it. |
Forum: Java 7 Days Ago |
| Replies: 6 Views: 248 This is not the sort of thing you do from a JSP page itself. This would be something that should (if part of a webservice) be started in a thread (or a few threads) when the application starts and... |
Forum: Java 8 Days Ago |
| Replies: 5 Views: 163 Good for you. A lot of people react negatively to that sort of advice, so, truthfully, way to go. |
Forum: Java 8 Days Ago |
| Replies: 2 Views: 119 Well, you are doing your recursion wrong. Do you really want to recurse before printing the first character (which you're not doing anyway since the recursive method doesn't return anything), and... |
Forum: Java 8 Days Ago |
| Replies: 5 Views: 163 So do it the same way for MySQL, just with different strings for the Driver and url. |