cauline
8 years agoContributor
Get the tooltip property of a cell in a Java SWT Swing Grid Control
Can anyone tell me how to get a tool tip property of a Java SWT Swing Grid control? I can get the text value from the cell, but the Object Spy does not identify the tool tip property of a cell.
var row = 0; var EmailAddCol = 0; grid = Aliases.javaw.Shell.Composite.Composite.Composite.Composite.Composite.Composite.ContributedPartRenderer_2.Composite.JOEMainPanel.Composite.Composite.Composite.UExpandBar.UExpandItem.Composite.UTabFolder.AccountsPanel.CTabFolder.AccountSearchPanel.Composite.Composite2.AccountSearchDefaultTableComposite_1.Table; // The following gets the text value in the cell. I need to get the tool tip value. var emailAddress = grid.getItem(row).getText_2(EmailAddCol).OleValue;