Color cube changes color

The color cube in the code below keeps changing the color of all the sides, but the top and buttom one.
The colors should remain the same.
Can someone explain, why the colors do change itself?
import java.applet.Applet;
import java.awt.BorderLayout;
import java.awt.Frame;
import java.awt.event.*;
import java.awt.GraphicsConfiguration;
import com.sun.j3d.utils.applet.MainFrame;
import com.sun.j3d.utils.geometry.ColorCube;
import com.sun.j3d.utils.universe.*;
import javax.media.j3d.*;
import javax.vecmath.*;
//   HelloJava3Dc renders a single, rotating cube. 
public class HelloJava3Dd3 extends Applet {
     public BranchGroup createSceneGraph() {
     // Create the root of the branch graph
     BranchGroup objRoot = new BranchGroup();
     // rotate object has composited transformation matrix
     Transform3D rotate = new Transform3D();
     Transform3D tempRotate = new Transform3D();
        rotate.rotX(Math.PI/4.0d);
     tempRotate.rotY(Math.PI/5.0d);
        rotate.mul(tempRotate);
     TransformGroup objRotate = new TransformGroup(rotate);
     // Create the transform group node and initialize it to the
     // identity.  Enable the TRANSFORM_WRITE capability so that
     // our behavior code can modify it at runtime.  Add it to the
     // root of the subgraph.
     TransformGroup objSpin = new TransformGroup();
     objSpin.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
     objRoot.addChild(objRotate);
     objRotate.addChild(objSpin);
     // Create a simple shape leaf node, add it to the scene graph.
     // ColorCube is a Convenience Utility class
     objSpin.addChild(new ColorCube(0.4));
     // Create a new Behavior object that will perform the desired
     // operation on the specified transform object and add it into
     // the scene graph.
     Transform3D yAxis = new Transform3D();
     Alpha rotationAlpha = new Alpha(-1, 4000);
     Alpha rotationBeta = new Alpha(-1, 4000);
     RotationInterpolator rotator =
         new RotationInterpolator(rotationAlpha, objSpin, yAxis,
                         0.0f, (float) Math.PI*1.0f);
     // a bounding sphere specifies a region a behavior is active
     // create a sphere centered at the origin with radius of 1
     BoundingSphere bounds = new BoundingSphere();
     rotator.setSchedulingBounds(bounds);
     objSpin.addChild(rotator);
     return objRoot;
    } // end of CreateSceneGraph method of HelloJava3Dd
    public HelloJava3Dd3() {
        setLayout(new BorderLayout());
        GraphicsConfiguration config =
           SimpleUniverse.getPreferredConfiguration();
        Canvas3D canvas3D = new Canvas3D(config);
        add("Center", canvas3D);
        BranchGroup scene = createSceneGraph();
     scene.compile();
        // SimpleUniverse is a Convenience Utility class
        SimpleUniverse simpleU = new SimpleUniverse(canvas3D);
     // This will move the ViewPlatform back a bit so the
     // objects in the scene can be viewed.
        simpleU.getViewingPlatform().setNominalViewingTransform();
        simpleU.addBranchGraph(scene);
   } // end of HelloJava3Dd (constructor)
    //  The following allows this to be run as an application
    //  as well as an applet
    public static void main(String[] args) {
        Frame frame = new MainFrame(new HelloJava3Dd3(), 256, 256);
    } // end of main (method of HelloJava3D)
} // end of class HelloJava3Dd

Thanks for your reply. I need some clarification. I am in my workbook. In the BEX format toolbar I have changed the workbook to no color. Now all cells have no color. What are the steps now to change the results rows to be yellow again?  Where do I change "The Workbook results row is the Style type SAPBEXaggItem...you can change the background for thisOr steps to"
Full points will be rewarded.

