SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Sep 2000
    Posts
    159
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JavaJFCPushButton Click failing on UNIX. \"Window can\'t be scrolled into view\"


    My script works on NT. I am simply clicking on a "Next" JFC Pushbutton"

    It fails when I run with Silkbean.

    Target : Solaris version 7.

    I receive an error:
    "Window cannot be scrolled into view"

    I have no idea why it's mentioning about a scroll bar . There is a scroll bar in the same pane as the button , but the button is fully visible. The scroll bar is set to the top.

    Does this perhaps have to do with screen resolution on target machine?

    code:
    Administrator.JavaxSwingJSplitPane.JavaJFCChildWin ("#1").JavaxSwingJSplitPane("#1").JavaJFCPushButto n("Next").Click ()

  2. #2
    Junior Member
    Join Date
    May 2001
    Location
    Portland, OR
    Posts
    27
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JavaJFCPushButton Click failing on UNIX. \"Window can\'t be scrolled into view\"

    Hi Raul,

    Did you ever find out what was happening here? I'm experiencing the same thing. I have a control that is in full view, however when I attempt to use it I get a "Window cannot be scrolled into view" error. Actually, there are several controls in my target window that produce the same error message. I'm using Silk 5.5 against a JDK 1.3.1 application running on Solaris 7. And of course, it all works fine on windows.

    Thanks,
    Jim

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

  3. #3
    Junior Member
    Join Date
    May 2001
    Location
    Portland, OR
    Posts
    27
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JavaJFCPushButton Click failing on UNIX. \"Window can\'t be scrolled into view\"

    More info.

    It turns out I have an entire set of dialogs that exhibit the same behavior. That is, the dialog and all it's controls can be seen by Silk. However, any attempt to use then results in an "***Error: Window can't be scrolled into view" exception. None of the dialogs in question have a scroll bar which makes the error message confusing.

    I have found that all the dialogs in question are of the Java base class, JInteralFrame, which Silk resolves to a JavaDialogBox. I have attempted to use JavaJFCChildWin but had the same results. FYI, JInternalFrame acts like an MDI window.

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

  4. #4
    Junior Member
    Join Date
    May 2001
    Location
    Portland, OR
    Posts
    27
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JavaJFCPushButton Click failing on UNIX. \"Window can\'t be scrolled into view\"

    Just to put closure to this. I was able to get past this issue by setting the agent option "Automatically scroll windows into view" to false/unchecked.

    Agent.SetOption (OPT_SCROLL_INTO_VIEW, FALSE)

    Even though I had no scroll bars, this solved the problem. I have no idea why, but it did.

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

  5. #5
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JavaJFCPushButton Click failing on UNIX. \"Window can\'t be scrolled into view\"

    Can you use keystrokes to get focus to the appropriate control then activate it?

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

 

 

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 07:21 PM.

Copyright BetaSoft Inc.