stega
13 years agoContributor
SwingObject JViewport cell problem
Hi All,
I'm testing Calypso, and i have a problem with the JViewport objects. Finally i can get the cells values, with getValueAt mathod, but how can i click on the cells?
Here is the part of the code where i'm searching the table and get the first cell value.
var JTable = javaw.Find("AWTComponentName", "FXTradeDetailsTable", 1000);
var FXTradeDetails = JTable.getModel();
var detail1 = FXTradeDetails.getValueAt(0,0);
I tried to use JTable.ClickCell(8, 0); method, but i got "The object with the specified attributes does not exist.".
When i tried FXTradeDetails.ClickCell(8,0); i got "Object doesn't support this property or method".
I'm testing Calypso, and i have a problem with the JViewport objects. Finally i can get the cells values, with getValueAt mathod, but how can i click on the cells?
Here is the part of the code where i'm searching the table and get the first cell value.
var JTable = javaw.Find("AWTComponentName", "FXTradeDetailsTable", 1000);
var FXTradeDetails = JTable.getModel();
var detail1 = FXTradeDetails.getValueAt(0,0);
I tried to use JTable.ClickCell(8, 0); method, but i got "The object with the specified attributes does not exist.".
When i tried FXTradeDetails.ClickCell(8,0); i got "Object doesn't support this property or method".