You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

OlimilO

Intermediate

  • "OlimilO" is male
  • "OlimilO" started this thread

Posts: 277

Date of registration: Jan 18th 2009

Location: Germany

Occupation: software engineer

  • Send private message

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