Similar Messages

  • BI 7.0- Filled Cube- Change Attribute as NAVIGATIONAL and for BEX

    Hi,
    We are on BI 7.0.
    I have the following task:
    Making an Attribute NAVIGATIONAL and making it available in the BEX for a Filled LIVE Cube.
    Questions:
    1.  Is it done through Remodelling or is it just change the attribute to NAV and add the Attribute under NAV attribute while creating Cube?  As said above this is a live cube with data in it.
    2.  Does it need any other adjustments or steps after this point.
    Steps to make a Attribute Naviagtional :-> Need Verification-
    1.  Change the Attribute from DIS to NAV in InfoObject maintenance.
    2.  I know there is the second step to add NAV attribute in Cube. I am doubtful, can someone confirm.  Under the InfoCube-> Change, add the attribute under NAV Attributes.
    Will appreciate your replies.
    -TC

    1. Is it done through Remodelling or is it just change the attribute to NAV and add the Attribute under NAV attribute while creating Cube? As said above this is a live cube with data in it.
    no need of remodeling, do it normally
    2. Does it need any other adjustments or steps after this point.
    activate yr Infoobject (its not gonna impact yr data modelling at all because NAV or Display setting is set for BEx)
    Steps to make a Attribute Naviagtional :-> Need Verification-
    1. Change the Attribute from DIS to NAV in InfoObject maintenance.
    2. I know there is the second step to add NAV attribute in Cube. I am doubtful, can someone confirm. Under the InfoCube-> Change, add the attribute under NAV Attributes.
    actually u could make attribute NAV in cube only when if its set so at infoobject level otherwise NAV checkbox wont be appeared in edit mode in infocube

  • Browse cube - Change User: The following system error occurred: The user name or password is incorrect.

    Environment: Windows Server 2012, SSAS 2012 (11.0.5058)
    I have two identical SSAS Servers in the same domain. The SSAS project on machine B is a copy from machine A.
    On machine A I can browse the cube using a different user using the Change User button. But this doesn't work on machine B. Any suggestions where to look?
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

    Hi SSISJoost,
    According to your description, you can browse the SQL Server Analysis Services cube in MachineA using the user IZP\bis2, the problem is that you cannot browse the same cube on MachineB using the same user, the error message is that "the username
    or password is incorrect", right?
    In a SSAS project, the Browser button is used to browse the deployed cube. So in your scenario, the issue can be caused by that you have only copy the project from machineA to machineB without deploy it. To avoid this issue, you can deploy this project to
    ServerB. Or create an Analysis Services Project based on an existing cube on ServerA. Please refer to the link below to see the details.
    https://technet.microsoft.com/en-us/library/ms365361%28v=sql.105%29.aspx?f=255&MSPPError=-2147217396
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • How can changes happened during the cube activation  be nullified.

    Hi all,
    I was trying to activate some business content infocube in the dev.server. I selectecd data flow before. In the process I collected all infoobjects associated with the cube and all the info-objects which are associated with that info-objects. When I installed the cube some of the customised business content info-objects associated with the cube got over written by the delivered version. We dont have the documentation which provides the information on which are all the infoobjects that were modified and which were not.
    Can any one give some idea how the changes happened during the cube activation can be nullified.Or how can I find out which were the info objects which were customised before business content was again activated and which are those changes.
    Regards,
    Anand

    Hi Anand,
    As long as you did not activate the Cube (= not activate BC, but cube itself)
    you can compare the changed cube with the active cube (Change cube screen, use button Version Comparison)
    Udo

  • Unable to load data into Planning cube

    Hi,
    I am trying to load data into a planning cube using a DTP.
    But the system throws a message saying that, real time data loading cannot be performed to the planning cube.
    What would be the possible reason for the same?
    Thanks & Regards,
    Surjit P

    Hi Surjit,
    To load data into cube using DTP, it should be put in loading mode only.
    The real time cube behaviour is set to planning mode only when the data is input to the cube via the planning layouts / or through the Fileupload program.
    You can change the behaviour of the cube in RSA1 -> Right click on the cube -> Change Real-time load behaviour and select the first option(real time cube can be loaded with data; planning not allowed)
    Best Rgds
    Shyam
    Edited by: Syam K on Mar 14, 2008 7:57 AM
    Edited by: Syam K on Mar 14, 2008 7:59 AM

  • Automatically trigger the event to load data from Planning cube to Standard Cube

    Hello,
    We have a below set up in our system..
    1. A Planning BEx query using which user makes certain entries and writes back data to the planning cube.
    2. An actual reporting cube which gets data from the planning cube above.
    Now, what we want to do is to automate the data load from Planning cube to Reporting cube.
    This involves 2 things..
    1. Change the setting " Change real time load behaviour " of the planing cube to Planning.
    2. Trigger the DTP which loads data from Planning cube to reporting cube.
    We want to automate the above two steps...
    I have tried few things to achieve the same..
    1. Created an event in SM64,
    2. In the Planning cube "Manage" Screen,  clicked on "Subsequent Processing" and provided the event details. ( Not sure if its the correct place to provide the event detail ).
    3. Wrote a ABAP program which changes the setting of the planning cube (  " Change real time load behaviour " to Loading )
    4. Created a process chain, where we have used the event as a start variant, used the ABAP program as a next step, DTP run as the last step..
    This i hoped, would trigger the event as soon as a new request comes and sits in planning cube, which in turn would trigger the process chain which would load the data from Planning cube to reporting cube..
    This is not working. I dont think the event is triggering, and even if does i am not sure whether it will start the process chain automatically. Any ideas please ?

    hi,
    try to do the transformation directly in the input cube by using CR of type exit, more details :
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/43/1c3d0f31b70701e10000000a422035/content.htm
    hope it helps.

  • Addition of a field in a cube

    Hi
    I would like to know if I can add a field in a cube without deleting the data as I dont want previous data for this added field. I am just interested in the new data coming through Delta in the cube.
    Many Thanks.
    Kind Regards,
    Kate

    Hi Kate,
    You can proceed without deleting the data if you have the liberty of adding a new dimension and putting this char in the new dimension.
    If this is not possible then you can refer to the loopback process: create new cube > move data to the new cube > delete data from old cube > change and activate old cube > move data back to original cube.
    /people/dinesh.lalchand/blog/2006/02/07/loopback-process--follow-up
    Hope this helps...

  • Administrate virtual info cube with services

    hi, all,
    if you come across an existing virtual info cube with services, HOW can you find out the name of the function module, that provides the data?
    best regards
    neven

    hi..
    according to the below link..from help.sap.com...clicking on 'detail' pushbutton in cube--change screen..should give u the details(FM etc) u need..
    http://help.sap.com/saphelp_nw04/helpdata/en/62/d2e26b696b11d5b2f50050da4c74dc/content.htm
    Vishvesh

  • Transport error BRAIN 617 on import of Cube

    We got the following error while transporting Infocube which had data in teh target BI system.
    Error BRAIN 617 during after import handling of objects with type(s) CUBE
    Change involved addition of  a characteristic in the cube.
    We are in BI 7.0 SP 13.
    RN

    Hi
    Then please try to import that request again by selecting all 'import options' in option tab. If you have added one character in cube,i am assuming you have transported all other things (transfer rule,update rule & infosource)

  • Activation error on Multi Provider which has Non-cumulative Cube

    Hi,
    My company has upgraded the BI 7.0 from 3.5.
    It is working fine so far.
    But I met the below message and could not activate it when I generate the multi provider which has Non-cumulative Cube.
    Define the characteristics of the validity table for non-cumulatives (Message no. R7846)
    And then I checked the Single cube but Single cube has no error.
    I think this is program error and searched the notes in OSS but could not find.
    Does any expert know this issue?
    Thank you.

    Hi lee,
    validity slice tables need to be defined for cubes using non cumulative key figures.
    In this we need to specify the characteristic combination on which this table has be maintained.
    The maintanence can be done from cube change mode, menu bar extras--> maintain non cumulative values.
    This table constantly gets updated with validity dates as we upload data.
    An report on this can be seen in tcode RSDV.
    Naveen.A

  • Changing Fiscal Calendars in APO 4.0

    All,
    We need to change our Fiscal Period in APO.  When we make this change, do I have to copy the data to a backup cube, change the fiscal calendar, and then reload the data back into DP?
    I am on SCM 4.0.  We will be going to SCM 5.0 in February.  Will it be easier to make this change once we are on 5.0?  Or will the same process have to happen in 5.0 that is necessary in 4.0?

    Hi Monty,
    Changing the Fiscal Period (Fiscal Year Variant) in APO is only possible when the Fiscal Period is not assigned to any Time Bucket or Storage Bucket Profile. This means you need to extract the data in the Planning Area to a cube, deactivate the time series, unassign the Fiscal Year Variant before you can change the Fiscal Year variant.
    I am not sure if SCM 5.0 has made this process simpler. You need to check the Release Notes.
    Also please note there is a separate forum for SAP Advanced Planning & Optimization (SAP APO) now.
    Thanks,
    Somnath

  • XOQ-01600: OLAP DML error "ORA-33858: 11g Cube

    Hi All ,
    I was trying to apply the cube changes after changing the sparsity definition against one of the dimension under Storage tab and it is throwing below error .
    Any reason ?
    An error has occurred on the server
    Error class: Express Failure
    Server error descriptions:
    DPR: cannot create server cursor, Generic at TxsOqDefinitionManager::generic<CommitRoot>
    INI: XOQ-01600: OLAP DML error "ORA-33858: The value of the ampersand-substitution expression is NA." while executing DML "SYS.AWXML!R11_MANAGE_CUBE('MARKET_SALES_CUBE_WORKING.CUBE' 'ALTER' 'NUMBER' SYS.AWXML!___R11_LONG_ARG_VALUE(SYS.AWXML!___R11_LONG_ARG_DIM 1) SYS.AWXML!___R11_LONG_ARG_VALUE(SYS.AWXML!___R11_LONG_ARG_DIM 2) 'TIME.DIMENSION' 'TIME.CALENDER.HIERARCHY' 'TIME.MONTHLY.LEVEL' 'COMPRESSED' 'YES' 'YES' 'MARKET_SALES_CUBE_WORKING.SOLVE.AGGREGATIONDEFINITION' 'NO')", Generic at TxsOqStdFormCommand::execute
    Thanks in advance,
    DxP

    I have seen this kind of error show up if you rename an object (e.g. a measure) and then make further modifications. Did that happen in your case? If you export the cube to XML, delete it from AWM, and then recreate it from XML, then it may resolve the problem. If not, and if it is preventing your from making progress, then I would open a service request since we usually need to enable tracing to resolve this class of error.

  • Changing Object Directory Entry of Infocube - urgent

    Hello -
    I have an infocube that is already assigned to a package (not $TMP).
    How can I reassign it to a different package. 
    When I try to reassign via Cube change, the package field is greyed out.
    I have deleted all data, deactivated the cube + aggregates.  There a re queries still attached to the cube though.  But cannot change the Object Directory Entry.
    Help solicited.
    thanks.
    -abhi

    Abhi
    In case of BW, there could be more than one package.
    One for Backend development (like cube, ODS, update rules, info objects etc) and one or more for Reports.
    So in ur case, the cube would always be alloted to the same package! You would only create new requests....
    let me know if you have more questions.
    prakash
    Assigning points on SDN is way of saying thanks!!

  • Business Area in 0PY_C02  cube

    Dear Support,
    I have designed number reports on cube 0PY_C02 , it is working fine last 2 years.
    There is new reqirement of business Area in cube . My query is how to add business area in cube because this live cube on production. 
    1.   0BUS_AREA is coming in PSA  & assigned up to info Source . Should i add one charcetristic in cube  & change update rule.
    or
    2.   0ORGUNIT__0BUS_AREA  is navigational attribute , but it is unchecked ( off) .Should i use is .
    Because after addition of business area , i should not have any impact on previous query . & business area should be display for old also.
    Regards,
    Anand Mehrotra.

    Hi Anand,
    You can check with business if they are OK with the business are of 0ORGUNIT (which is navigational) or they want the one which is being populated as part of transaction.
    If they are ok with the business area which is populated as navigational then you need to enable it at info object level and the also in the info cube level.
    if its used in MP then make sure its also enabled and identified in the MP as well.
    You need to collect the info cube and its transformations n DTP (if these get deactivated while performing this activity) in to New TR and transport it to production.
    In this case there is no need for you to change the existing design and queries.
    simply if business area is required in the queries you can add this and repair the queries.
    second case :
    If you are going to add Business area as a new info object to the IC dimensions then you need to change the Transformation, DTP and MP if any.
    for this you need to drop the data and reload the data which i dont think business with suggest.
    As per me check with business and take necessary action.
    Regards
    KP

  • SSAS cube role members magically disappear overnight

    Hello,
    We are running SQL Server 2008 SP1 CU4 and I have been experiencing an occasional issue whereby our cube role members disappear - resulting in the user-dashboards failing on our website, so I am keen to resolve this.
    Some background:
    -We have two roles, one with 2 members and one with about 15-20.  When the issue occurs, both roles lose their members but the roles themselves remain.
    -The SSAS database is set to do a full process every night at 11pm.
    -I deploy cube changes by backing up the cube from my development machine, and restoring to the server.  My dev machine is on a different Windows domain.  When I restore I select "overwrite security information" but am always very careful to select
    "Skip Membership".  The restores always complete successfully, and I can immediately re-process the cube and confirm that the original members are still there and functioning normally.
    -I suspect that this issue is related to the nightly re-process of the database, however I have tested this theory by checking the membership the day after I've completed a cube deployment and everything is still Ok.
    -This just happened again last night.  I reviewed the server logs and saw that the server rebooted last night at 9pm, followed by the cube re-process at 11pm.
    -I noted this morning that the role membership has a single SID listed, and I can confirm that this is the SID of my local user account on my local machine.  So it appears that when the issue exhibits itself, the cube is reverting back to the role membership
    contained in the restored database, even though I told it to skip membership.
    To fix it this morning, I re-added the members and have saved a script to automate the process next time it occurs.  I am aware I could run this script after every re-process just to be safe - but I'd rather stop unpredictably losing the configuration
    than automate the re-establishment of it!
    What gives!? Any suggestions appreciated.
    Michael

    Hi Abbas,
    We're clear on the difference between "build" and "process" right?
    In my case, the cube processes every night - whereas we only change the design of the cube occasionally, maybe once every 2-3 months - therefore we are only
    building it every 2 or 3 months.
    Because my dev machine is on a totally different domain to the SSAS server, I can't (or at least I didn't think I could) specify the accounts that are members of the various roles during development.  I do this with the aid of a script every time we
    deploy out a new version of the cube to the SSAS server.
    So, after a build and deploy - the cube role membership is perfectly fine and behaves as expected for all users.  The thing that's puzzling us is that the role membership occasionally appears to unpredictably revert to prior settings (i.e. reverting
    back to my deployed role membership config prior to running my script to set the correct role membership). 
    The cube can be running fine for several months and then suddenly I get a call in the morning about users not being able to access the cube.  I find that the server was rebooted overnight and the role memberships have disappeared - this is not an immediate
    result of a BIDS build/deploy as I think you are suggesting Abbas.
    This hasn't occurred again since my last post in March this year, fingers crossed the problem has gone away.
    Thanks,
    Michael

Maybe you are looking for

  • Command in cisco ASA to see security zones

    Hi there,  A basic question. I can't see security level and zone in show interface ip br command.  Is there any command which can be helpful.  Regards,  Yad Singh

  • JComboBox problem.

    Hi All, I have a JComboBox to which i added an actionlistener. On selecting 'New Data' it will popup another window to add a new data. This works fine when i use my mouse for selection where as when I use the keyboard for selection after the poped up

  • Is there a difference between NAT Traversal & NAT Transparency?

    What is the difference between NAT Traversal & NAT Transparency? And does (NAT-T) refers to NAT Traversal or NAT Transparency?

  • HT1338 how can I upgrade my Logic Pro 6

    I bought the Logic 6 years ago, how can I upgrade this now? robert

  • THINKVantage - Lack of documentation

    I am not able to discover, in all ThinkVantage documentation, the procedure to change the HD on my T41F-IT (from 25 to 320 Gb) , and reinstall the old HD content backup image  in the same HW with the new HD (of course, without loosing registered keys