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 bkrike 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: koolraul
  • Content: Threads
  • Order by date
  1. koolraul

    EBCDIC to ASCII in Java

    I have a flat file that was generated by a COBOL program which contains a combination of ASCII characters and pack decimals which I think are in binary format. The pack decimals are of COMP type (in Cobol). Can I use some of the io classes to convert these pack decimals to ASCII? Thanks.
  2. koolraul

    Returning an updatable ResultSet object

    The variables TABLE_NAME and STD_NAME are both declared as 'private static final String'. I created the method getUpdatableRS(Connection conn), which I'm expecting to return an updatable ResultSet object. I created another method, updStudentRowByName(ResultSet rset, String name) and passing...
  3. koolraul

    Compilation error when constructing a JTree

    I'm experiencing compilation error when I was trying to test my tree model. In my FileListTreeModel class, which is implementing the TreeModel interface, I defined the getRoot() as shown below so I can see its behavior. My tree is being constructed in my JtreeDemo class. Can anybody show me...
  4. koolraul

    Capture any keyboard input from console

    I am trying to display lines of File objects e.g., File, Directories on the console one line per object. I want to display only up to a number of lines e.g., 20 lines. After 20 lines, I want to display the message "more". After the user press any key, the display will continue...
  5. koolraul

    Problems with Thread and synchronized view

    I declared my synchronized view as: Set tset = Collections.synchronizedSet(new TreeSet(new RectComparator()));. I created a thread class as: private class AddThread implements Runnable { ... }. Inside the thread constructor, I'm passing a LinkedList and a Set as parameters e.g., public...

Part and Inventory Search

Back
Top