SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Nov 2000
    Location
    Dublin, Ireland
    Posts
    47
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JFCComboBox.SetText and 5.0.3.2

    I have used the SetText(string) method on JFCComboBox successfully in 5.0.3 since I have upgraded to 5.0.3.2 it seems to be silently failing to Set the Text on the ComboBox.

    Anybody with similar problems or using this method successfully in 5.0.3.2

    Thanks!
    Rob

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Location
    Chicago, IL USA
    Posts
    383
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JFCComboBox.SetText and 5.0.3.2

    Rob:

    I usually use the Select() rather than SetText() with JavaJFCComboBoxes. Select is like using the mouse to look at all of the choices, and picking the one that matches.
    I am not positive, but I think that SetText() is like typing a few keystrokes in a combo box to bring up the choice you want. Jave JFC does not handle this well. (My developers tell me it is a Swing bug)
    This would explain the "silent" failure too.

    I also have problems with Combo boxes where SilkTest only sees garbled pointers to each choice, rather than the text of the choices.
    For these, I need to Select() by item number.
    Do a GetContents() on the box in question to see if this is the case.

    -Rob
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.com

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:37 AM.

Copyright BetaSoft Inc.