How to add TransformGroup to a live TransformGroup?

I do like this:
// scene---- BranchGroup , is live
// objScale--- TransformGroup, is live
u.getLocale().removeBranchGraph(scene);
objScale.removeChild(objScale.numChildren()-1);
objScale.addChild(g);
u.getLocale().addBranchGraph(scene);
I call this code when I move the mouse. At first it is ok , but after sereval times , there is error:
Exception occurred during Behavior initialization:
java.lang.NullPointerException
     at javax.media.j3d.WakeupCriterion.cleanTree(WakeupCriterion.java:74)
     at javax.media.j3d.WakeupOr.cleanTree(WakeupOr.java:73)
     at javax.media.j3d.BehaviorRetained.wakeupOn(BehaviorRetained.java:312)
     at javax.media.j3d.Behavior.wakeupOn(Behavior.java:221)
     at com.sun.j3d.utils.behaviors.mouse.MouseBehavior.initialize(MouseBehavior.java:201)
     at com.sun.j3d.utils.behaviors.mouse.MouseRotate.initialize(MouseRotate.java:137)
     at javax.media.j3d.BehaviorRetained.executeInitialize(BehaviorRetained.java:290)
     at javax.media.j3d.Locale.doAddBranchGraph(Locale.java:204)
     at javax.media.j3d.Locale.addBranchGraph(Locale.java:163)
     at best.Applet1.drawlineD(Applet1.java:8880)
//method drawLineD contains the code above
     at best.Applet1.lineMoved(Applet1.java:3619)
     at best.Applet1.c_mouseMoved(Applet1.java:3131)
     at best.Applet1$16.mouseMoved(Applet1.java:683)
     at java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:270)
     at java.awt.Component.processMouseMotionEvent(Component.java:3756)
     at java.awt.Component.processEvent(Component.java:3548)
     at java.awt.Component.dispatchEventImpl(Component.java:2593)
     at java.awt.Component.dispatchEvent(Component.java:2497)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Please tell me whether my method of adding a TransformGroup to another live TransformGroup is right. Thanks!

I know TransformGroup can not be added to another live. I mean if we have some method to do. Such as I talked above:
simpleUniverse.getLocale().removeBranchGroup();
branchGroup.add(transformGroup);
simpleUniverse.getLocale().addBranchGroup();
It works well. But when I do this frequently, the error occurs. Why?

