Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » setBackgroundColor for tooltips
setBackgroundColor for tooltips [message #910724] Mon, 10 September 2012 05:31 Go to next message
Domenic Lee is currently offline Domenic Lee
Messages: 11
Registered: July 2012
Junior Member
Hi,

setBackgroundColor does not work,please advise....

public ExampleNatTableToolTip(NatTable natTable) {
super(natTable, ToolTip.NO_RECREATE, false);
this.setBackgroundColor(GUIHelper.COLOR_WHITE);
this.natTable = natTable;
}

Thanks,
Domenic


www.senkakus.com
Re: setBackgroundColor for tooltips [message #910745 is a reply to message #910724] Mon, 10 September 2012 06:23 Go to previous message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1066
Registered: July 2012
Senior Member
Hi,

your are talking about the Tooltips example in NatTable examples right? Then you should look at attachToolTip() where background color is set after creation of the instance. If you remove this, your constructor code shouldn't be overriden anymore.

Greez,
Dirk
Previous Topic:How to make NatTable cells editable ?
Next Topic:Drag in NatTable
Goto Forum:
  


Current Time: Sun Apr 20 04:30:15 EDT 2014

Powered by FUDForum. Page generated in 0.02093 seconds