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

Similar Messages

  • Adding Two Spheres to Same Transform Group

    Should be a simple question. How do I add two spheres to the same TransformGroup?
    With this code, only one sphere is displayed:
    TransformGroup tg = new TransformGroup();
    Sphere sphere001 = new Sphere(0.1f);
    Vector3f vector = new Vector3f(0.0f, 0.0f, 0.0f);
    Transform3D transform = new Transform3D();
    transform.setTranslation(vector);
    tg.setTransform(transform);
    tg.addChild(sphere001);
    Sphere sphere002 = new Sphere(0.1f);
    Vector3f vector002 = new Vector3f(0.0f, 0.5f, 0.0f);
    Transform3D transform2 = new Transform3D();
    transform2.setTranslation(vector002);
    tg.setTransform(transform2);
    tg.addChild(sphere002);

    Not totally sure but i think the second tg.setTransform() overwrites the previous transform thus both spheres are transformed to the same insertion point, so the 2nd sphere is "covering" the 1st? Maybe each transform group can only apply 1 common set of transform on all child objects.
    I had a similar problem and the following works for me:
    Try putting the 2 spheres in seperate BranchGroups, this ensures that there are 2 independent transforms. You can then add the 2 BranchGroups to either your SimpleUniverse to be displayed (i'm guessing thats your objective) or even to another common TransformGroup (say you want the 2 spheres to be inserted at 2 differnt points but then moved together to another location)
    //1st BranchGroup contains some Transform Group
    BranchGroup bg1 = new BranchGroup();
    TransformGroup tg1 = new TransformGroup();
    Sphere sphere001 = new Sphere(0.1f);
    Vector3f vector = new Vector3f(0.0f, 0.0f, 0.0f);
    Transform3D transform = new Transform3D();
    transform.setTranslation(vector);
    tg1.setTransform(transform);
    tg1.addChild(sphere001);
    bg1.addChild(tg1);
    //2nd BranchGroup constains another Transform Group
    BranchGroup bg2 = new BranchGroup();
    TransformGroup tg2 = new TransformGroup();
    Sphere sphere002 = new Sphere(0.1f);
    Vector3f vector002 = new Vector3f(0.0f, 0.5f, 0.0f);
    Transform3D transform2 = new Transform3D();
    transform2.setTranslation(vector002);
    tg2.setTransform(transform2);
    tg2.addChild(sphere002);
    bg2.addChild(tg2);
    //eg, moving the 2 spheres together after they are inserted in different places
    TransformGroup moveTogether = new TransformGroup();
    Vector3f vector003 = new Vector3f(0.2f, 0.2f, 0.2f);
    Transform3D transform3 = new Transform3D();
    transform3.setTranslation(vector003 );
    moveTogether.addChild(bg1);
    moveTogether.addChild(bg2);

  • Problem in Adding two buttons under same column header (in JTable)

    Hi,
    I have a JTable and to a particular column i want to add two buttons.
    Here the two buttons should be under the same column header and i need to add listners to these.
    Any idea how to do this?
    Thanks & regards
    Neel

    Of course as your header is drawn by a renderer, the buttons don't actually work, but you can listen for mouse clicks within the area of the header and see which button the mouse position was over.
    See the Java Table Sorter Demo code for how to add a mouse listener to the header...
    http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/index.html#TableSorterDemo
    ....and from there you should be able to determine where in the component the click occured by using the getX() and getY() methods of the MouseEvent to determine which button in the renderer component was clicked. Use something like Rectangle.contains() to match the click location against the buttons.

  • Can't put two 5508 WLCs in the same RF group

    Hi experts,
    I have two 5508 WLCs and I want them to be backup to each other. I put in the same "RF Group Name" and even the same "Default Mobility Domain Name" however under Wireless -> 802.11b/g/n -> RRM -> RF Grouping each controller still only have themselves as the only memter to the group.
    Two controllers are having management IPs on the same subnet 192.168.161.x/24. AP-manager interfaces are in the same network as well. They can ping each other fine. The following screen shots show the current relavent config on the controller:
    I do have two controllers in the same mobility group and they are both showing up...
    Does anyone know why they can't add each other to the RF group? All other settings are pretty much default...
    Thanks!

    Hi,
    is there a chance that one of the 2 WLC doesn't contain any access point ? Or that the APs from one WLC are not physically close to the APs of the second WLC ?
    The point of RF grouping is to exchange RF information, to make RRM decisions together and to know what ap is a rogue and which is not. RF group information travels over the air from AP to AP.
    So if a wlc has no ap of if its APs are not close to those of the other WLC there is both no point in grouping with the other WLC in rf group and also no technical way of doing so.
    Regards,
    Nicolas
    ===
    Don't forget to rate answers that you find useful

  • Vendor payment having two bank accounts in same branch, through APP

    Hi,
    I want to make payments to a particular vendor who has two bank accounts in the same branch.
    Also his invoice says to pay 40% to one account and 60% of invoice amount to other account
    How should i move forward especially when making payments through APP.
    Kindly help.
    Regards,
    Parin Vadodaria

    thanks,
    It is allowing me to put the partner bank type in FBL1N but my query is:
    If two line items generated during FB60 it should allow me to assign different Partner Bank for different line items on the screen of FB60....
    Is that possible?
    Thanking You,
    Parin

  • Can we assign two repeating frames to have the same source(group)?

    hi all,
    can we assign two repeating frames to have the same source(group)?..pls reply soon... bye..

    You can assign the same source group to two repeating frames.
    For more information on repeating frames, refer to the Oracle Reports Building Reports manual available on OTN: http://www.oracle.com/technology/documentation/devsuite.html

  • 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

  • Printout amount showing differently for two vendors of same group

    hi ,
    i am facing a problem . we have two imported vendors created on 2004 belongs to same vendor group.
    order currency for both vendors is : USD.
    when we give print out for PO,
    for one vendor it is giving as :12,200.00 USD
    for another vendor it is showing as :13.500,00 USD
    i want to make both the vendors in same notation .
    can any one suggest where diference in settings is .
    rgds
    Chalam

    hi Simha,
    this could be controlled by the country of the vendors, pls. have a look which countries are assigend. In transaction OY01 you can check the country settings for decimals and thousands.
    hope this helps
    ec

  • Can we give same Excise Group to two diff.  Plant within same company code

    Hi,
    Can anyone please tell that whether we can assign same Excise Group to two different plants within the same company code in SAP.
    Regards,

    Yes you can use but, you shouldn't use same excise group for two different plants in one company code, if their physical location is different.
    As many excise report are fetched on the basis of excise group, there it will show combined values for both plants, whcih may not be acceptable to exices authorities.
    Regards,
    Sachendra Singh

  • Using two boxes at the same time

    before the update i was using two boxes at home one for the kids and one for me after the update i can only use one box is this right

    2 boxes on the new software work better than on the classic software.  The only problems you will have is if you have the Multicast, the system does not seem very keen on the idea of having 2 multicast boxes on the same account.  You can avoid this problem by declining the software update on the second box.

  • WebLogic interrupts in two box cluster

              News group: weblogic.developer.interest.clustering
              Subject: WebLogic interrupts in two box cluster
              Hi,
              We have a production environment configured as a single cluster of four WebLogic
              servers using the Apache Proxy plugin. Two of the servers are located here and
              two are located across town (primary and backup) on Sun e10K boxes.
              In our testing environment we have a single cluster of two WebLogic servers running
              on a single box.
              For some reason when we are running in the production environment processing just
              stops (for about 33 seconds but sometimes over 2 minutes) and causes JTA timeouts.
              I have observed this during the create() of a stateless session bean, but I have
              been "told" that it happens randomly. This has NEVER happend in the test environment.
              Some of the session EJB create() methods are calling 4 other EJBs. I know that
              JNDI look ups are costly (average between 320ms and 550ms) but that doesn't get
              us to 33 seconds.
              Now for the constraints:
              We are not allowed to have an initial pool of EJBs (don't ask).
              We are not allowed to have local interfaces on the EJBs (don't ask).
              I am not allowed to see the source code (don't ask) to find out if a UserTransaction
              has been set.
              Some questions:
              If a UserTransaction has not been set, will WebLogic ALWAYS create the the other
              EJBs that the stateless session bean calls on the same server (collocated) instance
              or will they go across the wire to the next available server (because of the remote
              interfaces and the home objects having the load balancing logic)? (Note: the
              EJB descriptor may have transaction delineation defined on the EJBs participating
              in the transaction and the configuration we are using only provides round robin
              load balancing).
              Will the home objects requested by the session bean be created on the server the
              code is currently running (collocated) on or will any server with the distributed
              JNDI tree be allowed to provide the home object?
              If the above could happen, then paragraph 2 on page 4-10 of "Understanding Object
              Clustering" (Bea WebLogic Server 6.0) might come in to play where we have remote
              replicas adding to network overhead for the duration of the transaction. Since
              the processors on all the boxes appear to be more or less idle and there is loads
              of RAM available... Also I was "told" this only happens under load (100 simultaneous
              hits).
              Could we be falling into a convoying condition? Does the whole cluster stop when
              this condition happens or does just the single instance stop? If we have one
              server participating in the same transaction as another server would that stop
              the whole cluster? If we have 4 EJBs and load balancing decides all servers are
              participating in the same transaction (round robin on 4 servers gets all of them
              in the game), would that stop the whole cluster while data I/O flows across the
              wire?
              When an initial instance of an EJB is created (initial pool size), does the entire
              cluster get informed or does each server independantly manage its own pool? What
              about EJB instances when replica-aware EJBObject stubs are used. Documentation
              states that the stub is free to route any call to any server that hosts the bean,
              could this also bring more than one server into the same transaction?
              Other groups are looking into HTTP Session replication as a possible cause...
              Thanks for any thoughts,
              Ian
              

              Some results:
              The script directly targeted a single weblogic instance within the OT cluster,
              presumably taking the Alteon switch and (perhaps? probably?) the clustering out
              of the equation.
              The test was the bro regle script with 1 concurrent user (same test run in OT
              on October 14 overnight). The results below show weblogic.transaction.internal.TimedOutException
              caught by this application.
              2003-10-15 17:35:52,859
              2003-10-15 18:02:00,433
              2003-10-15 18:27:42,110
              2003-10-15 19:02:22,767
              2003-10-15 19:28:05,193
              2003-10-15 20:28:28,584
              2003-10-15 21:03:07,879
              2003-10-15 21:28:50,622
              2003-10-15 22:03:29,683
              2003-10-15 22:28:51,065
              these timeouts are falling roughly 25 minutes apart.
              Does this help at all?
              Ian
              "Ian Douglas" <[email protected]> wrote:
              >
              >Thanks,
              >
              >Will do.
              >
              >This may be OS related as we have found, that with a single automated
              >user, that
              >it interrupts every 60 minutes for the duration of some process.
              >
              >Ian
              >
              >"Sree Bodapati" <[email protected]> wrote:
              >>Take multiple threaddumps when server appears to have stopped processing.
              >>Threaddumps would tell you whats happening.
              >>
              >>
              >>
              >>
              >>"Ian Douglas" <[email protected]> wrote in message
              >>news:[email protected]...
              >>>
              >>> Any news on this one? A 30 second time out is pretty long...
              >>>
              >>> Ian
              >>>
              >>> "Ian Douglas" <[email protected]> wrote:
              >>> >
              >>> >News group: weblogic.developer.interest.clustering
              >>> >
              >>> >Subject: WebLogic interrupts in two box cluster
              >>> >
              >>> >Hi,
              >>> >
              >>> >We have a production environment configured as a single cluster of
              >>four
              >>> >WebLogic
              >>> >servers using the Apache Proxy plugin. Two of the servers are located
              >>> >here and
              >>> >two are located across town (primary and backup) on Sun e10K boxes.
              >>> >
              >>> >
              >>> >In our testing environment we have a single cluster of two WebLogic
              >>servers
              >>> >running
              >>> >on a single box.
              >>> >
              >>> >For some reason when we are running in the production environment
              >>processing
              >>> >just
              >>> >stops (for about 33 seconds but sometimes over 2 minutes) and causes
              >>> >JTA timeouts.
              >>> > I have observed this during the create() of a stateless session
              >bean,
              >>> >but I have
              >>> >been "told" that it happens randomly. This has NEVER happend in
              >the
              >>> >test environment.
              >>> >
              >>> >Some of the session EJB create() methods are calling 4 other EJBs.
              >> I
              >>> >know that
              >>> >JNDI look ups are costly (average between 320ms and 550ms) but that
              >>doesn't
              >>> >get
              >>> >us to 33 seconds.
              >>> >
              >>> >Now for the constraints:
              >>> >We are not allowed to have an initial pool of EJBs (don't ask).
              >>> >We are not allowed to have local interfaces on the EJBs (don't ask).
              >>> >
              >>> >I am not allowed to see the source code (don't ask) to find out if
              >>a
              >>> >UserTransaction
              >>> >has been set.
              >>> >
              >>> >Some questions:
              >>> >If a UserTransaction has not been set, will WebLogic ALWAYS create
              >>the
              >>> >the other
              >>> >EJBs that the stateless session bean calls on the same server
              >>(collocated)
              >>> >instance
              >>> >or will they go across the wire to the next available server (because
              >>> >of the remote
              >>> >interfaces and the home objects having the load balancing logic)?
              >> (Note:
              >>> >the
              >>> >EJB descriptor may have transaction delineation defined on the EJBs
              >>participating
              >>> >in the transaction and the configuration we are using only provides
              >>round
              >>> >robin
              >>> >load balancing).
              >>> >
              >>> >Will the home objects requested by the session bean be created on
              >>the
              >>> >server the
              >>> >code is currently running (collocated) on or will any server with
              >>the
              >>> >distributed
              >>> >JNDI tree be allowed to provide the home object?
              >>> >
              >>> >If the above could happen, then paragraph 2 on page 4-10 of
              >>"Understanding
              >>> >Object
              >>> >Clustering" (Bea WebLogic Server 6.0) might come in to play where
              >>we
              >>> >have remote
              >>> >replicas adding to network overhead for the duration of the transaction.
              >>> > Since
              >>> >the processors on all the boxes appear to be more or less idle and
              >>there
              >>> >is loads
              >>> >of RAM available... Also I was "told" this only happens under load
              >>(100
              >>> >simultaneous
              >>> >hits).
              >>> >
              >>> >Could we be falling into a convoying condition? Does the whole cluster
              >>> >stop when
              >>> >this condition happens or does just the single instance stop? If
              >>we
              >>> >have one
              >>> >server participating in the same transaction as another server would
              >>> >that stop
              >>> >the whole cluster? If we have 4 EJBs and load balancing decides
              >all
              >>> >servers are
              >>> >participating in the same transaction (round robin on 4 servers gets
              >>> >all of them
              >>> >in the game), would that stop the whole cluster while data I/O flows
              >>> >across the
              >>> >wire?
              >>> >
              >>> >When an initial instance of an EJB is created (initial pool size),
              >>does
              >>> >the entire
              >>> >cluster get informed or does each server independantly manage its
              >>own
              >>> >pool? What
              >>> >about EJB instances when replica-aware EJBObject stubs are used.
              >>Documentation
              >>> >states that the stub is free to route any call to any server that
              >>hosts
              >>> >the bean,
              >>> >could this also bring more than one server into the same transaction?
              >>> >
              >>> >Other groups are looking into HTTP Session replication as a possible
              >>> >cause...
              >>> >
              >>> >Thanks for any thoughts,
              >>> >Ian
              >>>
              >>
              >>
              >
              

  • Monitoring two servers with same IIS configuration using SCOM

    Hello,
    We have two servers which has the same IIS configuration including sites names, how do we configure APM to monitor and get events captured on two different monitors on SCOM 2012 R2.
    Thank you, Anand
    Anand Franklin

    Hi Anand,
    There is no problem at all, if applications IIS paths (Web Site names + Web application name in IIS) absolutely match. Make sure both servers have SCOM Agent installed and connected to the same Management Group.
    In .NET Application Performance Monitoring template just keep Target Group field blank (it's blank by default) - that will mean the application will be monitored on each server within Management Group where it's discovered. The same configuration of
    APM monitoring will be used for all app instances.
    If you want to monitor the app only on two servers, and at the same time the app is hosted on more than these two boxes, you can create Windows Computer group populated with appropriate servers and specify this group as Target for APM monitoring.
    If you want to differentiate APM configuration for specific app instances, you should create several Windows Computer groups and bind each group with separate configuration - in this case you will have to run .NET Application Monitoring template several
    times, picking up the same app, but changing APM settings and setting new Target Group.
    Igor Savchenko, VIAcode Consulting LLC (http://www.viacode.com/)

  • I am trying to install windows 7 to my Macbook pro with bootcamp but every time I open bootcamp I am only able to check the first two boxes but not the third one saying "install or remove Windows 7", any solutions ?

    Hi, I am trying to install Windows on my MacBook Pro with bootcamp. Every time I open bootcamp I am only able to check the first two boxes but not the third one saying "install or remove Windows 7". I did this before using the same computer and the same hard drive so I am not sure why this is happening now but did´t happen then. Any solutions ?

    Was your Bootcamp info.plist manipulated to change any options?

  • I have duplicate email accounts icons, NOT recieving duplicate emails just two of the same email icons

    I had a blackberry curve 8310 with ATT. I transferred carriers and got a new bold 9650 with sprint. I transferred data from old curve to new bold. But the old email didn't work on new bold. So I went to set up BIS with sprint, it added email account that works. But now I have two icons with the same email address. One works and one doesn't so it is confusing when I am selecting address to compose email. How do I delete email icon/account. I hid the icons but when composing email, it still shows two of the same email in the From:

    Hi and Welcome to the Forums!!
    I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2 each should result in a message coming to your BB...please wait for that before proceeding to the next step):
    1) Register HRT
    KB00510 How to register a BlackBerry smartphone with the wireless network
    2) Delete and Resend Service Books
    KB05000Delete the service book for the BlackBerry Internet Service email account from the BlackBerry smartphone
    KB02830 Send the service books for the BlackBerry Internet Service
    3) Batt Pull Reboot
    Anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Hopefully that will get things going again for you!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name

    can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name. My original external has an error and needs to be reformatted but I dont want to lose this informations its my entire Itunes library.

    Sounds like the source drive is formatted as case sensitive and the destination drive is not. The preferred format for OS X is case insensitive unless there is a compelling reason to go case sensitive.
    Why can't you change the filename? Is it because the source drive is having problems?  If so is this happening with only one or two or a few files? If so the best thing would be to copy those over individually and then rename them on the destination drive.
    If it is more then you can do manually and you can't change the name on the source you will have to reformat the destination as case sensitive.
    Btw this group is for discussion of the Support Communities itself, you;d do better posting to Lion group. I'll see if a host will move it.

Maybe you are looking for