Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

get cell renderer with XDE ?
I would like get the cell renderer in a JTable with rational XDE but it
seems be impossible.

My code :

TestObject
bj2=(TestObject)table.invoke("getCellRenderer","(II)Ljavax/swing/table/Table
CellRenderer;",params);
params=new Object[6];
params[0]=table;
params[1]=null;
params[2]=new Boolean(false);
params[3]=new Boolean(false);
params[4]=new Integer(0);
params[5]=new Integer(0);
TestObject
obj3=(TestObject)obj2.invoke("getTableCellRendererComponent","(Ljavax/swing/
JTable;Ljava/lang/Object;ZZII)Ljava/awt/Component;",params);

Exception :
com.rational.test.ft.BadArgumentException: Test Objects passed to the
Software Under Test must be registered references.

Someone can help me???

thx


Report this thread to moderator Post Follow-up to this message
Old Post
damien.guerin2@wanadoo.fr
05-17-05 02:01 PM


Re: get cell renderer with XDE ?
Thx for your help...
I resolve the problem by implementing a method in my JTable class which
calls getTableCellRendererComponent method of the Cell Renderer class.


Report this thread to moderator Post Follow-up to this message
Old Post
damien.guerin2@wanadoo.fr
05-23-05 01:59 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Software Testing archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 10:02 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.