Printing simple text files? (original) (raw)

I'm beginning a (hopefully) simple project which requires the ability to print an internally-generated text file from inside the app. The goal is to make the app 100% platform-independent, which is why I'm writing it in Java...less headaches as far as memory allocation, byte ordering, OS look-and-feel and so forth. Write once, deploy many times, that's the lofty target.

The question I need to put to the community: has the javax.print API changed significantly in either J2SE 5.0 or 6.0? Or can I toss together a simple select-and-print subwindow and expect it to work the same way it did in 1.4.2? And is the javax.print API what I should be using, or is there something more efficient that I'm overlooking in the docs?

I'm following this tutorial on the netbeans website for a simpleEE7App. I followed the instructions precisely but got an exception need help. :/…

anyone here?

It seems that you can override a concrete method and make it abstract. I actually came across some code that did this, so I had to check how it…