Search results

  1. S

    Adding Multiples Values from a Map

    Look at the MultiMap from the Apache Commons Collections or Google Collections libraries. If you don't want to use a library, then use something like Map<String, List<T>>.
  2. S

    5th Annual Tax Thread - 2007

    Question about HSA contributions... I need to lower my AGI another 1000 to qualify for the Retirement Saver's Credit. I already maxed out my IRA and the only thing I can think of doing is contributing after tax money to my HSA account. Couple things though... I actually have two HSA...
  3. S

    calling all Access or SQL gurus

    Thanks for your reply. Got it to work for the current open DB, but is their any way to get it to loop through a directory and export the one table of all the Access files?
  4. S

    calling all Access or SQL gurus

    I've been given the task of retrieving data from a lot of MS Access files and inserting them into a Mysql database. It was suggested that I export each table to a text file and insert that into the mysql database. That works fine, but after doing it 50 times, I need to find a way to automate...
  5. S

    javascript link filter hell

    Hey guys, I have an interesting dilemma. I have a webpage with a huge amount of links in an unordered list that I would like to sort based on input from different checkboxes. For example, if I click the first checkbox, there is a list of corresponding values that should match some of the...
  6. S

    Java help - .jar unable to find MySQL driver

    I had the same issue before and the way I solved it was to add the following to the MANIFEST file: Class-Path: mysql-connector-java-3.0.15-ga-bin.jar Worked for me, although the jar file for your application has to be in the same directory as the driver.
  7. S

    Java Gurus

    thanks znaps, I know you have helped me before and I appreciate it.
  8. S

    Java Gurus

    Hello, Below is a demo app I made to demostrate a problem I have with drag/drop with custom data types. I've got it working before by converting everything to strings, dragging that, then converting it back to a class, but that is messy and error prone. It's not dropping anything, even...
  9. S

    Java Swing Gurus?

    edit: Got all the issues worked out. Just simple mistakes. Now, I just need to get the drag and drop working, along with handling dynamic data. Thanks
  10. S

    Java Swing Gurus?

    Edit: Found the labels... coordinates were off since I'm only using my cell editor in one column, not two. I just subtracted the column width from the coordinates the mouse listener gave me.
  11. S

    Java Swing Gurus?

    Like this?
  12. S

    Java Swing Gurus?

    Thank you for taking the time to do that. Works, but now to find a method of detecting which name is underneath the mouse when a cell is clicked on. What exactly has to be done in the TableModel to return such info?
  13. S

    Java Swing Gurus?

  14. S

    Java Swing Gurus?

    getCellRenderer() method signature returns this, not the panel? I can only get the labels to show up if I return a panel I've created and added labels to it. If I return "this", and add Labels using add(label), I see nothing....
  15. S

    Java Swing Gurus?

    That certainly clears several things up. Just a couple more questions. Should I explicitly create a new Jpanel to add/delete the labels from the list? And what class should I create it in? public JPanel thepanel = new JPanel(new FlowLayout()); public LinkedList labelList = new...
  16. S

    Java Swing Gurus?

    I'm unclear on how to find which component is at (x,y). I already set up a mouse listener to tell me where in the table the user clicks. Thanks again.
  17. S

    Java Swing Gurus?

    Thanks for the help znaps... I understand what I need to do to write the custom table model, however, I'm a bit lost about how to find a method of detecting which name is underneath the mouse when a cell is clicked on. I've only read about getting the actual cell the mouse click on, not the...
  18. S

    Java Swing Gurus?

    I'm working on a scheduling program (using Java/Swing) that simply has several tables that I drag and drop information pulled from a database. In one table I have it set up so that the user can drag multiple data (people?s names) into a single cell (just concatenate the new name with the...
  19. S

    problem with new SATA hard drive

    Well, I did another fresh install, but this time without the IDE drive connected, and it works.... The bootable device is listed as HD0. Maybe there is a issue with IDE/SATA drives with this board, but thanks for the help.
  20. S

    problem with new SATA hard drive

    correct... I've since disabled RAID
  21. S

    problem with new SATA hard drive

    It just hangs at "Verifying DMI Pool Data", since there isn't a proper boot device selected. I fooled around with the RAID settings, it detected the drive, but I haven't figured a way to make it bootable. Somebody must have this board, are there any options under the boot selection for SATA...
  22. S

    problem with new SATA hard drive

    Just got my Seagate SATA hard drive today from newegg. Goal was to add it to my main system, replacing the IDE WD I have in there now. I connected the drive(to SATA0), booted up, didn't see anything in the bios about the new drive. Loaded XP and looked in device manager and saw the new hard...
  23. S

    C/Unix question

    ttt
  24. S

    C/Unix question

    I got the first one working, but I'm undecided on how to go about writing the second program. I'm thinking if I could write the contents of the makefile to a temp file, but in reverse order(bottom is top), I could execute the rules for the dependencies first, then run the command for the main...
  25. S

    C/Unix question

    Thanks for the help. Yes, this is apart of the assignment below: 1. Write a c program that searches the current working directory to find out the file dependency among c(c++) source code files (including *.h, *.c or *.cpp). It will also generate a makefile that can be used to create the...
  26. S

    C/Unix question

    Alright, got it to open the cwd, but is there a better way to check for c, cpp, h files than using a string compare with the filename. I'm not sorting all the non source code files out. Can I extract the file extension of each file and use that for comparison? thanks for the input.
  27. S

    C/Unix question

    I want to write a c program that searches the current working directory to find out the file dependency among c(c++) source code files. I'm pretty new to the unix environment, and learned c++ first, so any help would be appreciated.
  28. S

    Help with Wega

    Guess I will be taking it back today
  29. S

    Help with Wega

    does your standby light blink until the picture turns on?
  30. S

    Help with Wega

    brand new, I've also noticed that it makes the same noise when I plug it in, without waiting for me to press the power button. Is that normal?
  31. S

    Help with Wega

    nope, nothing appears on the screen after that or any button. Just hear the "click".
  32. S

    UPS Question?

    I was expecting a package today too, but now looking at the tracking detail it says: HOLD FOR FUTURE DELIVERY;UPS INTERNAL ACTIVITY CODE guess I'll get it tomarrow?
  33. S

    Help with Wega

    Just got back from buying the 27" sony wega televison from Sears. Got everything connected, yet nothing when I turn it on. Just the standby/timer light flashes. I can hear it "click" when I turn it on, but nothing after that. Any suggestions, or should I just take it back?
  34. S

    c++ help...

    ran into a little problem with a program I'm doing... say I have: string userdate, bookisbn, booktitle; int bookquantity; float bookprice, total, tax, final; cout << "Date: "; cin >> userdate; cout << "Quantity of Book: "; cin >> bookquantity; cout << "ISBN: "; cin >> bookisbn; cout << "Title...
  35. S

    TI-89 at Target Clearance for $105.

    my local target(salisbury, md) had them on clearance for 127 a few days ago. Checking today though. EDIT: bought it today for 105 - employee discount (total < 100). I guess its a nation wide clearance since their discontinuing it from all their stores. They were out of the link cables...
  36. S

    can i hook up a hometheater kit to a santacruz?

    I'm looking to buy one of those home theater in a box kits (Onkyo ht-650), and was wondering if I could hook it up to my pc, since it does not have a dvd player for the time being. I know i could hook up the speakers, but could I just connect the reciever to the versa jack with the speakers...
  37. S

    Santa Cruz Soundcard $49.99

    The nearest compusa store near me is 100+ miles away. Do you think my local circuit city will price match even though their low price policy is for "local retail stores"?
  38. S

    Calculator for computer science major?

    Looking for a calculator that will replace my TI-82. It will be used in calculus I, II, discrete math, linear algebra, etc.. Should i just go ahead and get the TI-83 (plus?) or step up to the TI-89? (is the 89 even allowed for exams?) Thanks
  39. S

    !~ ATOT OFFICIAL GTA3 PC Q/A THREAD ~! (UPDATED 6/20)

    just answer me this.. could the problem be my onboard sound since its not directx 8.1 compatiable? its a gigabyte KT266A mb by the way. i've already tried disabling it in the bios but didn't make any difference.
  40. S

    !~ ATOT OFFICIAL GTA3 PC Q/A THREAD ~! (UPDATED 6/20)

    i wouldn't be asking for help if i had pirated it. I would have deleted the piece of crap, but instead I have 2 worthless cds instead of my 50 dollar bill.