Advertisement
Nickname
eduardo
Registered since:
February 26, 2002
Short bio:
 
Home page:
 
Total posts:
21

Forum posts by Eduardo:

2 pages [ 1 2 Next ]
Posted in Java Answers Forum, Nov 19, 2002, 12:53 PM
Hi, Charles!Thank you very much! I was researching in the wrong direction: looking for something like "setUserAgent", etc. So, you saved me from a long journey to nowhere! :O) I really appreciated that!Eduardo
Posted in Java Answers Forum, Nov 15, 2002, 9:56 AM
Well, I have to include a "User-Agent" line in this code down here. It has to identify this web client and it can be any name I want, but I didn't understand how to do that. Does anybody know????Thank you!public class HttpClient2 { public static void main(String[] args) { try { // Check the arguments if ((args.length != 1) &&...
Posted in Java Answers Forum, Nov 14, 2002, 8:29 AM
Does anybody know how do I set an User-Agent (a name) to my http client?
Posted in Java Answers Forum, Nov 7, 2002, 9:04 AM
To separate the forum or not, it doesn't matter. The focus, maybe, should be some clear rules about money, "cheating", etc.In my case, for example, I have a bachelor degree in business, but I'm currently doing a master of sciences, Information Systems. As I don't have the background in programming and it is essential to my course, I have to...
Posted in Java Answers Forum, Nov 5, 2002, 12:30 PM
No answer so far... So, does anybody have a suggestion about which site I can search for those things (besides Sun, of course). Thank you!
Posted in Java Answers Forum, Nov 1, 2002, 2:06 PM
Hi, there!I need to do an assignment, but I'm really not sure if I understood how to do it. Here comes the questions and my comments in bold:1. I have to modify the HttpClient below, in order to use a newer version of the HTTP protocol. To do this, I have to send a somewhat more complicated GET request to the web server. I have to get the...
Posted in Java Answers Forum, Oct 1, 2002, 10:23 AM
I have a simple program that draw random circles. There is a feature to move those circles drag and drop that I implemented, but unfortunately, it doesn't work properly, as the circle disapear when the feature is activated and reapears when it is dropped, instead of a smooth movement across the screen.If anybody would be interested in checking...
Posted in Java Answers Forum, May 7, 2002, 8:05 AM
I have to create an application that checks the availability of resources in different MS Project files, flags any conflict and corrects the MS Project files according to the new input.Does anyone have an idea on how to access an MS Project file?Thank you!
Posted in Java Answers Forum, Apr 2, 2002, 12:02 PM
Yeah... I've tried this code and it works. I just have to find out how to use it, now.for (Iterator i=mSolutionq.entrySet().iterator(); i.hasNext(); ) { Map.Entry e = (Map.Entry) i.next(); textArea.append(e.getKey() + ": " + e.getValue()+'\n');
Posted in Java Answers Forum, Apr 2, 2002, 10:08 AM
Well... I haven't seen, so far. I've tried just iterator, as well and it didn't work. If so, how can I include it in the "append()"?
Posted in Java Answers Forum, Apr 2, 2002, 9:22 AM
I'm trying to display TreeMap in the textArea, but it gives me the message bellow. Does anybody have a clue about why it is happening? The code looks fine!Thanks!TreeMap mSolutionq = new TreeMap();mSolutionq.put(indexF, solutionq);ListIterator d = mSolutionq.listIterator(); while ( d.hasNext() ) { textArea.append( d.next() );...
Posted in Java Answers Forum, Mar 31, 2002, 10:19 PM
Okay... okay... I got it myself. But for those who get desperate with those little questions, there you go://to point to a directory and read the file namesFile path = new File("C:/DirectoryName/DatabaseName/"); String[] list; list = path.list(); for(int i = 0; i System.out.println(list);
Posted in Java Answers Forum, Mar 29, 2002, 5:29 PM
I have to read all the files in a certain directory, use its name as a reference, open file by file, read the content, store certain key contents. I don't need to search for the files, as they will always be in the same directory. But how to go to this directory and store the name of the files in a list?Thanks!
Posted in Java Answers Forum, Mar 21, 2002, 8:57 AM
Hi, Swaraj!I guess you got my attention!Do you have the URL where I can find more info about that? I've tried to search in the Sun/Java site, but I didn't find it.Thanks!
Posted in Java Answers Forum, Mar 19, 2002, 9:52 PM
Thank you Matt!Actually, I've tried to use radio buttons first, but I don't know why it was not working properly. Instead of freezing the panel to allow me to check one button, it was just passing to the next part of the code right away. As this is a rapid prototype and the important is the functionality, I just hardcoded. But then I got stuck...
2 pages [ 1 2 Next ]
Advertisement