Only  a branch group can be added at runtime!!

only a branch group can be added at runtime!!, im just a beginner and im trying to draw some points taking the coordinates from jtextfield objects, and each time i want to draw point i get an exception
another issue, i have added some mouse behavior and when i draw the points (adding new branches) they appear but not rotated or translated with the behavior
any ideas to remove useless branches????

One way I have found to add things at runtime is to create a 'holder' object for it during compile time and then modify it while the program is running. For example, I want to dynamically create a LineArray based on some user action but I won't know what the action is till runtime.
LineArray lineArray = new LineArray(2, LineArray.COORDINATES);
lineArray.setCapability(LineArray.ALLOW_COORDINATE_WRITE);
myTransformGroup.addChild(new Shape3D(lineArray); //  Now the LineArray is part of the scene
///  This is the class you create that modifies the LineArray based on user interaction
MyCustomBehavior mcb = new MyCustomBehavior(lineArray, ......);
mcb.setSchedulingBounds(BOUNDS); // BOUNDS is defined somewhere else.
myTransformGroup.addChild(mcb);In the MyCustomBehavior class you can modify the lineArray based on user interaction. This is close to what I have done. My code is at home (and I am at work right now) so I cannot be totally sure this is exactly correct. :)
fitz

Similar Messages

  • How can i measure BAPI runtime which has called from JAVA

    Hi abapers
    how can i get run time for BAPI called from JAVA through JCO.
    i know that i can use SE30 from ABAP by executing from SAP.
    may be ST05 useful for me i did it but when display trace
    i am getting big list by seeing this list i am not able to find the runtime for that BAPI.
    please any one can explain
    reagdrs
    ramesh

    Hi Ramesh,
       Irrespective of whether the call is from an external system or within sap, the bapi will be executed in R/3 only.
    So, you can safely measure the runtime using se30 only.
    If it is taking more time when called from JCo , then you can be sure that the problem is not with SAP and is actually due to the JCo connectivity with R/3.
    Regards,
    Ravi

  • HT3529 How do I send a group text, I have set up groups in my gmail account but can't figure out how to send a group text without adding them all individually

    How do I send a group text message, I have groups set up in my gmail account but can't figure out how to send a group text without adding them all individually ?

    You can use iCloud:
    Step 1. Log into www.icloud.com using your Apple ID.
    Step 2. Click on Contacts and then click the groups ribbon (the red icon with two people) which is on the left-hand page when viewing All Contacts.
    Step 3. The left page changes to a list of Groups (only those groups stored in iCloud are shown). Click the + button at the bottom to add a new group.
    Step 4. Type a name for the new group and press Enter to save it. To change it after this, double-click its entry in the groups list.
    Step 5. To add contacts to the new group, click on the All Contacts group and locate the first person to be added (you can use the search bar to find them quickly).
    Step 6. Drag their name on top of the new group and drop it to add it to that group.
    Step 7. To add more contacts, repeat steps 5 and 6, but you can add multiple contacts at once by pressing Ctrl (on a PC) or Command (on a Mac) and clicking on each contact in the list that you wish to select. Then, drag one of the highlighted names to the new group and they will all be added.
    It's possible to add names to more than one group, and you can create as many groups as you like.
    Step 8. Launch the Contacts app on your device (iPhone, iPod touch or iPad) and you should see the new group appear almost immediately - as long as you have an internet connection.
    Until Apple builds in a function to create groups directly within the Contacts app, this is the best way to do it.

  • How can I set firefox as default browser in citrix server, only for few groups. does -silent -setdefaultbrowser option working in latest version?

    How can I set firefox as default browser in citrix server, only for few groups. does -silent -setdefaultbrowser option working in latest version?

    I think so: [http://discussions.citrix.com/topic/330585-firefox-default-browser-for-all-users/]
    Can you also set the default programs in the Group Policy User Settings?
    Reference: [http://community.spiceworks.com/topic/884740-default-user-profile-in-citrix-environment]

  • Adding two boxes in same branch group

    Hi,
    I am new to Java3D. I want to add two boxes in same branch group at different location so that both of them are visible simultaneously. Can i achieve it?
    Thanks and regards,
    Rahul

    Thanks.
    But Still i have problem. Probably i was not clear earlier. My problem is not just to add these boxes. But in addition i want to same behaviours like Rotation, Zooming, Translation etc on all of these boxes. So that they all can be zoommed, translated, rotated by equal factor simulataneously.
    Please help me.
    Thanks lot
    Regards
    Rahul

  • Dear I am using iphone 4s now its connected with pc to create contact group.  I have 750 contacts in phone but pc showing only 36. How can i solve this? How can I see all contacts in pc?

    Dear I am using iphone 4s now its connected with pc to create contact group.  I have 750 contacts in phone but pc showing only 36. How can i solve this? How can I see all contacts in pc?

    HI,
    It may pay to bookmark this page.
    http://www.apple.com/support/systemstatus/
    8:40 PM      Wednesday; April 10, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Agent "User" is not enabled for enterprise voice. Only Enterprise Voice users can receive Response Group calls.

    I have standard edition Lync 2013 deployed. I have also enabled enterprise Voice for all my users.
    When I try to create a response group under group tab, I add the enterprise voice enabled users to the group and click on commit I get this warning:
    Agent "User" is not enabled for enterprise voice. Only Enterprise Voice users can receive Response Group calls.
    This is clearly a glitch since the users are already enabled for enterprise voice. Has anyone come across this issue before?
    Thanks

    Have you tried restarting the Response Group service? Are you able to add any EV enabled users to this RGS?
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Lync Sorted blog

  • Branch group problems

    Can anyone tell me why when I try to add a transform group to a branchgroup object I get this exception:
    RestrictedAccessException: Group: only a BranchGroup node may be added
    This doesn't happen if I declare the branchgroup in the method I have the transform group in.
    Jonathan O'Brien

    When the scenegraph is live OR compiled, only branchgroups are allowed to be added. So if you want to add a transformgroup you must first add it to a new branchgroup, which then can be added to the scenegraph or live object.

  • 2 iPhones in my house, both on the same Apple ID. Just got iPad mini, want to use iMessage with my phone number, but iPad only picks up other more recently added number (not mine) when I go to message settings. Is there a way to default to other number?

    Hi guys, so we have 2 iPhones in my house, both on the same Apple ID so that my mum and I can share everything. I have just got an iPad mini, and would like to use iMessage on it with my phone number, but the iPad only picks up other more recently added number (not mine, my mums) when I go to message settings. Is there a way to make the iPad default to other number?

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Troubleshooting Messages http://support.apple.com/kb/TS2755
     Cheers, Tom

  • How do I duplicate layers & groups without automatically adding a "copy", "copy 1", "copy #" at the end of the new group?

    How do I duplicate layers & groups without automatically adding a "copy", "copy 1", "copy #" at the end of the new group?
    It's been pestering me for quite a while now, since I often work with the same elements over and over again. Its frustrating to have to change the name of each layer manually, especially if I'm copying a whole group.
    Is there a setting in Photoshop or perhaps an external script that can help fix this for me?
    Cheers,
    Qiming

    There is no way to defeat this within the program itself. Here's the workaround:
    Duplicate the file (from the Image menu).
    Drag the Group or layers from the Layers list from the duplicate to the image window of the original , while holding down Shift.
    That will make a "copyless" copy and reposition the copyed material in the exact same position it was on the original.

  • How to set only one Index-group for a Search-iView as default?

    Hi Everybody,
    i have a lot of index ID's for searching in different folders. Is it possible to set only one index-group as default for a search iView? Until now i get all groups as default in every search. It's inconvenient for the users to use the link of 'show options' in order to uncheck the other index ID's.
    regards,
    Seed
    Edited by: seed_mopo on Jun 6, 2008 5:02 PM

    hi Seed,
    To achieve this you have to follow the below steps
    1. Create a new set of search options, choose System Administration -> System Configuration -> Knowledge Management -> Content Management -> User Interface -> Search -> Search Options Set in the portal.
    In that you have a field 'Index Groups', wherein you can specify which index group, the user has to search in. If there are multiple index groups, mention your index groups separated by comma.
    See here for more information
    http://help.sap.com/saphelp_nw04/helpdata/en/cc/f4e77ddef1244380b06fee5f8b892a/content.htm
    2. You have to specify the option set that you created in step 1 in the default KM search iview. In the iview properties, under the field search option set, mention the option set that was created for this index group or multiple index groups.
    This way, you can configure KM search iview to search in a single index group or multiple index groups.
    Revert back in case of any queries
    Regards,
    Ganesh N

  • Document Library Custom View "Grouped By" only shows one group

    I have created a Document Library Custom View with the  "Grouped By" option turned on and grouped by a column  called "media type" which has 3 possible choices.  For some reason only the first group is displayed. The other
    groups show that they have items in them but can't be accessed. I have expanded turned on. 
    Here are some screenshots: 

    Hi zaxxon,
    Please check if the above first 6 images (e.g. Managing Threating Confrontations - OneDrive for Business Tutorial)are with value "Training" and "tutorial", if yes, there should be something wrong with the grouped list view of Assets library.
    Based on icons from your image, you should be using Office365 SharePoint Online, I would recommend you post this issue in our dedicated Office365 SharePoint online forum below, and I think fixing this issue would be involving back-end support engineer from
    server side.
    http://community.office365.com/en-us/f/156/t/236901.aspx
    Office365 SharePoint Online forum
    Thanks
    Daniel Yang
    TechNet Community Support

  • Need to use Group By but only want to group some of the columns not all

    Hello all! I am having some issues here. I am rather new to SQL and I am getting stuck with grouping. I have the query below but I only want to group by these columns, instead of all the columns in my select statement.
    ah.fund,
    ah.dept,
    ah.org,
    ah.acct,
    t.fund,
    t.dept,
    t.org,
    t.acct
    This will eventually go into Oracle reports builder. Is there any way I can archive this at all? The query will return all the t for a given time period, but they need to be grouped by the fully qualified account number which consists of the fund, dept, org and acct columns.
    Thanks in advance!
    SELECT ah.fund,
         ah.dept,
         ah.org,
         ah.acct,
         LPAD(ah.fund,3,0)||LPAD(ah.dept,2,0)||LPAD(ah.org,4,0)||SUBSTR(ah.acct,1,2) acct_no,
         LPAD(ah.fund,3,0)||LPAD(ah.dept,2,0)||LPAD(ah.org,4,0)||ah.acct acct_no1,
         t.fund,
         t.dept,
         t.org,
         t.acct,
         t.ACTIVITY_DATE,
         t.TYPE,
         t.AMT,
         t.description,
         t.TRANS_NO,
         t.RECEIPT_NO,
         DECODE(t.PO_NO,NULL,t.JOURNAL_NO,t.PO_NO) J_NO,
         DECODE(t.WARRANT_NO,NULL,t.WIRE_NO,t.WARRANT_NO) W_NO,
         t.VENDOR_NO,
         v.name||' ' ||v.first_name name,
         MIN(ah.eod_date)
    FROM ah,
         t,
         v
    WHERE ah.fund BETWEEN SUBSTR(:p_acct_from,0,3) AND SUBSTR(:p_acct_to,0,3)
         AND ah.dept BETWEEN SUBSTR(:p_acct_from,4,2) AND SUBSTR(:p_acct_to,4,2)
         AND ah.org BETWEEN SUBSTR(:p_acct_from,6,4) AND SUBSTR(:p_acct_to,6,4)
         AND ah.acct BETWEEN SUBSTR(:p_acct_from,10,5) AND SUBSTR(:p_acct_to,10,5)
         AND FLOOR(ah.acct/10000) IN (6,8)
         AND SUBSTR(ah.acct,3) != '000'
         AND ah.eod_date BETWEEN :p_from_date-1 AND :p_to_date
         AND t.fund (+) = ah.fund
         AND t.dept (+) = ah.dept
         AND t.org (+) = ah.org
         AND t.acct (+) = ah.acct
         AND TO_DATE(t.activity_date, 'dd-mon-yy') >= TO_DATE(:P_FROM_DATE,'dd-mon-yy')
         AND TO_DATE(t.activity_date, 'dd-mon-yy') <= TO_DATE(:P_TO_DATE,'dd-mon-yy')
         AND t.type IN( 'PI','JE','PR','VD','VU','AC','AD')
         AND (
              (:p_year = TO_CHAR(CURRENT_DATE,'YYYY')
              AND (t.po_no IS NULL
              OR (select TO_CHAR(open_date,'YYYY') FROM r WHERE po_no = t.po_no ) = TO_CHAR(CURRENT_DATE,'YYYY') ) )
              OR ((select TO_CHAR(open_date,'YYYY') FROM r WHERE po_no = t.po_no ) = :p_year )
    AND v.vendor_no (+) = t.vendor_no
    GROUP BY ah.fund,
         ah.dept,
         ah.org,
         ah.acct,
         t.fund,
         t.dept,
         t.org,
         t.acct,
         t.ACTIVITY_DATE,
         t.TYPE,
         t.AMT,
         t.description,
         t.TRANS_NO,
         t.RECEIPT_NO,
         DECODE(t.PO_NO,NULL,t.JOURNAL_NO,t.PO_NO),
         DECODE(t.WARRANT_NO,NULL,t.WIRE_NO,t.WARRANT_NO),
         t.VENDOR_NO,
         v.name||' ' ||v.first_name
    ORDER BY LPAD(ah.fund,3,0)||LPAD(ah.dept,2,0)||LPAD(ah.org,4,0)||SUBSTR(ah.acct,1,2),
         LPAD(ah.fund,3,0)||LPAD(ah.dept,2,0)||LPAD(ah.org,4,0)||ah.acct;

    In reports builder you can group the columns without having to group it in your query. It is also known as the break report which contains multiple groups in its data model.
        |            Q_1               |
                      |
                      |
        |       GRP_department         |
        | dept_no                      |
        | dept_name                    |
                      |
                      |
        |         GRP_employee         |
        | emp_no                       |
        | emp_first_name               |
        | emp_last_name                |
        | emp_middle_name              |
        | emp_date_of_birth            |
        | ...                          |
        ------------------------------

  • CRM ORG is supporting only one sales group to only one sales office,

    Hi Users,
    CRM system is supporting only one sales group to only one  sales office, not supported to multiple sales offices.
    Per ex : Sales Organization     Distribution Channel     Division        South Sales Office     South Sales Group
                                         AJE                                 EX                        BP        S100                            S01
                                         AJE                                 EX                        BP     S101                             S01
                                         AJE                                 EX                        BP     S103                             S01
                                          AJE                                 EX                        BP     S104                             S01
                                         AJE                                 EX                        BP     S105                             S01
    Sales group S01 assigned to sales office S100, but i need to assign my south sales group S01 to different sales offices in South region. in PPOMA_CRM is not supporting for multiple assignment.
    Anyone can provide solution for above issue?

    HI Denic,
    I have got your point, already done all settings for enhanced.
    Myside :
    Under Sales, based on client requirement created as ( N E W S ) regions, under each region made 4 offices.
    in SOUTH : OFFICE 1, OFFICE 2, OFFICE 3, OFFICE 4
    IN NORTH : OFFICE5, OFFICE 6, OFFICE 7, OFFICE 8
    IN EAST :     OFFICE 9, OFFICE 10, OFFICE 11, OFFICE 12
    IN WEST :  OFFICE 13, OFFICE 14, OFFICE 15, OFFICE 16
    *BUT SALES GROUPS MAINTAINED ONLY 4 LIKE SOUTH GROUP, NORTH GROUP, EAST GROUP, WEST GROUP.*
    IN ENHANSED ORG I HAVE MADE UNDER FUNCTION TAB IN PPOMA_CRM
    FOR SALES -
    > ASSIGNED SLS ORG & R/3 DIST CHAN, R/3 DIVI
       UNDER SALES --> SOUTH  ---> ALREADY ORG INHERITED FROM SALES  AND
              UNDER SOUTH  --> OFFICE1 --> IN FUNCTION TAB SALES ORG INHERITED, SALES OFFICE           SELECTED AS OFFICE 1 AND CHOOSEN R/3SLSORG, R/3 DISTRCHN, R/3DIVI.
    IN THE SAME FUNCTION TAB FOR SALES GROUP SELECTED SOUTHGROUP till THIS ITS WORKING FINE.
    PROBLEM IS : -
    For Office2 which is also belonged to south region, in Funtion tab inherited the sals org and assigned sales office but sales group i have to select southgroup only again for office2 also.
    But system not supported bcoz southgroup already assigned to Office1.
    Is there any solution inside PPOMA_CRM or we need to change the hierarchy of my client sales structure?

  • Why only videos on iphone can be deleted but not the music or sync photos?

    Why only videos on iphone can be deleted but not the music or sync photos?

    Because that is the design of the iphone.
    Music and photos are added/deleted via the sync process. 

Maybe you are looking for