I am (very) new to Java and am trying to convert a large VB 6 program to Java. My program does a lot of calculations and then outputs the information to screen, file or printer. My problem is outputting the data in a certain formate and viewing/printing the info.

The out put looks a little like this:

Name Date
Number City
My Title - New

jan feb mar............Total
data1 x x x xx
data2 x x x xx
data3 x x x xx

In VB I have an OCX that does the trick. I though I found a JAR to do print preview but I don't know how to use the Jar. Iput the JAR in the same path as the JAVA core files and imported the JAR, using the path and file names, but it does not work.

Any suggestions or ideas would be deeply :) appreciated. Thanks Ronnie

14 Years
Discussion Span
Last Post by Ronnie

in ur Compiler, go to project settings, and import the jar file.

Thanks, How do I know the methods/calls in the Jar?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.