Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by thebarslider

  1. thebarslider

    call javascript function from Java Class

    In my web app I want to issue a refresh javascript command on a Window that refuses to refresh. All methods to do this in java have so far failed. Does anyone know the best way to go about this. I have seen people using netscape.javascript.JSObject although this only works with applets. Any...
  2. thebarslider

    Could not create task or type of type: junit

    Please note this is not the usual problem with ant where the junit.jar is missing from the ant/lib directory. I have created a new java task to run ant and am then trying to use the optional junit task, i would have thought that ant would find the jar in ant/lib. Does any one know how to...
  3. thebarslider

    Generating XML from a relational database.

    Hello, i'm thinking of changing the way we generate our XML files from a relational database. At present we use a Perl Script to run SQL queries and then put tags around each element. Is there a more abstract way of doing this. We get many different requests which means that each different...
  4. thebarslider

    Prepared Statements multiple parameters

    Hello, I am writing a Java program to purge some data from a database. I already have a list of the id's that I wish to delete. Is it possible to write a statement like: delete from table where autoid in ... Where the three dots would be an array I passed to the statement rather than having...
  5. thebarslider

    Java Applet MAC setMnemonic problem

    Yes it works fine on windows. Unfortunately it needs to work on Safari on OS 10. Cheers. Mark.
  6. thebarslider

    Java Applet MAC setMnemonic problem

    Hello, I have written an applet to run on OSx using Sarafi. I have added some hot keys to the buttons on the applet by using: setMnemonic Unfortunately, when the user types (Option B) for example a special character is outputted to the text box they are editting before the hot key method is...
  7. thebarslider

    Java SQL LIKE Prepared Statement

    I've solved this now. Cheers. Mark.
  8. thebarslider

    Java SQL LIKE Prepared Statement

    Yes, I have tried this both ways. Mark
  9. thebarslider

    Java SQL LIKE Prepared Statement

    Hi there, Thank you for your help. I'm using an Informix Database, and this doesnt seem to work. Mark.
  10. thebarslider

    Java SQL LIKE Prepared Statement

    Hello, I am attempting to run a wildcard match in a Prepared Statement using a Placeholder, unfortunatley this doesnt seem to work. I think the statement is trying to match the entire string dis. Does anyone have a suggestion of how this should be done, i cannot find any examples on the...
  11. thebarslider

    Java SQL LIKE Prepared Statement

    Hello, I am attempting to run a wildcard match in a Prepared Statement using a Placeholder, unfortunatley this doesnt seem to work. I think the statement is trying to match the entire string dis. Does anyone have a suggestion of how this should be done, i cannot find any examples on the...
  12. thebarslider

    Retrieving Windows Time in Perl

    Hello All, I have a bit of a problem, i need to work out the date/time from a Perl script running on a local Windows box. But i need to retrieve the time from a Windows server to ensure it is accurate, does anyone have any ideas on how to do this? All suggestions are much appreciated. Mark.
  13. thebarslider

    SortedMap

    I have some objects i am retrieving from a database and wish to order these on a particular String contained within the object. I.e. Category. I can do this using a comparator object but this removed the duplicate values that i need. Does anyone have any advice? Maybe i am going about this in...
  14. thebarslider

    Combo Box Popups on Startup

    Dear All, I have what sounds like a simple problem but i'm stuck. All i want to do is open a combo box pop so you can view the drop down menu when the dialog is opened. My code is as follows: this.setVisible(true); this.showPopupCombo(); Where this is the dialog (this section of code is run...
  15. thebarslider

    IP Address Problems XP Home Edition

    Hi Everyone, I have come across possibly the most annoying and baffling problem with XP Home Edition. The problem is basically that Windows Explorer seems to crash/hang when: 1. Opening the All Programs section in the Start Menu 2. Right clicking on an icon 3. Navigating through 'deep'...

Part and Inventory Search

Back
Top