BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JdbTable MULTIPLE_INTERVAL_SELECTION

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing
View previous topic :: View next topic  
Author Message
Klaus Lohmanns
Guest





PostPosted: Tue Jun 06, 2006 4:17 pm    Post subject: JdbTable MULTIPLE_INTERVAL_SELECTION Reply with quote



Hi,

i just try to transfer my JBuilder4 project to JBuilder2006. I use JdbTable
and set selection Mode to MULTIPLE_INTERVAL_SELECTION. Now JBuilder2006
throws following exception:

(this is the translation from the german JBuilder2006 edition)
java.lang.IllegalArgumentException: <unsupported selection mode -- only
ListSelectionModel.SINGLE_SELECTION will be supported>

Do anyone know, what is the reason for this change or what can be done, to
solve this problem.

Best regards,
Klaus L.
Back to top
Olaf Raether
Guest





PostPosted: Tue Jun 06, 2006 11:35 pm    Post subject: Re: JdbTable MULTIPLE_INTERVAL_SELECTION Reply with quote



Klaus Lohmanns wrote:
Quote:
Hi,

i just try to transfer my JBuilder4 project to JBuilder2006. I use JdbTable
and set selection Mode to MULTIPLE_INTERVAL_SELECTION. Now JBuilder2006
throws following exception:

(this is the translation from the german JBuilder2006 edition)
java.lang.IllegalArgumentException: <unsupported selection mode -- only
ListSelectionModel.SINGLE_SELECTION will be supported

Do anyone know, what is the reason for this change or what can be done, to
solve this problem.

Best regards,
Klaus L.





Did you try this ?:

ListSelectionModel selectionModel = jdbTable.getSelectionModel();
selectionModel.setSelectionMode(selectionModel.MULTIPLE_INTERVAL_SELECTION);


Maybe it helps

Olaf Raether
Back to top
Klaus Lohmanns
Guest





PostPosted: Wed Jun 07, 2006 5:05 pm    Post subject: Re: JdbTable MULTIPLE_INTERVAL_SELECTION Reply with quote



Yes, thank you Olaf, it works, however.

Greetings Klaus


"Olaf Raether" <olaf (AT) epro (DOT) de> schrieb im Newsbeitrag
news:4485caf4 (AT) newsgroups (DOT) borland.com...
Quote:
Klaus Lohmanns wrote:
Hi,

i just try to transfer my JBuilder4 project to JBuilder2006. I use
JdbTable and set selection Mode to MULTIPLE_INTERVAL_SELECTION. Now
JBuilder2006 throws following exception:

(this is the translation from the german JBuilder2006 edition)
java.lang.IllegalArgumentException: <unsupported selection mode -- only
ListSelectionModel.SINGLE_SELECTION will be supported

Do anyone know, what is the reason for this change or what can be done,
to solve this problem.

Best regards,
Klaus L.



Did you try this ?:

ListSelectionModel selectionModel = jdbTable.getSelectionModel();
selectionModel.setSelectionMode(selectionModel.MULTIPLE_INTERVAL_SELECTION);


Maybe it helps

Olaf Raether
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.