Problem to "repaint" the 3D screen

Hi everyone, I wrote an application that moves some geometrical objects when the user click on them, using Picking. The situation was supposed to happens like this: after the user clicks on an object i translate it to a distant position in order to hide it, so the place where the objects were stays empty, then i wait for some seconds and other configurations (i mean other positions) of the objects appear.
The problem is that the place does not stays empty it keep the old frame (i mean the old positions configuration) during all time i wait and just after that the frame show the new configuration. I guess it something related to Thread.sleep() the method i use to wait some seconds.
So my question is: Is there other strategy to do this such thing i intend? Maybe something like �Repaint�. Since now thanks a lot. I hope to have made myself to understand due my poor English writing.
�der.

messengers, i'm writing the Behavior class but i got a doubt, how can i get the action that wakeup the Thread.sleep in order to pass to wakeuponBehaviorPost class?
The code i found is like this:
  public class MyBehaviorTranslation extends Behavior{
      MyBehaviorTranslation(Group root, Bounds bounds) {
        this.setSchedulingBounds(bounds);
        BranchGroup branchGroup = new BranchGroup();
        branchGroup.addChild(this);
        root.addChild(branchGroup);
      public void initialize(){
          // set initial wakeup condition
          this.wakeupOn(new WakeupOnBehaviorPost(???, 0));
          // set someIntegerValue to your specific value
          // null can be replaced by an specific Behavior Object to send this value
      // called by Java 3D when appropriate stimulus occures
      public void processStimulus(Enumeration criteria){
        // do what is necessary
        // resetup Behavior
         this.wakeupOn(new WakeupOnBehaviorPost(????, 0));
  }Thanks a lot since now.
�der.

Similar Messages

  • Problem in enabling the selection screen

    Hi ,
    I have problem in enabling the selection screen.
    i have radio button and based on the radio button i need to make the date field as mandatory.
    When i tried this with at selection screen on radio button group XXX, itu2019s not triggering.
    Could you please help me by resolving the above problem?
    Vijay

    Hi,
    see the sap documentation
    ... RADIOBUTTON GROUP group [USER-COMMAND fcode]
    Effect:
    This addition specifies that the input field is displayed as a radio button in the first position on the selection screen, and the output field is displayed next to it on the right. The radio button is selected if the value of para is "X" or "x". Otherwise, it is not selected.
    group is used to define the radio button group for the parameter. The name group is entered directly as a character string with a maximum of 4 characters. Within a selection screen, there must be a minimum of two parameters in the same radio button group. There cannot be more than one radio button group with the same name in one program, even if they are defined in different selection screens.
    The parameter must be specified with the type c and length 1. Explicit length specification using len is not permitted. If the addition TYPE is used, it can only be followed by the generic type c or a non-generic data type of type
    In a radio button group, only one parameter can be defined with the addition DEFAULT, and the specified value must be "X". By default, the first parameter in a radio button group is set to the value "X", and the rest are set to " ".
    The addition USER-COMMAND can be used to assign a function code fcode to the first parameter in a radio button group. The function code fcode must be specified directly, and have a maximum length of 20 characters. To evaluate the function code, an interface work area of the structure SSCRFIELDS from the ABAP Dictionary must be declared using the statement TABLES. When the user selects any radio button of the radio button group on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and transfers the function code fcode to the component ucomm of the interface work area sscrfields. If a function code used in the GUI status of the selection screen is specified for fcode, the selection screen processing is affected accordingly.
    Note:
    It is recommended to define the radio buttons of a radio button group directly underneath each other. If the selection screen also contains other elements, it is recommended to define each radio button group within a block surrounded by a frame.
    Regards,
    Venkatesh

  • Problem with transporting the enhancement screen.

    Hi,
    I have transported an enhancement project. The enhancement screen doesnt show up,instead it goes for a dump. How can i resolve this.
    Regards,
    Sathish.

    yeah u can change the package.
    check SE80 or se03 here u can change.
    <b>[code]IN SE80--->select PACKAGE option in the first LIST BOX
    and in the second list box give ur Local PACKAGE like $TMP, then u will get list of OBJECTS in that LOCAL PACKAGE.
    2.Select object which PACKAGE u want to change.
    3.Right click on that Object ,there u will get option like CHANGE PACKAGE.[/code]</b>
    [code]Do one thing, GOTO -->SE51 with program name and Screen --->GOTO(menu item) ->Object Dic.Entry> here u can assign new PACKAGE.[/code]
    Regards
    Prabhu

  • Is the 5c screen size bigger than 4s? i have vision problems

    I have vision problems and need the biggest screen Apple makes. Does the 5c's screen make a significant difference versus the 4s ?

    Hey blueliner15!
    I have a site for you that can help you answer that question:
    Apple - iPhone - Compare Models
    http://www.apple.com/iphone/compare/
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • Problem in writing the message from the return table

    Hi All,
    I have place the following piece of code to write what I have in a table to the screen:
    LOOP AT t_return INTO wa_return WHERE type = 'E'.
         lo_api_controller ?= wd_this->wd_get_api( ).
            CALL METHOD lo_api_controller->get_message_manager
              RECEIVING
                message_manager = lo_message_manager.
            lv_message_string = wa_return-message.
    *     report message
            CALL METHOD lo_message_manager->report_error_message
              EXPORTING
                message_text = lv_message_string.
    *        EXIT.
        ENDLOOP.
    now the problem is on the output screen it's only showing me the first line of the table and it's not going to the second line of the table t_return...
    Can you please see what I am doing wrong here.
    Thanks,
    Rajat

    try to concatenate all the message into a string.. and finally call the method. Also, search in WEB DYNPRO forum on this..
    LOOP AT t_return INTO wa_return WHERE type = 'E'.
         lo_api_controller ?= wd_this->wd_get_api( ).
            CALL METHOD lo_api_controller->get_message_manager
              RECEIVING
                message_manager = lo_message_manager.
            lv_message_string = wa_return-message.
    *     report message
            CALL METHOD lo_message_manager->report_error_message
              EXPORTING
                message_text = lv_message_string.
    *        EXIT.
        ENDLOOP.

  • Apple TV3 Not Showing The Main Screen Icons except Computer

    I tried to do everything that i've read in here..
    I tried to unplug the power cable for 30 seconds and replug it, same problem occurs.
    The Main Screen icons don't appear such as Youtube, Radio, the internet, etc..
    I get the computer and settings icon only...(See picture)
    /___sbsstatic___/migration-images/186/18672415-1.jpg
    The internet is working just fine.. The system is up to date,
    I tried resetting, restarting the system.. nothing worked..
    I bought 2  Apple TV 3's and they both have the same issue..
    Also, when I bought it in the U.S, the sales person in NY-5th Avenue store showed me the languages available, and one of them was the Arabic language..
    Now that I bought it, this language doesn't exist.. Is there a way to add more languages?
    Thanks for your time.

    Welcome to the Apple community.
    Unfortunately, a number of users appear to have encountered this problem. Some of these users have reported that the problem just disappears the following day or shortly after. Other users have found various other solutions to this problem.
    Firstly, are you receiving any date and time errors when you turn on your Apple TV?
    Check that you are properly connected to the Internet, by ensuring that you have a proper IP address and not one starting with 169. Also check that your location for the iTunes Store is set correctly, if so you might try changing it and then changing it back.
    If the problem persists try restarting the Apple TV by removing ALL the cables for 30 seconds, or resetting it using the reset option under general. You should also try restarting your router, or if this doesn't work you might like to try a restore.

  • Want to see the previous file name in the selection screen field

    Hi,
    I am working with flat file upload. Now my problem is in the selection screen field when i press space bar or backspace i want to see the previous file path which i have taken before. How to do this functionality.
    Thanks in advance,
    Vijay.

    Hi,
    Hope the following code will help u.
    PARAMETER: in_file type ibipparms-path MEMORY ID FID.
    at selection-screen on value-request for in_file.
      call function 'KD_GET_FILENAME_ON_F4'
        exporting
          mask      = ',CSV,*.csv,'
        changing
          file_name = in_file.
    But here when u give a path and execute and come back or executing it again the previous path will automatically come to the in_file field.
    Just check this code.
    Thanks.

  • Why is the full screen button missing in iPhoto11 after Lion upgrade?

    I upgraded to iPhoto11 with Snow Leopard with no problems. Loved the new look and full screen view. Now that i've installed LION iPhoto appears to have reverted back to the iPhoto 09 look. For example, the full screen tab is missing....  WTH???

    I think the problem is that the full-screen button has been moved in the Lion apps. In Snow Leopard it used to be the bottom left, in Lion it is in the top right corner. Is it there in your case?

  • Why is the full screen too large ever since the new iTunes?

    I can't see the scroll bar on the right and some options are hiding behind the task bar at the bottom

    I think the problem is that the full-screen button has been moved in the Lion apps. In Snow Leopard it used to be the bottom left, in Lion it is in the top right corner. Is it there in your case?

  • How to get the input screen?

    HI friends i have got a problem in displaying the initial screen in screen painter.
    in process after input i am having one push button(display) where when i click that push button it has to call  a program for that program i am having one input screen like empid.
    I am working like in PAI
    when 'display'.
    submit <program name>.
    Here it is displaying the direct output rather than displaying the initial screen where we have to give the input(empid).
    Can anyone give me solution for this.

    Hi Venkateswar,
    Use the SUBMIT statement with addition
    USING SELECTION-SET  to pass the values to the selection screen of the called report. Just press F1 on submit. It will show various additions. U can use any one which suites ur requirement.
    Thanks,
    Vinod.

  • I need a fix for the 2d screen flicker vbios or ?

    Hello there guys i recently purcheased a Radeon r9 270 twin frozer oc edition by MSI and i only have one problem ,that is the 2d screen flicker and i cannot seem to fix it with the catalyst control center's different versions ,so i was wondering if there is a well known fix for this ,i've heard that i need to tell you my seral number and you will provide me with a vbios or something simmilar that will fix the problem so here i go
    The card is MSI Radeon r9 270 twin frozr oc edition
    The serial number of the card is :"602-v305-03SB1402015615   if you need any further information feel free to ask and i will try to provide it as accuratly as i can thanks
    Here is a screenshoot of GPU-Z if you need it ...
    P.S. Ops i forgot to upload the bios file unfortunetly you forum rules does not let me use external links so i will just provide you with the link without breaking the rules =====>  dropbox.com/s/b6tvpuix4qlyqxx/Pitcairn.rom i hope i dont violate your rules but i have seen a buch of guys doing this and there was no problm

    Guys? Can i atleast get a reply of my question if its fixable or should i RMA the card?
    I also forgot to mention that this 2d flickering stops when i ENABLE vsync ,but the frame rate drops dramaticaly ,and i hear a light fizzing(buzzing) noise from my computer case
    My specs are:
    ASROCK B85M PRO4 LGA1150   
    /I5-4440 /3.1G/6MB/BOX/LGA1150/
    1T SG SATA 6G/7200/64 /3Y WARR
    /CM K350 W/600W PSU
    /4GB DDR3 1600 A-DATA

  • How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something"sign... it just doesn't start the system....

    How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something" sign... it just doesn't start the system....
    Please help
    Marcelo

    If there is no loading bar, it's usually a problem with a third party kext file in OS X itself.
    You can press the power button down to force a hardware shutdown, then reboot holding the shift key down on a wired or built in keyboard, this will disable them and you go around and update your third party software.
    Gray, Blue or White screen at boot, w/spinner/progress bar
    Also take this time to backup your users files off the machine if possible.
    Most commonly used backup methods
    Sometime that won't work and you need to do more
    ..Step by Step to fix your Mac

  • There is a problem on my mac mini. I install windows7 in my mac then i cancelled the installation did not finish..after that i saw the black screen on my monitor..

    There is a problem on my mac mini. I install windows7 in my mac then i cancelled the installation did not finish..after that i saw the black screen on my monitor untill now the monitor is black..

    It maybe trying to boot from the incomplete install.
    Try starting your Mac while holding down the Option key, it should then list all the available boot drives including the Mac OS X one. Boot from the Mac one and then you can wipe the damaged PC one or set the Mac to stay booting in to OS X.

  • Problem with checkbox in the selection screen

    Hi guys,
    I have a problem with the check box in the selection screen.When i select a check box then a field in the selection screen should be enabled for entering a value.Again if i unselect the checkbox then the field should be disabled for entering a value.I have written the code in at selection-screen output.
    The problem is when i select the check box ,the field is not enabled.But when i press enter after selecting the checkbox then the field is enabled for input.It is the same when i unselect the checkbox,after i press enter only the field is getting disabled.What could be the problem.Any suggestions please?
    Thanks.

    Hi d p
                 Please try this code . I think this code have some way that you would like.
    REPORT  zdownload_to_application_server.
    TABLES : caufvd, jest.
    I N C L U D E  P R O G R A M                                        *
    *INCLUDE znrpstnd.
    Selection Screen                                                    *
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t03.
    PARAMETERS: p_outb RADIOBUTTON GROUP g1 USER-COMMAND outb DEFAULT 'X' ,
                p_inb RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF BLOCK b3.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    PARAMETERS : p_werks LIKE caufvd-werks MODIF ID a.        " Plant   "OBLIGATORY
    SELECT-OPTIONS  :  s_auart FOR caufvd-auart MODIF ID a,       " Order Type
                       s_aufnr FOR caufvd-aufnr MODIF ID a.       " Order number
    PARAMETERS: p_path TYPE string DEFAULT 'C:\SchedulerInterface-OutboundTextFile\' MODIF ID a,
                p_actual AS CHECKBOX MODIF ID a.                  " Transfer Actual
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
    PARAMETERS : p_werks2 LIKE caufvd-werks MODIF ID b,   " Plant   "OBLIGATORY
                 p_path2 TYPE string DEFAULT 'C:\SchedulerInterface-InboundTextFile\' MODIF ID b,
                 p_path3 TYPE string DEFAULT 'C:\SchedulerInterface-InboundTextFile\' MODIF ID b,
                 p_sessio TYPE apqi-groupid MODIF ID b.   " BDC Session
    SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN OUTPUT.
      IF p_outb EQ 'X'.   " Outbound --> Hide inbound
        LOOP AT SCREEN.
          "IF screen-name = '%BT02011_BLOCK_1000'.
          IF screen-group2 = 'BLK'.
            screen-active = 1.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'A'.
            screen-active = 1.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'B'.
            screen-active = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          "IF screen-name = '%BT01004_BLOCK_1000'.
          IF screen-group3 = 'BLK'.
            screen-active = 1.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'A'.
            screen-active = 0.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'B'.
            screen-active = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_path2.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_path         = 'C:\SchedulerInterface-InboundTextFile\'
          mask             = ',Text Files,.txt,All files,.*.'
        IMPORTING
          filename         = p_path2
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_path3.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_path         = 'C:\SchedulerInterface-InboundTextFile\'
          mask             = ',Text Files,.txt,All files,.*.'
        IMPORTING
          filename         = p_path3
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
    TOP-OF-PAGE.
    START-OF-SELECTION.
    Regards
    Wiboon

  • CS6 problem. When I open the Mask panel, it takes up the entire screen width and the Looks controls disappear, Also, there is a new panel below the Mask panel that seems to have no purpose that I can find. The documentation says "Mask and Look panels - Th

    CS6 problem. When I open the Mask panel, it takes up the entire screen width and the Looks controls disappear, Also, there is a new panel below the Mask panel that seems to have no purpose that I can find. The documentation says "Mask and Look panels - The Mask panel is now placed next to the Look panel. WIth the masking and grading tools placed side-by-side, you can now work faster on the mask workflow." Is there a way to move, hide, or otherwise manipulate the panels for a custom layout? All the examples I can find on the Web show the Looks panel to the left of the Mask panel where the controls are available.

    Ok, here is what I have so far. Appdelete the iWork and reinstalled. Pages and Number work, but not Keynote.
    Now, I downloaded a couple apps that I need, and no matter what I did, the spinning ball came up and the download stopped till it unlocked itself. It is really frustrating because the download was not completed and whatever came through would not mount. Could this issue be the internet connection? Permission fix showed a lot of Airport issues. I will try to run permissions fix again.

Maybe you are looking for