Help:how to drag Word document into a JTextArea

Anyone knows how to achieve this?

The easiest way would be to use Word to save the document in rich text format and then read the document into a JEditorPane.

Similar Messages

  • How do I convert a word document into a pdf and then upload it to a web site

    How do I convert a word document into a pdf and then upload it to a web site so people can read it from my
    site with Dreamweaver 4?. How can I do this? Can anyone please help? I'm only a newbie. Thanking you in anticipation.

    First you need to install a means of printing to pdf from word.  I like cutepdf writer ( http://cutepdf.com/Products/CutePDF/writer.asp ).  Once installed you will print the doc in word and under the printer selection you choose pdf.
    Once you have the file you put it in your local site folders and upload it using Dreamweaver.  Be sure to link to it from a page so users can get to it and I would recommend giving the link a target of _black so it will open in a new window (see the properties inspector in DW).

  • How do I copy, paste Word document into Adobe Reader PDF?

    A client is not using Microsoft Word, but typing text for my edits into Adobe PDF. Too many edits, too cumbersome for me. After converting PDF to Word, I edit using various ink colors. How can I copy, cut, paste edited WORD document into her PDF? Other than by using "paper clip" or "attachment" features?

    Thanks, graffiti...So, can't copy, paste Word document into PDF?
    What is the "full version" of Adobe vs my Adobe Reader? Adobe Acrobat?
    I do have a cloud, but doesn't help with my editing problem.

  • How to Append two  word documents into single  using   java

    How to Append two word documents into single using java
    we tried this but it's not append the one word document to other
    source code:public class AppendTwoWordFiles {
         public static void main(String []arg)throws IOException
              FileInputStream fi=null;
              FileOutputStream fo=null;
              try {
                   System.out.println("Enter the source file name u want to append");
                   BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
                   File f1=new File(br.readLine().toString());
                   System.out.println("Enter the Destination file name ");
                   File f2=new File(br.readLine().toString());
                   fi = new FileInputStream(f1);
                   fo = new FileOutputStream(f2,true);
                   byte b[]=new byte[2];
                   while((fi.read(b))!=-1);
              fo.write(b);
    System.out.println("Successfully append the file");
              } catch (FileNotFoundException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              finally{
              fi.close();
              fo.close();
    plz reply me quickly ,,,what can i follow

    Use this code ..
    and give the path of the both file like this.....
    source file ---- C:/workspace/Practice/src/com/moksha/ws/test/practice.text
    destination file ---- C:/workspace/City/src/com/moksha/ws/test/practice1.text
    import java.io.*;
    public class AppendTwoWordFiles {
         public static void main(String[] arg) throws IOException {
              FileInputStream fi = null;
              FileOutputStream fo = null;
              try {
                   System.out.println("Enter the source file name u want to append");
                   BufferedReader br = new BufferedReader(new InputStreamReader(
                             System.in));
                   File f1 = new File(br.readLine().toString());
                   System.out.println("Enter the Destination file name ");
                   File f2 = new File(br.readLine().toString());
                   fi = new FileInputStream(f1);
                   fo = new FileOutputStream(f2, true);
                   byte b[] = new byte[2];
                   int len = 0;
                   while ((len = fi.read(b)) > 0) {
                        fo.write(b, 0, len);
                   System.out.println("Successfully append the file");
              } catch (FileNotFoundException e) {
                   e.printStackTrace();
              } catch (IOException e) {
                   e.printStackTrace();
              } finally {
                   fi.close();
                   fo.close();
    }

  • How to automate the generation of several Word documents into PDF?

    I want to generate in batch processes the conversion from Word documents into PDF. Could you tell me how?
    Thank yoou.

    Thank you for your answers.
    But I would like to launch a batch to generate PDFs and I don't find any explanation in the Adobe documentation telling how to do.
    Do you have any idea?

  • I want to know how to turn a word document into a jpeg so I can put the document on Facebook as a picture. I have made posters and if I do a print screen they are unable to be read, or if i turn it into a PDF there is no save as jpeg??

    I want to know how to turn a word document into a jpeg so I can put the document on Facebook as a picture. I have made posters and if I do a print screen they are unable to be read, or if i turn it into a PDF there is no save as jpeg??

    iOS device backups are stored in your iTunes library.
    Move your iTunes library to an external drive.

  • How to insert one document into another in microsoft word?

    I would like to set up a word document such that the document has embedded in it another document shrunk down a bit to make room for additional comments and information which I will add on the side. I've been looking to see if word 2007 has this feature
    but have had difficulty finding it. Is it possible to take an entire document and insert it as a resizeable object into another?
    Some of my research suggests that I might be able to accomplish something of this nature with publisher, and while several people in my office do not have publisher and we'd prefer if it were doable in word, instructions for publisher would be appreciated
    as well if Word 2007 cannot do this.

    Hi,
    Thank you for using 
    Word IT Pro Discussions
    forum. 
    From your description, I understand that 
    you would like to know to how to add a Word document into another Word document in Word 2007, and you can make some comments besides the embedded Word documents.
    If there is any misunderstanding, please feel free to let me know.
     Thank you for your inquiring.
    To insert a Word document to another Word document in Word 2007, follow the steps below:
    =========
    1.      
    In the Word document, click the
    Insert tab.
    2.      
    Click the
    Object in the Text group.
    3.      
    Click
    object. Then click the Create from file tab.
    4.      
    Click the
    Browse button to select the Word document. Also, check the checkboxes before:
    Link to file and Display as icon.
    5.      
    Click
    OK to save the settings.
    Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything I can do for
    you, please feel free to let me know.
    Best Regards,
    Sally Tang

  • How to copy NCLOB value(Contains Word Document) into file system

    How to copy NCLOB value(Contains Word Document) into file system or display in sqlplus

    The UTL_FILE package will write it only to text file not(NCLOB Value[containts images as well as text])

  • How to convert a word document into the PDF format?

    Please instruct me step by step on how to convert several Word documents into the PDF format?

    If properly installed and updated (depending on the WORD version), you can simply do any of the following:
    1. Open the doc in WORD and select Print, choose the Adobe PDF printer, print.
    2. Open the doc in WORD and go to the Acrobat menu in WORD and select create PDF (this uses PDF Maker).
    3. Open the doc in Acrobat and the conversion should be done based on PDF Maker.

  • How can I convert a Word document into Adobe PDF format?

    How can I convert a Word document into Adobe PDF format?

    You can use Adobe Acrobat or Adobe CreatePDF.

  • How to copy paste a table structure from word document into Text Field [field format Rich Text]

    In our current implementation we have a Blank page with Text Field [field format Rich Text] on generated PDF Document.
    Once the PDF document is generated, user can copy paste content form any word/rtf document to into the Text Field.
    Pasted content retains all text formatting [Bold, Italic, Underline, Indentation] except the Table format. Text Field is removing table metadata from the content and converting it into plant text.
    Is there anyway to copy paste table structure as it is from word document into Text Field?

    Hi,
    I don't think you can! While you can paste formatted text into the rich text field, the table metadata means nothing to the textfield.
    Niall

  • How do i import a large word document into Indesign CS6?

    I am a new user to InDesign, using version CS6, I would like to know if there is an easy way to import a MS word document into InDesign. The document is about 1000 pages and contains text, images and tables.

    Notes on importing from Word to InDesign CS6 and exporting via Kindle Plugin can be found on my blog at:
    http://02cafd3.netsolhost.com/blogs/eBookTec/?p=316
    To make a long story short, the Kindle Plugin has a long-standing problem with tables and/or more than a certain limit of hyperlinks.  Since these problems have persisted for at least 2 years now, I must conclude that there are organizational problems on the Kindle Plugin project.  The possibilities include too many junior programmers, not enough attention to the project, not enough positive incentive to make the plugin work and any number of possible management weaknesses.  It took our JPL team about 3 years to put Spirit and Opportunity on Mars, so there's no way a technical problem could be standing this long in the way of the Kindle Plugin handling tables or any number of embedded hyperlinks - nor, for that matter, a Word source document of any reasonable size whatsoever.  One might also cite a lack of competition in this new business sector but then you'd have to ask, do they want to play in the eBook market or don't they?  Companies like Apple succeed by ignoring the competition and in this way end up setting the standards for decades to come.

  • Convert word document into .JPG image. Possible?

    Hello
    I need to convert a word document into a .JPG image... Anyone who can recommend a mac program that can help, or how word can do it for me?
    Best regards
    Jesper Pedersen

    In Word go to File > Print... > PDF > Save As PDF.Open the resulting file in Preview.
    Choose File > Save As... > Format: JPEG.
    Hope that helps.
    mrtotes

  • Embedding word document into an Entourage email

    In MS Outlook when you hit 'Send as attachment' in a word document it cuts the document into the body of an email. In Entourage it simply attaches it as a separate document that then has to be manually opened.
    I'm in PR and need to make things as straightforward as possible for journalists - any ideas on how to get the body of a word document into an Entourage email??

    !http://i46.tinypic.com/2nvn6f.gif!
    Entourage is not an Apple product. You should go where the Entourage Mac users hang out:
    Entourage Help
    Entourage Forums
    Entourage Help/Support
    !http://i50.tinypic.com/izvwo1.gif!

  • Re-importing word document into existing project

    2. I imported a Word (Windows XP) doc to create my robohelp
    project.
    I am new to RoboHelp, so please bear with me...
    I had imported a word document into a project for HTML Help.
    I had mapped some IDs to create context sensitive help to work with
    our application. When the word doc is updated and I re-import it,
    the topics are duplicated in the TOC. (I normally get updates of
    this document from another department and we need to convert it to
    HMTL help for our application).
    How do I fix this or prevent this from happening? (Other than
    delete the old project, create a new project, and import updated
    word document since I would have to remap all the IDs again.)
    Thank you for your help.

    Sorry, I have to disagree with your estimate, for the main
    reason that all those reviewers will be manipulating the Word
    document with their own formatting quirks, which will only serve to
    corrupt the doc file and make its repeated importation increasingly
    problematic.
    Remember, you're looking to convert a binary file with tons
    of macros into HTML code, essentially a flat text file. I suspect
    that remapping the IDs will end up being the least of your problems
    as you go further into repeated review cycles.
    Good luck,
    Leon

Maybe you are looking for