i had to do a complete text editor,so i made two different code. the fisrt code is a text editor that open docx file, create new documents , exit, paste , copy, delete, select all, save and save with name. the second code is another text editor that change colour and font with a bottom , "style". now i'd like to integrate the second code with the first but i don't know how to do , could someone help me. really thanks

code1 - https://www.dropbox.com/s/2mys3olg8dzi18n/texteditor.java
code2 - https://www.dropbox.com/s/4hwqd2ihgztqkdw/FontColore.java

some way, I can't help but think that if you wrote this code, you wouldn't be having this question.

Looking at the two programs the differences in style and coding technique seem to point to two different authors...
Elena (the O.P.) seems to have written the text editor using full NetBeams code generation, but the color/font edtor seems to have been lifted from mazmar.

yes, because i'm elena and mazmar is my course friend. we had to do a project together!! GENIUS!!!!!
anyway we solved the problem so if you have nothing to do you should came completely naught in another post.

We're pretty strong on honesty here, especially when it comes to claiming ownership of code, as in " i made two different code."

DaniWeb rules, which you agreed to when you signed up, include, as the very first entry,

Keep It Legal
Do ensure you own the intellectual property rights to everything that you post

Anyway, glad your problem is solved.