I have a problem: I have to put buttons
in some code in my table
. As a rendering component, I return a button
with the following code: (in this example you will find an image on the application specific and debugging code)
class LivingTreeButton (Lt. : [Println ("I therefore print out:"); (lit. "Excl." Lt.expanded =! Lt.expanded client.refresh} Now, when I scroll to one of the buttons
in the table
, Then print the "I am printed" and print the button with the "xx" text. But when I press a button, nothing happens and I do not even see "fire"! Printouts. When I define verb {/ code> in the button
instead of the constructor, it does not work either.
> As a backdrop for further information: I am not blocking tables events
or other Anything I have only got set up listeners in JTable
peer.getColumnModel (). AddColumnModelListener (behaviourWorker) peer.getTableHeader (). AddMouseListener (behaviourWorker)
and only temporarily block my one instance in the Tables
subclasses:
listenTo ( This.selection) =============================================== E If you publish (Block SevenViewAvvents) (PimpedTableSelectionEvent (this))}
you may be facing any one problem or there may be any wrong idea. After 2-hour od debugging I am grateful for any hint.
I did not know that I had to add one to catch events. Actually has not worked yet, but I'm sure it is.
Comments
Post a Comment