Let's say I got over-ambitious and decided to rewrite the text package in swing. So I have my own javax.swing.text package (I know that is not koshur). Is there any way to ensure that when my application is run (executable jar file), it uses my text package instead of the regular text package in rt.jar? Will it use mine by default if it is in my jar file? If I change the class path to always include my jar file before the rt.jar file, will that work?
So I have my own javax.swing.text package (I know that is not koshur).
You're right, it's not. Why on earth would you want to do that? It's one thing to rewrite an entire package, but why would you keep the same package name? If you use your own package name, then you can rest assure you are using your classes.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com