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.