🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10151

Re: Drag and Drop with Images

#10151
From: Tad Frysinger
Date: Thu, 11 Nov 1999 00:00
45 lines
1773 bytes
Currently, non-Java to Java can be text only.

Tad Frysinger(TeamB)

Andreas Wollny wrote:

> Hello,
>
> can anybody tell me, if there is a possibility to transport an image
> (eg. from Word) to a Java
> JTextPane?
> Text is no problem, but when I insert a graphic into this JTextPane I
> receive something like this:
>
> {\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe1031\deftab708{\fonttbl
>
> {\f0\fswiss\fprq2\fcharset0 Arial;}}
> \uc1\pard\li120\ri240\sb60\sa120\nowidctlpar\hyphpar0\qc\lang1031\b\f0\fs18{\object\objemb{\*\objclass
>
> Paint.Picture}\objw2129\objh2580{\*\objdata
> 01050000
> 02000000
> 07000000
> 50427275736800
> 00000000
> 00000000
> 00650000
> 424df86400000000000036040000280000008e000000ac00000001000800000000000000000012
>
> 0b0000120b00000000000000000000000000000000800000800000008080008000000080008000
>
> 80800000c0c0c0007f7f7f00f0caa60004040400080808000c0c0c0011111100161616001c1c1c
>
> 002222220029292900555555004d4d4d004242420039393900807cff005050ff009300d600ffec
>
> :
> :
> :
>
> Is this RTF?
> How can I convert this into an Image???
>
> Thanks for any helpful suggestions.
>
>   Andy
Technical Details
Message-ID: <382ACDD4.5C7EBD6@earthlink.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <382975CB.CC22C890@metafinanz.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,f944cf7da57a8084
X-Google-Attributes: gid111d45,public
From: Tad Frysinger <tfrysinger@earthlink.net>
Subject: Re: Drag and Drop with Images
Date: 1999/11/11
Message-ID: <382ACDD4.5C7EBD6@earthlink.net>
X-Deja-AN: 547328754
Content-Transfer-Encoding: 7bit
References: <382975CB.CC22C890@metafinanz.de>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: tfrysinger@earthlink.net
Newsgroups: borland.public.jbuilder.java.swing