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.
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.