SetViewPosition() fails for newly added InternalFrame

greetings,
i have a hyperlink for an object.
clicking it opens up an internal frame centering the object.
i use the method
     JViewport.setViewPosition(Point p)
i calculate point p such that the object appears at the center of the viewport.
problem: the method gets executed if the internal frame is already open.
otherwise it is not executed.
ie. when a hyperlink is clicked the node is centered if the internal frame is already open - otherwise it is not centered.
why does it happen? any help
thanks
venkat

greetings,
i have a hyperlink for an object.
clicking it opens up an internal frame centering the object.
i use the method
     JViewport.setViewPosition(Point p)
i calculate point p such that the object appears at the center of the viewport.
problem: the method gets executed if the internal frame is already open.
otherwise it is not executed.
ie. when a hyperlink is clicked the node is centered if the internal frame is already open - otherwise it is not centered.
why does it happen? any help
thanks
venkat

Similar Messages

  • SWIM collection in Prime fails for newly added Cisco 3650 switch

    Currently carrying out a refresh of my LAN devices moving to Cisco 3650 PS-S, when running SWIM from the software image management in Prime 2.1 I receive the following output:
    Image collection from source
    Collecting image with Protocol : SCP
    Collecting image with Protocol : TFTP
    FAILURE
    FAILURE
    FAILURE
    SWIM_20002:Image Collection has not succeeded from device, Please check the status of the device or re-sync the Device from Device Work Center.
    Invalid image import operation. Import operation not supported for [bootflash:packages.conf].
    Invalid image import operation. Import operation not supported for [bootflash:packages.conf].
    Is the 3650 not currently supported by Prime 2.1 for image collection?

    What is missing from the example is the fact that you need to create a Variable in the Manage Variable List for the $interfaceNameList object. Here is what I did:
    Template Detail:
    CLI Content:
    #foreach ($interfaceName in $interfaceNameList)
            interface $interfaceName
                 shutdown
            exit
    #end
    Next hightlight the interfaceNameList name and then click on the Manage Variables icon (upper right corner of the dialog). This will create a new variable of type String called interfaceNameList. Edit this new variable and change it to:
    Type: DB
    Default Value: IntfName
    Note: IntfName was retrieved from the list of predefined variables listed in /opt/CSCOlumos/conf/ifm/template/inventoryTagsInTemplate mentioned above.

  • New Price Updates for newly added Items Through VA02

    Hi All,
    Through VA02 ,If you change first date in line item we have written code in MV45AFZB(USEREXIT_NEW_PRICING_VBKD
    ) for updating price for that item.
    Now the issue is if u add one more new line item through VA02 itself..here we were not getting that line item detials.because its not yet saved.
    We want to update prices for newly added items also.

    Hi Reddy,
    For translation of any text , goto SE63 -> in menu TRANSLATION -> R/3 Enterprise - > Transport object -->
    for Transport Entry of Object : R3TR SHI3 ZABC
    then select target & source lang. click EDIT.
    Hope this helps you.
    Reagards,
    Aby

  • Historical data load for newly added fields

    Hi,
    we are using cube 0UCSA_C01 with delta update which has gone live now the requirement is we have to  add 2 new fields to this cube  but the problem is how can we load previous data for dese fields dat has been updated already . Plz letme know hw this can b acheieved  plz letme know the proceedure to achieve dis..
    Thnx
    help will b apprciated

    Hi,
    populate historical data into a newly added field in an infoprovider
    How to populate historical data into a newly added field in an infoprovider
    /people/dinesh.lalchand/blog/2006/02/07/loopback-process--follow-up
    http://sap.ittoolbox.com/documents/popular-q-and-a/adding-characteristics-to-infocubes-2138
    Thanks,
    JituK

  • Filtering not working for newly added child objects in master-detail table

    Hi,
    I am using Jdeveloper 11.1.1.4 version.
    Problem scenario:
    Filtering of records is not working for newly created child objects in a master-detail scenario.
    Steps to reproduce this issue using HR Schema (using LOCATIONS and DEPARTMENTS table ) :
    1. Create Business components (EO's & VO's ) for LOCATIONS & DEPARTMENTS table)
    1. Create a .jspx page and insert a readonly master table of Locations
    2. Insert a child table (inline-edit table) of Departments and enable filtering
    4. For the child table, drag and drop CreateInsert operation as a toolbar button .
    5. Create a new child record using the toolbar button and enter data .
    6. Filtering on the newly created child record's attributes does not work.
    Please note that the same filter works for existing child records.
    Any suggestions for resolving this issue?
    Thanks,
    Vikas

    Found from Fusion Developer's Guide the following snippet about QBE functionality :
    "+When you create data controls, all data collections will automatically include a Named Criteria node with an All Queriable Attributes criteria. This is the default view criteria that includes all the searchable attributes or columns of the data collection. You cannot edit or modify this view criteria+. "
    So, the question is if the implicit view criteria cannot be edited, how else to set the query execution mode to "Both" ?
    Shouldn't ADF BC support this by default? Is this a bug?
    Note:- If you create a maste-detail table using POJO datacontrols, filter works correctly for newly created child records also .
    This seems to be an issue with ADF-BC datacontrols only.
    Thanks,
    Vikas

  • This field name is not known. for newly added fields

    dear sir,
    i ma using VS 2008 with CR.NET. There are previously dsigned reports. when I add some new Fields to the report, it prompts the error message
    [COMException (0x80041019): This field name is not known.
    Error in File C:\DOCUME1\TERESA1\ASPNET\LOCALS~1\Temp\PolicyReceipt {F0958318-C3D3-493D-9140-4CEA08B27B98}.rpt:
    Error in formula  <Address>.
    '{GetTransactionsForPolicyReceipt;1.ClientAddress_zh}+{GetTransactionsForPolicyReceipt;1.Address_zh_2}'
    This field name is not known.]
       CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) +0
       CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +240
    here is the stored procedure
    select Transactions.TransactionID
                 , Transactions.PolicyDate
                 , Transactions.PolicyNumber
                 , ClientBranch.BranchName as ClientBranchName
                 , c.last_name + ', ' + c.other_name as ClientName
                 , c.last_name_zh + c.other_name_zh as ClientName_zh
                 , c.last_name as ClientLastName
                 , c.address as ClientAddress
                 , c.Address_2
                 , c.Address_3
                 , c.Address_4
                 , c.address_zh as ClientAddress_zh
                 , c.Address_zh_2
                 , c.Address_zh_3
                 , c.Address_zh_4
                 , c.email as ClientEmail
                 , c.[language]
                 , Gender.ShowName as ClientGenderName
                 , Gender.ShowName_zh as ClientGenderName_zh
                 , Institution.InstitutionName
                 , Product.ProductName
                 , FormulaType.FormulaTypeName
                 , Frequency.FrequencyName
                 , Frequency.FrequencyName_zh
                 , Frequency.FrequencyPeriod
                 , Frequency.IsLumpsum
                 , Currency.CurrencyName
                 , Currency.CurrencyName_zh
                 , Transactions.FrequencyPayment
                 , Transactions.Years
                 , Transactions.Terms
                 , Transactions.Remarks
    , c.Address_2
                 , c.Address_3
                 , c.Address_4
                 , c.Address_zh_2
                 , c.Address_zh_3
                 , c.Address_zh_4
    are newly added
    the other fields can be shown properly
    Edited by: tomckw on Oct 24, 2011 10:04 AM

    Only the RAS ( Report Application Server ) SDK includes API's to retrieve the version information. As you do not have full build of CR, you do not have the RAS SDK.
    Just as an FYI. The APIs are:
    CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument.MajorVersion
    CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument.MinorVersion
    A C# example code looks like this:
    MessageBox.Show("Report Version: " + (rptClientDoc.MajorVersion.ToString() + "." + rptClientDoc.MinorVersion.ToString()), "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
    I htink your only way to tell is to take the 10.2 report, add it to your VS2008 project and save. On save, if it says something like;
    "this report was crated ina precious version of CR"
    you know it is not 10.5.
    But I do not think that is your problem here...
    - Ludek

  • MCAK - Create POD for newly added Platform element

    Hi,
    I am trying to create POD for newly maintained platform element ( ex: HyperV ).
    Data captured in POD :
         PODName :
        Plotform Element Type : vcenter / vcloud director / ec2 / openstack /etc
         Virtualization Manager : (respective VM Mangers)
    Problem : I wanted to add HyperV as one of the Platform Element Type in Create POD form ( in Plotform Element Type dropdown )
    Analyzed : Looked at 'Create POD' service and respective Active Forms, but could not see any form elements related to 'Flotform Elements' / 'Virtualization Manager'
    Could anybody help in pointing where to manage these elements.
    Thanks,
    Siva

    Hi Derek,
    For all MCAK platform elements (OpenStack, EC2, etc), it shows up properly.
    For newly created platform -Hyper, we are able to select Hyper-V as platform element in 'Platform Element Type' dropdown ( Pulling date from SI : Cloud Platform Elements ).
    Next step, we need to select respective Virtualization manager from dropdown.
    I would like to know where we map Platform Element Type and respective Virtualization Managers, so that we can pull Virtualization Mangers in next dropdown.
    Thanks,
    Siva

  • Not getting correct data for newly added field in 0FI_AR_4

    Hi to all,
    I have added SPART field from VBRK table into 0FI_AR_4 datasource .
    Based on join BSID-VBELN = VBRK-VBELN to get SPART from VBRK table.
    but i found that some VBELN are not maintained in VBRK table, But are Present in BSID table, so i am not get SPART for which no
    VBELN maintained in VBRK.
    Please can any one tell me, what condition should i take to get SPART from VBRK to 0FI_AR_4.
    as i knew that only BSID-VBELN = VBRK-VBELN sufficent to get data for SPART.
    or any different condition i required.
    I shall be thankful to you for this.
    Regards
    Pavneet Rana

    Thanks for reply,
    i have written code for that like that.
    SELECT SINGLE * FROM VBRK
    WHERE VBELN = <fs_d>-VBELN .
    if sy-subrc = 0.
    <FS_D>-SPART = VBRK-SPART.
    endif.
    ENDLOOP.
    according to it result are not capturing all SPART from VBRK. as it only matches the VBELN which are same in both VBRK and BSID table.
    so how to get SPART from VBRK if same VBELN is not maintained in both tables.
    Please can you tell me CODE for that.
    I shall be thankful to you for this.
    Regards
    Pavneet Rana
    Edited by: pavneet rana on Feb 1, 2011 4:53 AM

  • BPM reporting not displaying data for newly added field

    Hello All,
    I have a BPM process up and running fine. I have added reporting for monitoring no. of context field. I have also created a VC model for displaying the BPM report data. However, VC application is displaying only the context field that I had selected initially during the New Reporting Datasource creation. It'd not display the reporting data for the field that I added later.
    Please help

    Hi Apoorva ,
    Have you checked in the process repository whether your new process is activated or not?
    Thanks & Regards,
    Rohit

  • How to get the histoical data for newly added field in the cube?

    Hi Experts,
    I have small doubt on remodeling the infocube.
    After adding the characteristic or keyfigure  to a cube by using remodeling concept, how can I get the historical data for that particular field.
    I have searched in SDN also but I didn't get proper information.
    Please excuse me if I posted repeated question.
    helpful answer will be awarded with poitns.
    Thanks & regards,
    Venkat.

    hi
    depending on your customer need you could use the remodelling functionnality but sometimes you have no way to retrieve what you want so another option you should consider is the following:
    Advantages
    that will cost less effort and guarantee the result.
    Drawbacks
    data is redondant for a while
    space (depending on the volume of historical data)
    So here are the steps :
    step 1Adjust your extraction process according to the fields you need to add to populate the cube.
    step 2 Then create a dso next or even a cube, feed the dso with a full load with the enhanced extractor you adjusted with the new fields in step 1 only once in fact this should be one shot.
    step 3 Copy the query to the previous built  multi-provider on top of the new historical data from dso and the running live delta cube. Adjust the queries if necessary.
    optionnal Then if you want to get rid of the dso or new cube for historical data you could empty the actual one push the data from the new data provider and that's all.
    bye
    Boujema

  • Genius doesn't work for newly added songs

    I've noticed lately that Genius Playlists don't seem to work for anything I've added within the last 6 months or so.  I get a message saying that a playlist can't be made, and a suggestion to pick a different song.
    It seems like at a certain point, anything I added to my Library from that point forward stopped being Genius-able.  I've updated it from the Store menu.  I've even disabled it and re-enabled it. 
    These are not super obscure tracks... Ben Folds, Decemberists, Sufjan Stevens...
    Any thoughts?  The only weird thing that I can think to mention is that I moved my iTunes library to a shared folder a while back so that my wife could access the same Library from her OS X account.  Is that something that could have affected this? 

    I've found a lot of threads in this forum with the exact same issue.  Can ANYONE create genius playlists from songs from the following albums?
    Ben Folds - Lonely Ave
    The Decemberists - The King Is Dead
    Sufjan Stevens - The Age of Adz

  • Webcenter group space access denied for newly added user in oid group .

    Hi All,
    We have upgraded our webcenter with latest version 11.1.1.4.
    We have created a groupspace where we set the acceess for group space usiing add groups .
    Suppose i have added userRoles1 to get access of this groupspace.
    Now i am adding another user part of this usergroup from some oid console .
    I am able to see this user in the member of this userRoles but whenever this user
    is trying to access this gs getting unauthorized access message .
    Any pointer please .
    Regards ,
    Arun

    Hi,
    User Account Control treats members of the Administrators group as standard users.
    With UAC enabled, members of the local Administrators group run with the same access token as standard users. Only when a member of the local Administrators group gives approval can a process use the administrator’s full access token. This process is the
    basis of the principle of Admin Approval Mode.
    When an administrator logs on to Windows Vista or newer, the Local Security Authority (LSA) creates two access tokens. If LSA is notified that the user is a member of the Administrators group, LSA creates the second logon that has the administrator rights
    removed (filtered).
    To work around this issue, use the net use command together with a UNC name to access the network location.
    Programs may be unable to access some network locations after you turn on User Account Control in Windows Vista or newer operating systems
    http://support.microsoft.com/kb/937624
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Cannot edit ID3 tags for newly added tracks

    I want to stress: this is for iTunes 10.5 b2 but I want to make sure this gets out there so this issue can be resolved sooner rather than later since it's somewhat ESSENTIAL for iTunes to actually function properly.
    But I upgraded to b2 from b1 today and now anytime I add any new mp3 files I cannot edit the ID3 tags - in fact I go to edit them and all the options are greyed out...
    Anything added PRIOR to the upgrade is editable it's just anything I add since the upgrade. I've tried restarting the app and it still is locked.
    Anyone have any suggestions? Has anyone else seen this?

    Since iTunes 10.5 is development release only and you as a developer agreed to not discuss it in accordance with your non-disclosure agreement, you should post the question over here -> http://www.developer.apple.com

  • How do I get iTunes to auto-create a folder for newly added music?

    I used to add files into a new folder (literally named "New Folder"), play the songs from the folder (not iTunes), and iTunes would create a new folder appropriate for the artist and album, moving the songs to that new folder. Anyone know how to turn this feature on?

    This feature is usually called "Watch Folders", and iTunes doesn't have anything like that.

  • Itunes 11 ignores ratinga in newly added tracks - why???

    I have just removed all the music tracks from my itunes library (running on Windows 7).  Then I added one folder that contained all my songs.
    The songs were added but 95% of my ratings are gone.  It looks like only .mp4 files (likely the ones I got from Apple store) have their ratings set properly or as they were set in the metadata of the files.  It looks like all the other (mostly .mp3) files ended up with no ratings.  It took me a lot of time to rate these songs and make sure that the ratings were stored in the metadata of the files.  Now itunes 11 appears not to care about that at all...
    Did anyone else notice that, i.e., had the same problem?  What is it?  I'd like to think that I did something wrong but I am affraid that Apple, in its wisodom is, yet again, is doing something that erases weeks of my work.  Why would itunes not read ratings for newly added mp3 files?  Windows Media Player reads the metadata properly for any mp3 or mp4 file added to its library.
    Can anyone offer any inside view into this?   Any idea if it is me missing something, or is it a bug in itunes 11 or is it Apple telling me to buy all my music from the Apple store?
    Thanks.

    I realized that the mp4 songs that have correct ratings were not really removed from my library - it looks like they are in the cloud.
    In short it looks like itunes just ignores the ratings while adding new tracks.  But why???  It is so easy to reset ratings after reading tracks in and so difficult to add them...  What is the logic here...???  Thanks.

Maybe you are looking for

  • Unable to download apps from appstore

    I created apple Id, tried to download apps from appstore but problem is even apps is for free a message pops up saying my apple Id is not yet used in iTunes, and proceeds me to fill up form asking for a credit card account info. I don't have credit c

  • XML - WML; Unable to open in WAP/WEB browser

    I am trying to convert an XML document into a WML document. I have the following code: private void generateWML() {      wmlPath = root+System.getProperty("file.separator")+"results.wml";      File results = new File(wmlPath);      try {           //

  • Calculating days excluding weekends

    Msy you please show me how to calculate the number of days in between 2 dates excluding weekends.

  • HELP Menu Bar Problem

    PLEASE HELP! I had to add more items to my menu bar and now for some reason it jumps when the items are clicked on. Here is the link, please help. I can't figure out why. I only added 3 more items. http://test.quickflash.com Thank you!

  • Missing content categories

    I was recently supplied with a new BT Vision box. On the old box when I was searching for something to watch, when there was nothing on Freeview, there was a page which listed programmes in various categories, eg documentaries, lifestyle, reality, et