Similar Messages

  • I buy my iphone 5 in uae but i live in other country i want use a facetime how can add this feature to my iphone 5 please help me

    i buy my iphone 5 in uae but i live in other country i want use a facetime how can add this feature to my iphone 5 please help me

    If you wanted FaceTime, you should not have purchased your phone in the UAE. There is no way to add it back to your phone, as it has been permanently removed.

  • How to add windows live mail?

    how to set up a win live mail account in Win 8-8.1

    It's no different than setting it up on any other operating system.
    Did you download the windows live mail software?
    http://windows.microsoft.com/en-us/windows-live/essentials-other#essentials=overviewother
    If you only want WLM, you can uncheck the other Windows Live software.

  • How to add MS Office add-in from inside a Thinapp 5 virtual application to a MS Office 2013 suite that is installed on a base image

    Hi,
    We have the following solution:
    VMware Horizon View 5.3.1
    Non-persistent Linked-clone pool with delete VM after logoff
    Windows 8.1 Update 1 Enterprise 64 bit
    MS Office 2013 32-bit installed on image
    Thinapps registered for each user from logonscript with thinreg.exe command. Thinapps is located on a network share
    Native Windows roaming profiles with appdata/roaming, appdata/local without appdata/locallow(persona management does not support Windows 8.1 in View 5.3.1)
    This is our issue:
    We have a 3rd party application with a couple Thinapp entrypoints(exe files) and in the Thinapp package process we also installed Office addins. We tested that the Add-ins was opened inside Outlook, Word and Powerpoint before post installation scan.
    The problem is that the add-ins is not added to Office 2013 before or after the Thinapp is started on a test client.
    I have tried several changes in the package.ini and virtual filesystem attributes(no registry changes yet):
    Package.ini:
    ChildProcessEnvironmentExceptions=WINWORD.EXE;EXCEL.EXE;POWERPNT.EXE;OUTLOOK.EXE;
    ChildProcessEnvironmentDefault=External
    ChildProcessEnvironmentExceptions=excel.exe;outlook.exe;powerpnt.exe;winword.exe
    ChildProcessEnvironmentDefault=Virtual
    VirtualizeExternalOutOfProcessCOM=0
    DirectoryIsolationMode=Merged
    RegistryIsolationMode=Merged
    I have also read that you could make entrypoints to the locally installed Office 2013, but I get errors on the build process. ref. link: http://edwinfriesen.nl/content/?p=105#comments
    The best thing would be if the add-ins were added in the logon process together with thinreg.exe, but if that is not supported, the add-ins must be added to Office either in a custom Office shortcut/entry point or after starting the Thinapp virtual application.
    Remember that the application needs to registered every times the user logon, because we use a non-persistent View pool.
    I would really appreciate if somebody could tell me how to add Office add-ins from inside a Thinapp virtual application/package to a locally installed MS Office 2013 suite on a Windows "base" image?
    We do not want to add the whole Office suite to the Thinapp virtual package and not add the add-ins trough GPO,SCCM etc.

    What about the COM object parameters in package.ini ?
    We can live with scripting in logon or changed logon scripts etc.
    And you don't no need to lock in the project files.
    From package.ini documentation:
    ObjectTypes Parameter
    The ObjectTypes parameter specifies a list of virtual COM object types that are visible to other applications in
    the physical environment. You can use scripts, such as VBScripts, to call objects that start captured applications.
    An object type is registered to only one native or virtual application at a time. If you install Office 2003 on the
    native machine and want to use a virtual Office 2007 package, you must determine whether to have the virtual
    or native application handle the object types.
    If you want the virtual Office 2007 to handle the object types, you can leave the ObjectTypes setting in the
    Package.ini file, build the package, and register it using the thinreg.exe utility. If you want the native Office
    2003 to handle the object types, you must remove the ObjectTypes setting from the Package.ini file before
    building and registering the package.
    You cannot add random entries to the ObjectTypes parameter.
    You can only remove entries that were generated by the capture process.
    Example: Starting a Virtual Application When a COM Object is Created
    If a script or a native application creates an Excel.Application COM object or other COM objects listed in the
    ObjectTypes parameter, ThinApp starts the virtual package.
    [Microsoft Office Excel 2007.exe]
    ObjectTypes=Excel.Application;Excel.Application.12;Excel.Chart;
    Excel.Macrosheet;Excel.Sheet; Excel.Workspace

  • How to add additional lines to the Order Form template?

    I purchased and installed Acrobat Pro 9 because of its ability to create forms and found the Order Form template is just perfect for what I need, why reinvent the wheel, right?   Except I found I can't figure out how to add additional object that duplicate what is already there.  I highlighted an entire row and tried to just copy and paste but the past function put the copied objects at the bottom of the form in what looks like a group, all out of order.  I tried looking in the online help for a possible key combination that would inset an additional row of objects but couldn't find any.
    Also the form doesn't move down and create a new page keeping all the other elements in line, it moves to the bottom of the current page and stops.   Thought the template was based on a table so I was going to insert additional rows thinking once it reached the bottom of the current page it would automatically break to a new page and continue, but it's not a table.  So my question is, how can I add duplicate object that match the Order Form templates Item, Description, etc. objects?  I've come to realize learning to use this product is not going to be as simple a proposition as I was lead to believe.  O well, live and learn!
    If someone can point me in the right direction, any help is greatly appreciated.
    Tony Rodriguez

    Thanks, Barney! It's even easier than the solution I came to: copying and pasting into the field. 

  • How to add a custom multimedia playback control to add a time line of what is being played?

    How to add a custom skin in multimedia playback control to add a time line of what is being played?  As it is being played...
    I need a time line so any part of the what is being played can be found by time, ie at 1 minute and 30 seconds in and continues for 45 seconds out of a 50 minute audo.

    If you're talking about a playback controller within the rich media annotation (RMA) then you need to write your own widget in Flash or Flex, and then place the video and widget files using the multimedia "Add Flash" tool in Acrobat instead of the "Add Video" tool. Aside from a bunch of proprietary code to handle events, commenting and the API (which you can live without for basic play-pause-scrub applications), video RMAs are just an embedded SWF file containing an FLVPlayback component. The skin and the video file itself are added to the RMA as resource entries. You can build your own version and have it display whatever controls you want, provided you know how to write ActionScript!
    If you're talking about a controller that's external to the RMA (e.g. a series of links or buttons elsewhere on the page) then in the past you would use FLV video files and the 'cue points' feature that's built into Acrobat - however Adobe removed the ability to create FLV files in the latest version of CC, so unless you have CS6 or earlier it's a non-starter. Instead you can manually set playback start points using the special "multimedia operations" link action in your PDF - though stopping playback at a defined point is very difficult without FLV cues. For that you're back to writing your own widget.

  • How to add License Key For Integration Tool kit For SAP in Linux Server

    Dear Experts,
    We are Using BO XI R3.1 SP3 Enterprise Version ,Integration Tool Kit For SAP,Live Office.
    The Server is Linux Server.
    But while generating reports in Infoview it is giving error like ""_check that you are licensed to access SAP Data Source_".
    So we came to know that license Key might Expire for Integraton Tool Kit For SAP in Bo Server.
    So can you tell me how to add the license key For BO XI R3.1 SP3 Integration Tool Kit For SAP in Linux Server.
    Thanks & Regards,
    Venkat

    On Unix / Linux you should be able to leverage the response from Raphael and change:
    Location=%BOBJDIR%/bobje/data/.bobj/registry/software/business objects/suite 11.5/sap/keycode/.registry
    For more information verify the below link
    [How do you update the SAP Integration Kit license?;
    Regrads
    Pardhu

  • How to add a Border

    Hi!
    I want to know how to add a border to a particular column (Vertical) in the report. I have no clue, please help me.
    Thank you very much.
    null

    A partial solution:
    -- Select a border color, as suggested.
    -- Pull down Format/Border, and deselect
    the "top" and "bottom" buttons.
    This will get you vertical lines around all
    cells with data, but not cells with null
    values. Also (it's been a while since I
    looked at this in detail) this works nicely
    from the live previewer but doesn't work in
    all output formats - not HTML for instance,
    if I recall correctly. Depends on which
    type of output you need.
    If you have a lot of null cells, i.e. with
    no border, the lines is your best option.
    Done neatly it looks about the same.
    HTH.
    -- Allan Plumb

  • How to add a custom Attachment Category

    Hi All,
    When we add Attachement in standard apps pages( by clicking on Add Attachment Button)
    The Attachment Page will be opened,
    */oracle/apps/fnd/framework/attachments/webui/FND_ATTACH_UPLOAD_PAGE*
    When you add the attachments, you can mention the Category(from message choice, which will be pickup from a VO
    (oracle.apps.fnd.server.FndCategoryNameVO)
    I would like to add a custom category. How to add it.
    I have got an option of Adding a new category from "Application Developer" -> "Attachments" -> "Categories"
    I could add the categories, But how to get those newly added categories in a standard apps page,
    Eg. /oracle/apps/pon/negotiation/creation/webui/ponDefineHdrPG
    Thanks.
    With Regards,
    Kali.

    If you're talking about a playback controller within the rich media annotation (RMA) then you need to write your own widget in Flash or Flex, and then place the video and widget files using the multimedia "Add Flash" tool in Acrobat instead of the "Add Video" tool. Aside from a bunch of proprietary code to handle events, commenting and the API (which you can live without for basic play-pause-scrub applications), video RMAs are just an embedded SWF file containing an FLVPlayback component. The skin and the video file itself are added to the RMA as resource entries. You can build your own version and have it display whatever controls you want, provided you know how to write ActionScript!
    If you're talking about a controller that's external to the RMA (e.g. a series of links or buttons elsewhere on the page) then in the past you would use FLV video files and the 'cue points' feature that's built into Acrobat - however Adobe removed the ability to create FLV files in the latest version of CC, so unless you have CS6 or earlier it's a non-starter. Instead you can manually set playback start points using the special "multimedia operations" link action in your PDF - though stopping playback at a defined point is very difficult without FLV cues. For that you're back to writing your own widget.

  • How to add a Quick Search Region of the shuttle

    JHeadstart 10.1.3.1.26
    Help me! Help me! Help me!
    How does add a Quick Search Region of the shuttle
    http://cid-857a1e2135747b0c.spaces.live.com/?_c11_PhotoAlbum_spaHandler=TWljcm9zb2Z0LlNwYWNlcy5XZWIuUGFydHMuUGhvdG9BbGJ1bS5GdWxsTW9kZUNvbnRyb2xsZXI%24&_c11_PhotoAlbum_spaFolderID=cns!857A1E2135747B0C!112&_c11_PhotoAlbum_startingImageIndex=&_c11_PhotoAlbum_commentsExpand=&_c11_PhotoAlbum_addCommentExpand=&_c11_PhotoAlbum_addCommentFocus=&_c=PhotoAlbum
    Message was edited by:
    user589457

    JHeadstart 10.1.3.1.26
    Help me! Help me! Help me!
    How does add a Quick Search Region of the shuttle
    http://cid-857a1e2135747b0c.spaces.live.com/?_c11_PhotoAlbum_spaHandler=TWljcm9zb2Z0LlNwYWNlcy5XZWIuUGFydHMuUGhvdG9BbGJ1bS5GdWxsTW9kZUNvbnRyb2xsZXI%24&_c11_PhotoAlbum_spaFolderID=cns!857A1E2135747B0C!112&_c11_PhotoAlbum_startingImageIndex=&_c11_PhotoAlbum_commentsExpand=&_c11_PhotoAlbum_addCommentExpand=&_c11_PhotoAlbum_addCommentFocus=&_c=PhotoAlbum
    Message was edited by:
    user589457

  • Create Tabular Form wizard - how to add rows to Table / View Owner list?

    Create Tabular Form wizard asks to choose "Table / View Owner"
    How to add additional schemas/users to this "Table / View Owner" dropdown list?

    Next step:
    I tried to create 2nd application - and it sees and allows to select from schemas I added in previous step.
    Then I tried to add 1 more schema - and 2nd application can't see it...
    I create 3rd application and select 1st schema (assigned when workspace was created) - and it sees only this one schema
    I create 4th application and select another schema (added in previous steps) - and it sees 2 schemas from 4 assigned
    what is this?
    how to live with it?

  • How to add dll file in plugin

    Hi everybody,
    I have a short question concerning the plug-in.
    I created a plug-in  using visual studio 2005 for Adobe effect cs4
    but i want to add dll on that plugin so,how to add dll in that plugin
    please help me!!!!
    Thanks

    Any other dependencies apart from C/C++ runtime, for example cuda
    runtime which you cannot link against statically - you have to copy it
    into After Effect support files, where the executable lives (or in
    windows library directory, but that i would rather not do)!
    Am 19.06.2011 16:15, schrieb shachar carmi:
    to include external dependencies in the plug-in, go to:
    Project Properties -->  C/C++ -->  Code Generation
    and change the "Runtime Library" to "/MT"
    this should make the compiler include the needed code from other DLLs in your code.

  • How to add a sound on some slides?

    How to add a sound on some slides? Not only one slide and not all the slideshow?
    Is it possible? It must be!

    Keynote is not Powerpoint and vice versa. The way music is currently handled in Keynote has been explained. If you wish music to play across only a few contiguous slides, you make them a seperate file and hyperlink to them using an object for the hyperlink.
    Once built, and properly used, the transition from one set of slides to the next set is smooth and the audience will not know (or care) if there is one, two or fifty hyperlinked files behind the curtain. What they see is the content, the message and the effective use of a visuals to backup your actual live presentation. The files you create are not the presentation, you and all you bring to the audience are the presentation.  You are simply using a tool to assist youself to help your audience better understand your message.
    Using Keynote is found by many presenters to be an easier application to use. If you find Powerpoint easier, by all means use it. Your message will be basically the same to your audience, if done properly.
    Feedback is a good way to ask for changes but given the rate of change, learning those few simple workarounds and using them effectively will help you use Keynote (or Powerpoint - yes there are limitations there too) to easily put your point across. Your audience will sense your frustrations as a distraction so it is better to accept the few limitations and make your presentation shine in spite of them.
    Good luck.

  • How to add a drop shipper / supplier?

    I have a site in trial mode that I need to finish for a client. I cannot seem to find how to add a Drop Shipper / Supplier. I found this: http://kb.worldsecuresystems.com/837/cpsid_83718.html   (shows you how to SELECT a supplier. )
    This is NOT what I need. I need to know how to ADD a supplier. The product he is trying to sell is Herbalogica...
    PLEASE! Any help in appreciate, I am trying to go live in the next 2 weeks!
    Thanks!

    Thank you very very much! I was surprised that I couldn't find an answer to this in the forum or videos. I hope now that this is in the forum, and answered it helps anyone else who looks.
    Thank you so much!
    http://www.xenointernational.com/

  • How to add bangla keyboard

    I am live in Bangladesh and I u am use iPhone 4s Ios 7.1.2 . I need bangla keyboard how to add bangla keyboard.

    Try the Keyman app.

Maybe you are looking for

  • WebdynproJava Components giving error while migrating from NWDS SP03 toSP09

    Hi, The original DC's were developed in lower NWDS patch level, currently i have upgraded the patch level of NWDS to 09 and importing the Wed Dynpro components from NWDI; but some of the DC's are proper but some are giving error. I tried Project buil

  • IPhoto seems to be exporting blank invisible files

    I've exported files from iPhoto (as .jpg) to use with a digital photo frame. I copied the 126 files from the finder to a card (and later to a new thumb drive in case the problem was the card). In both cases, when I put the media into the photo frame,

  • Mac mini (Mid 2010) GPU driver for XP.

    For some reasons, I need to use and virtual XP. And for some reasons, I contacted nVidia but it seems they don't know anything about it either. It has a GeForce 320M video card. I hope you could help me. Tia.

  • OMJJ update Control

    I am trying to add the X for the REC in the field in OMJJ for mvmt type 651.  My problem that I am trying to correct is I have a return sales order that is returning free of charge item and I am receiving the error message that 651 X L update control

  • Grayed out, unplayable songs and missing album art on iPhone after 5.1 update with iTunes 10.6

    I have been having these problems on my iPhone since the above updates. First, the grayed out songs:  I have my iTunes account set to sync over the air with wifi. I charge my iPhone overnight, but sometimes when I unplug the iPhone in the morning, a