SPONSORS:






User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Junior Member
    Join Date
    Aug 2001
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JFCTable as Custom Class

    Could someone please help out;

    My JFCTable objects always recognize as Custom Class -- Columns & Rows are also unrecognizable.

    Is there a way I could declare this so that I could access the table objects & their rows & columns.

    Thanks in advance

    ------------------

  2. #2
    Senior Member
    Join Date
    Jan 2002
    Location
    Des Moines, Iowa
    Posts
    289
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JFCTable as Custom Class

    I have ST 5.5 SP1. We use the JFCTable within an applet on IE 5.0. In the extentions tab under the Extentions... Buttons that you have Enable use of Java Plugins checked for both the application.

    If the JFCTable is in a Java application make sure that you have the Java Application extention enabled.

    Silktest doesn't see each row or column with in the table but there are several methods available so that you can programatically see them GetRowCount(), GetColumnCount(), GetCellValue(), ClickCell() and so on.

    I might be off topic here. But if the table is a straight JFCTable then a new version of Silktest should see it properly if you have th tool configured right. Let me know if you need any clarification or have more questions.

    ------------------

  3. #3
    Junior Member
    Join Date
    Aug 2001
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JFCTable as Custom Class

    Thanks for the quick reply blacst;

    I am using standalone JavaApp.

    I've tried to enable both JAVA extension & my own app, and that doesn't seem to help.

    I am not sure if the SP1 would help, I see if I can download them.

    If you have further info, thanks in advance

    ------------------

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Location
    Sunyyvale CA USA
    Posts
    422
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JFCTable as Custom Class

    I have some trouble in working Java controls but now I am okay. the fix is as follows.

    Keep 2.jar in jdk directory
    set the class path to 1.jar

    This should fix the issue.

    ------------------
    Sree
    Sree

  5. #5
    Senior Member
    Join Date
    Jan 2002
    Location
    Des Moines, Iowa
    Posts
    289
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JFCTable as Custom Class

    sree's right. I had forgotten about that. I will have to write that down so if I have to set up another machine I will remember. There are some good help files in Silk to explain the nuts and bolts of it.

    Do either of you have any input on my issue? (See the list of topics (Help!).) I can't figure it out!

    ------------------

  6. #6
    Junior Member
    Join Date
    Aug 2001
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JFCTable as Custom Class

    I did upgrade w/ the SP1 -- now I have 5.5 SP1.

    I also try w/ keeping the SilkTest_Java1.jar in my class path & left the _Java2.jar where it is.

    If 2.jar is not in my class path, I do not see any child objects in my treeview (i.e dialog boxes, buttons ...)

    but if I leave 2.jar in my class path, I see everything except the table is a custom class -- even w/ the SP1 upgrade.

    Could you tell me what I did wrong.

    Thanks

    ------------------

  7. #7
    Senior Member
    Join Date
    Jan 2002
    Location
    Des Moines, Iowa
    Posts
    289
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JFCTable as Custom Class

    Check your Runtime Options in your Use Files Path do you have "extend\javaex.inc" in the path? I know it is hard to trouble shoot issues like this from a distance.

    There is also an extentions tab on the start menu of your operation system where Silk shortcuts are docked. Go into it and you will see a similar screen to the Options\Extention screen in SilkTest. Make sure that this screen matches what you have in SilkTest with the Java extention enabled.

    It may be possible that your developer "embellished" the Standard JFC Table control and it really is a custom object in Silk's eyes.

    Also look in Silk's help for "Java support path" There are some really good instructions there for making sure the Java support Path has been added to your CLASSPATH.

    ------------------


    [This message has been edited by blacst (edited 01-28-2002).]

  8. #8
    Junior Member
    Join Date
    Aug 2001
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JFCTable as Custom Class

    I have all the needed info that you mentioned.

    still could not see JFCTable as a standard class.

    If I use 1.jar, I could not see anything

    If I use 2.jar, I see everything except table as a custom class.

    Is there any other info that I missed.

    Thanks

    ------------------

  9. #9
    Junior Member
    Join Date
    Aug 2001
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JFCTable as Custom Class

    Actually, I am refering to JCTable.

    It's not JFCTable as mentioned earlier.

    We are using the class from Sitraka Inc.

    Does anyone have problem like I have.

    ------------------

  10. #10
    Senior Member
    Join Date
    Oct 2000
    Location
    Laurel, Maryland, USA
    Posts
    204
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JFCTable as Custom Class


    I believe I have the same issues. These are JClass Live tables and Silk doesn't handle them well at all. If this is the same problem I have, you have to click on a cell in the table and the cell will change to a known type - like a JavaJFCTextField or a JavaJFCComboBox. If this is the case, you have to click on a cell first, then Silk can interact with the window that appears. As long as the table sizes don't change you can handle it in this manner. I'm not sure how to handle unknown cell sizes.

    ------------------
    Atlee
    Atlee

 

 
Page 1 of 2 12 LastLast

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 03:53 AM.

Copyright BetaSoft Inc.