atom feed1 message in org.netbeans.graph.usersNot working: ComponentWidget and crea...
FromSent OnAttachments
Markus ReitzFeb 25, 2008 1:27 pm 
Subject:Not working: ComponentWidget and createExtendedConnectAction
From:Markus Reitz (marr@yahoo.de)
Date:Feb 25, 2008 1:27:39 pm
List:org.netbeans.graph.users

Hi,

I have substituted the usage of LabelWidgets with ComponentWidgets in my application. The ComponentWidget's (AWT-)Component is a JPanel to which I add a JLabel instance. When using a LabelWidget, I am able to create connections between LabelWidget instances by pressing the CTRL-key and performing the appropriate mouse gesture (I'm using Mac OS X 10.4 and the current version of the library, not the one shipped with NB 6.0.1). However, when using ComponentWidget instances, I'm not able to create connections - nothing happens.

Do I have to perform further initialisation steps when using ComponentWidget instances? I haven't found any hint in the documentation.

Thanks in advance

Markus

Lesen Sie Ihre E-Mails jetzt einfach von unterwegs. www.yahoo.de/go