Thursday, May 17th 2012, 6:09pm UTC+2

You are not logged in.

  • Login
  • Register

OlimilO

Intermediate

Posts: 277

Location: Germany

Occupation: software engineer

1

Thursday, October 22nd 2009, 9:09am

Implements Transferable

Good morning.
there is a problem with

Jabaco Source

1
Implements java#awt#datatransfer#Transferable

Jabaco bravely completes the code for it, but ...

Jabaco Source

1
2
3
4
5
6
Public Function getTransferDataFlavors() As java#awt#datatransfer#DataFlavor()
End Function
Public Function isDataFlavorSupported(arg2 As DataFlavor) As Boolean
End Function
Public Function getTransferData(arg2 As DataFlavor) As Object
End Function


...it seems not to be satisfied with it's work. It wants to do it again and again..

idea: maybe it's the function "getTransferDataFlavors" that must return an array of DataFlavor, -> the parantheses?

I suggest to include in the Framework a Java class, i will name it "ObjectSelection".

We could use this class as a superclass for Clipboard copy/paste of objects



OlimilO

Rate this thread
WoltLab Burning Board