Hi,
Don't have my computer around right now, but I can email you some sample code using Rococoa + CocoaComponent when I get back home.
Worked ok, had some focus issues (native form widgets vs Swing components). Also not able to do lightweight (Graphics2D) painting on top of the component, which is something I'd like to achieve.
.k
Sent from my iPhone
On 20. nov. 2010, at 12:11, Hendrik Schreiber <email@hidden> wrote:
> On Nov 19, 2010, at 12:17 , Harald Kuhr wrote:
>
>> I typically use Native.loadLibrary (com.sun.jna.Native) to load native frameworks with Rococoa, like this (to load WebKit.framework):
>>
>> public static interface WebKit extends Library {
>> public final static WebKit INSTANCE = (WebKit) Native.loadLibrary("WebKit", WebKit.class);
>> }
>>
>> (make sure you have a reference to the instance, so that the library is loaded)
>
> Hi Harald,
>
> you gave that WebKit example yesterday.. I'm constantly looking into ways to replace the rather unsatisfying JEditorPane that comes with Swing.
>
> Can you comment on how usable WebKit integration into Swing via Rococoa is?
> Do you experience any repaint or threading issues at all?
>
> Thanks,
>
> -hendrik
>
> tagtraum industries incorporated
> 724 Nash Drive
> Raleigh, NC 27608
> USA
> http://www.tagtraum.com/
> http://www.beatunes.com/
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Java-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden