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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: tom62
  • Order by date
  1. tom62

    joining tables with different code pages

    Thanks for the info. Basically it would be better to convert all tables, because the table that causes us problems is part of our purchasing and fact-sheet systems. Our sales, after-sales, calculation, marketing and some external systems all depend on it. For the moment I'll suggest a workaround...
  2. tom62

    joining tables with different code pages

    In my company all tables are configured to use codepage 243 (= EBCDIC German). Cp243 however doesn't support the euro-sign "€". This causes a problem in one particular table, where the users enter freetexts. Cp1141 was developed out of Cp243 to support the euro-sign. Both codepages are nearly...
  3. tom62

    Error while writing to a queue

    OK, I've found the problem. There was a problem with the logfile size.
  4. tom62

    Error while writing to a queue

    One per week my Java program that writes to a queue encounters the following problem: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue; nested exception is com.ibm.mq.MQException: MQJE001...
  5. tom62

    The import java.util.scanner cannot be resolved error

    Sorry, I was a bit too fast it should read the line "import java.util.scanner" is invalid, because Scanner must be written with a capital "S" Valid is: import java.util.Scanner
  6. tom62

    The import java.util.scanner cannot be resolved error

    import java.util.scanner is invalid, because Scanner must be written with a capital "S" import java.util.Scanner is value
  7. tom62

    Java7u3: error: unmappable character for encoding ASCII

    The compiler doesn't understand the special character "~" in your comment. Most likely, you're "telling" javac to expect source files in UTF-8, when they're really in a single-byte encoding like ISO-8859-1 or windows-1252.
  8. tom62

    How to retrieve results from DB in sections

    It depends on the type of database that you are using, for example in MySQL you could create a streaming Resultset to retrieve one record at the time. For more info, see: http://javaquirks.blogspot.com/2007/12/mysql-streaming-result-set.html
  9. tom62

    Basic Java Login Form Help - JPasswordField Error

    If a method is deprecated then this basically means that it scheduled to be removed in a later Java version. It is still available for backwards compatibility, but it is advised to use another method as replacement. The JPasswordField.getText() method is deprecated, because it is considered to...
  10. tom62

    Java is a huge cup of coffee!

    The Swing Application Framework (SAF) has been dormant since 2009 and has been put on hold ever since. Most active fork of the original project is (according to Wikipedia) BSAF (Better Swing Application Framework). Swing itself is still alive (and kicking), but these frame works are not well...
  11. tom62

    Scanner Driver not found

    OK, I found the solution myself. The drivers that Canon provided are for OS-9. To make them work with Snow Leopard, I had to open VueScan with Rosetta.
  12. tom62

    Scanner Driver not found

    I've got a tricky problem that drives me nuts. I've connected a Canon 8000F scanner on my iMac (intel processor, Snow Leopard) and found some drivers for it on the internet. After installing the drivers, the scanner still doesn't show up in the System Profiler, but my scanner software (VueScan)...
  13. tom62

    Java problems

    Just a small correction. show() is a deprecated method, use setVisible(true) instead.
  14. tom62

    Unknown Elements in JAXB 1.6

    Maybe this article could be helpful? http://stackoverflow.com/questions/362516/how-to-ignore-unexpected-element-situation-in-jaxb
  15. tom62

    Please Help on Generic Collection

    @SuppressWarnings("unchecked") ArrayList<EmployeeDetails>[] empArray = new ArrayList[3]; Should do the trick.
  16. tom62

    Condense this?

    Have you tried: vBarcodes.addElement(new String[] {"N",nPage.toString(),text});
  17. tom62

    If Statement

    Just a tip, replace String sQuery by a StringBuilder or StringBuffer.
  18. tom62

    CMD to file

    For writing a single line to a file you could use this: try { //create a buffered reader that connects to the console, we use it so we can read lines BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); //read a line from the console String lineFromInput =...
  19. tom62

    Items disappearing in JComboBox

    I've found it! Is was indeed my nvidia video driver that caused the strange behaviour. The problem disappeared when I added the following VM argument: -Dsun.java2d.d3d=false
  20. tom62

    Items disappearing in JComboBox

    The problem seems to be related to my Nvidia screen driver or XP screen settings, because the problem doesn't occur on my laptop and other PC's.

Part and Inventory Search

Back
Top