2,443 Posted Topics
Re: We are not going to do it for you, so if you want some help, you'd better post what you have so far, describe what the current problem with itis, provide all error messages completely, and ask a specific question. Edit: BTW, https is a protocol that additionally makes use … | |
Re: So add a method to the object that will allow you to compare it with another value. | |
Re: Look at this (from an earlier attempt of yours which is almost right): [code] //ED e = new ED(); //e = (e)vect.elementAt(0); [/code] Is the item stored in the vector of type "e", or of type "ED", because the [i]type[/i] is what you need to cast to, not the [i]variable[/i]. … | |
Re: You should also be able to enter \*foo \*bar on the command line. | |
Re: Use a filter and write the produced html to both the output stream and to JavaMail. | |
Re: Assuming you mean the v23.9 directly after the -p argument [code] sed -e 's;/v23.9/;/abcde/;g' file1.txt > file2.txt [/code] If you mean after the -p and after -l arguments then [code] sed -e 's;/v23.9;/abcde;g' file1.txt > file2.txt [/code] | |
Re: [code] DIR=`(cd ../../MIS/LANDING;pwd)` find ${DIR} -name MIS_Customer_\* [/code] | |
Re: A thread start another thread. The thread that was started has a variable (generally a boolean) that is either protected/public or a setter is provided for it. The class also uses a while loop with that boolean as the test. As soon as the boolean is set to false by … | |
Re: Place the Oracle Driver jar into tomcats common/lib directory. | |
Re: An ArrayList "doesn't care" how long it is. It is dynamic. | |
Re: No, we won't write it for you. That is [i]not[/i] helping you. You don't [i]learn[/i] anything that way. And, if you're not going to learn anything, there is no need to take the class, and you definately should not [i]pass[/i] it, if you don't learn anything. | |
Re: Use Derby/JavaDB in the embedded mode and distribute the empty db with the application. Or use RandomAccessFile and create your own dbm type DB (I've done this myself, just to try it, and as long as you're not going to get too fancy in your search possibilities, or too expansive … | |
Re: This is a forum for *nix style Shell Scripts. VB is in a different forum. I have already asked the forums to move this thread. | |
Re: He'll find plenty of free code for storing blobs, although, free code for a finger print scanner may be a bit harder to come by. Code for a standard scanner should be available though, as well as example code for other USB devices and serial comm port devices, so there … | |
Re: If you can use it, Arrays.sort and return the last element. Otherwise, save the first value and compare it to the others always saving the larger value and then return that. What part of all that are you having problems with? | |
Re: What does printList() do? From that error messages, and the rest you've said about it, I can only assume that it has a return type void, and that it makes calls to System.out.println() itself, to produce the output. Well, you can't do it that way. Have the method simply build … | |
Re: Show what you have, and we will help you correct it. | |
| |
Re: 1) Declare a package. You should never place anything in the "default" package. 2) The classname should be Capitalised. 3) The line you're refereing to makes no sense. First of all I believe you mean [inlinecode]println[/inlinecode] not [inlinecode]printIn[/inlinecode] (the first one is a lowercase L the second one, yours, is … | |
| |
Re: See [url]http://www.daniweb.com/forums/thread101156.html[/url] The asssignment must be due, soon, or something. | |
Re: Once again, you are not reading the articles completely. | |
Re: We need to see what comes directly before the method. That error normally occurrs because you've done something wrong before that, such as not closing a previous method, or forgetting a semicolon on the previous line, etc. | |
Re: What are you talking about? You want code to change code? Are you attempting to build some sort of parser or something? Also, there is nothing "contrary" about the comparison between if/switch and for/while. Those statement groupings do the same things, not "contrary" things, which makes your post even less … | |
Re: JNI is Java Native Interface. Read the tutorial provided by Sun on that. It allows you to use a native library (on unix an *.so file, on Windoof an *.dll, on other OSes I don't know the extension, off-hand) by writing a small "interface" to "translate" the functions in the … | |
Re: A Calendar object set to the proper year and month and the getActualMaximum method. See the API doc for Calendar. Edit: But, if you want (for whatever reason) to figure it out the "old-fashioned way" then convert the following into a short algorithm. Feb has 29 days in every year … | |
Re: Use a JFrame only for the "main" dialog. Use a JDialog (or better yet a JOptionPane) for the "popups". Read the API docs for JDialog and JOptionPane (and JOptionPane and its "finished" methods are the way to go here). | |
Re: Have no idea what you mean. | |
Re: Read in the entire String, then lop-off what you don't need. | |
Re: You haven't included the jarfile containing the Oracle JDBC Driver on the classpath. | |
Re: Your "fix" to allow here cobbled together Statement to work, is, [i]technically[/i] correct (although there is no reason to do a separate + "'" for everyone of the single quotes), however, she should not be using a cobbled together statement in the first place. What happens if one of the … | |
Re: What does it print out between "welcome" and "times"? And post your code again, using code tags, as I can not tell what quote you are using around your expr statement (and it makes a difference). | |
Re: Well, of course it is. What do you think the URLEncoder does? You don't need to (and shouldn't) provide a path in that content header, anyway. Rather you should provide the file[i]name[/i] [b]only[/b]. And you do realise, that the client (i.e. the machine from which the browser is running from) … | |
Re: [code] mysql options <<EOF use dbName; whatever; EOF [/code] | |
Re: A JPanel with JButtons (or JLabels and a MouseListener) and setVisible(true/false). | |
Re: Google for a few mock exams. | |
Re: As I said, check out the man pages for printf. | |
Re: Check out the man pages for printf. | |
Re: What's wrong with the Integer class and its varying parseInt() methods? | |
Re: Parse the String to a Date using SimpleDateFormat, initiate a Calendar with that date, then use the get(int) method of the Calendar. See the API docs for SimpleDateFormat and Calendar/GregorianCalendar. | |
Re: What "java pdf library" did you check and provide the code for the way you checked it, because iText can do this easily. Although I don't really know why you need to know the number of pages in order to simply feed the document to a browser (which is what … | |
Re: Have the clients "register", and have the server keep a list. What's the problem? | |
Re: [code] public class OutlookPanel extends JPanel { public OutLookPanel() { } public OutLookPanel(Layout layout) { super(layout); } public OutLookPanel(boolean isDoubleBuffered) { super(isDoubleBuffered); } public OutLookPanel(Layout layout, boolean isDoubleBuffered) { super(layout, isDoubleBuffered); } } [/code] | |
Re: I would say to read the documentation and/or ask on a webshere forum/mailing list. | |
Re: Post your code, and what Class is not found? And make sure to use code tags when you post your code. | |
Re: compile with [code] javac -classpath . <Classname>.java [/code] |
The End.