Set poup dialog visible

Hi,
In my Applet, I have a component called LookupField. When user clicks on LookupField a LookupFrame(JDialog) popups up, where the user can do some kind of search function.
The problem is, when the LookupFrame is visible(poped up) and if we leave the applet or browser window to another windows application(using taskbar) and come back to the applet or browser window again, the LookupFrame is going behind the window. Now what I want is when the user comes back to the applet or browser window(using taskbar) the LookupFrame should be visible, it should not go behind the window.
thanks in advance,
Srinivas.

You can force your dialog to go to the front with the method toFront() (inherited from java.awt.Window).

Similar Messages

  • Set a component visible based on a value of a LOV

    Hi all,
    I am using Jdeveloper 11.1.1.2 and ADFBC.
    I have a panelFormLayout with some fields.
    I have a LOV and I want to set the property visible of a field based on the value of the LOV.
    For example: if LOV = First (value =1) field = visible, if LOV = Second (value =1) field = not visible
    I have created a backing bean of the page with a method that return a boolean, but I don't know how to get the value of the LOV.
    What have I to use? ADFUtils? JSFUtils?
    Here there is my code:
    public class InsMovimento {
    private RichSelectOneChoice soc3;
    public void setSoc3(RichSelectOneChoice soc3) {
    this.soc3 = soc3;
    public RichSelectOneChoice getSoc3() {
    return soc3;
    public boolean isVisiblePanelLottoEScadenza(){
    boolean isVisible = false;
    // ... code to retrieve the value of the LOV
    return isVisible;
    Any suggestions?
    Thank you
    Andrea

    Hi,
    you have 2 options. For both options you need to set autosubmit=true on the LOV field and use the PartialTriggers property on the depedent fields to point to the ID of the LOV. Alo define a value change listener on the LOV field
    Option 1: Create a managed bean reference for the LOV using its binding property. Then, call getValue on it to get the component value
    Option 2: If the component is bound to ADF, you can read the value fom the ADF binding layer
    Option 1 is good to use if for example the "immediate" property on the LOV is set to true so you avoid required field validation problems if the dependent fields have no value though must have one. In this case using a ValueChangeListener on the LOV can be used to read the values, and set the boolean values in the managed bean
    Frank

  • How to set the disable,visible property in declarative components.

    We have used one declarative component. It consists of 5 buttons (add,delete,save,delete,print). In all of our pages, this declarative component is used. We could bind methods and was able to use each pages seperately (by linking the methods in the backing bean)
    But for implementing the DISABLE,VISIBLE properties, we have added the attributes for this and refered this to the corresponding disable and visible property of the button. In the page all these properties where reflected. But at the runtime these buttons are not coming.
    Can anyone advise how can we set the disable,visible property in declarative components.

    Hi vikram ,
    i hvnt initialized the properties ,
    in my declarative component i have one button say Save button and i want to config 2 properties Disable and Visible
    i added two attributes ( java.lang.Boolean ) say disablr_btn ,*visible_btn* and mapped wth the Save button Properties Disabled and Visible using expressions
    Now the button is invisible while running the page.
    if i remove the mapping from properties Disable and visible , the button is visible
    should i init the properties in faces config , i dnt knw hw to init the properties
    pls advice

  • How does the "Manually Set EV"dialog box in "Merge to HDR Pro" work?

    What is the  "Manually Set EV"dialog box in "Merge to HDR Pro" for?
    Do these values affect the HDR results?
    Since the source images are chosen in the first dialog of "Merge to HDR Pro"
    why do we need to set EV manually here? 
    Besides, after I tried different values to compare the results
    the "Manually Set EV"dialog box has disappeared how can I get it back?
    THANKS

    If the files you are merging don't have metadata giving their exposure values (time, aperture, ISO), then MergeToHDR prompts you for the relative exposure values.
    If your files have the metadata, then there is no need to enter the values manually.

  • How to set scrollbar to visible or invisible?

    Dear all,
    How to set scrollbar to visible or invisible?
    Thanks

    Duncan's answer will solve your problem
    but how will you display scrollbar thru stacked canvas if your block is already in one stacked or tab page canvas
    so better to create an item set its background color exactly same as your canvas and make bevel property to null and keep that item where you are displaying scrollbar
    and set its visible property to true or false based on your requirement

  • XY Graph-Setting Y-Scale visible to False still Shows Corresponding Y scale Max and Min

    Hi Guys,
    I use XY graph to display the data with 3 Y-scales.
    When I set any Y scale Visiblity property to False,its still display the Y scale Max and Min range Lines in plot area of the  Graph and making cross line or extra parralel line with other visible scales.
    Attached the screen shot  for ref.
    And I know the cross line may be due to different Y scales range setting.But XY graph should not display the invisible Y scales and its property  as well.
    please provide your suggestions to avoid that.
    Solved!
    Go to Solution.

    The scales and the lines associated with those scales are separate properties. I have never tried it, and right now I am not at a computer, but there should be properties for setting the grid line colors. Set them to transparent.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Powershell User logon script not Exiting With "Exit" scripts are set to be visible in GPO

    I am trying to run this script as a user logon script and it is set to visible to the user. There are other parts of the script but It won't ever Exit. It works fine if I run it directly I only have the trouble when it is in the logon script. I'm thinking
    of tryin "Kill -Id $PID" but I'm sure I'll get a bad return code.
    Has anyone else experienced this or hav any ideas what I could try?
    If (Test-Path U:){
    Robocopy U:\ $Destination /E /move /XF "*.inf"
    New-Item -Path HKCU:\Software\test\test -Name Test –Force
    Else{
    Exit
    Else{
    New-Item -Path HKCU:\Software\test\1 -Name Test1 –Force
    Exit       #here is where it will not stop!
    Exit

    Sorry, I did mention this was only a subset of the complete script.
    So, what I am trying to accomplish in words.
    1. Check for the existence of a certain folderon the c: Drive (that is created as apart of a different process)
    2.  Look to see if a registry key exisits that tells the script if it should run or not. So if certain registry key exists under HKCU then don't run if not continue.)
    3. The first time a user logs in and does not find the value that the process is allready complete show the user a message box aski9ng them if they are ready to do (something) if not write a registry key saying step one has completed and then quit.
    4. When the user logs in again the script looks to see if the process is complete and or if step one is complete, if step one is complete it allows the user to skip the process 2 more times but on the forth login forces the user to complete the process and
    writes the final registry key that it is complete.
    Like I say I have this all working correctly if I manually have the user run it. I just don't know why Exit is not being recognized when in the users login script processing of the script. I appreciate your reply and any direction you can point me to.

  • Sound stops when set flash obj visibility to false on IE

    How can I prevent sound from stopping on IE when I set a
    flash <object> visibility to false, through javascript ?
    i.e.: document.getElementById('flashObj').style.visibility =
    'false';
    All other web browsers behave normally (they just hide the
    player, sound, as the movie, is keep playing on...).
    Any ideas?

    "yduab" <[email protected]> wrote in message
    news:e7oua3$hsk$[email protected]..
    >I made a flash animation with a backgroung music loop and
    buttons. When a
    > button is clicked, a video file embeded in a swf plays
    in a movieclip on the
    > stage. Also, I set the background music volume to 0 as
    to listen to the video
    > sound. The problem is that when the background music
    volume is changed, the
    > video plays but the audio changes the same. I tried to
    stop the background
    > music, and then the video sound also stops!
    > Can someone help?
    > Here is my code:
    > _root.my_sound = new Sound();
    > _root.my_sound.attachSound("music.mp3");
    > _root.my_sound.start(0,1000);
    > }
    > _root.["bt_mc"].onPress = function(){
    > _root.my_sound.setVolume(0); // or
    _root.my_sound.stop();
    > _root.videoDisplay.loadMovie(this.videoclip);
    //_root.videoDisplay is the
    > target mc
    > }
    To have separate volume levels you have to attach the sound
    objects to different movieclips like this..
    _root.my_sound = new Sound(one_mc);
    The movieclip can be just an empty clip that you make with
    createEmptyMovieClip.
    tralfaz

  • Setting XMLUI dialog width

    I've created a JSFL command extension and was thinking of
    using an XMLUI dialog to give the user basic instructions about the
    command he is about to execute.
    The XMLUI dialog would have instruction text and the two
    buttons "accept" and "cancel".
    Surprisingly, the XMLUI dialog does not expand to show the
    whole width of the <label> but stays at the width needed to
    display the two buttons only! So the text just gets chopped off!
    Does anybody know how to set the width of an XMLUI dialog?
    I was thinking of using a control to force it to resize but
    all of the controls are too intrusive...
    Any tips on how to expand the XMLUI dialog so that it will
    show all the text?
    dan

    Hi,
    You need to change Table setting Layout. Please check this code:
    * create an instance of ALV component
    DATA: LR_IF_CONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE,
    LR_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE,
    LR_CMDL TYPE REF TO CL_SALV_WD_CONFIG_TABLE,
    LR_TABLE_SETTING TYPE REF TO IF_SALV_WD_TABLE_SETTINGS.
    LR_CMP_USAGE = WD_THIS->WD_CPUSE_ALV( ).
    IF LR_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
      LR_CMP_USAGE->CREATE_COMPONENT( ).
    ENDIF.
    ** get reference to the ALV model
    LR_IF_CONTROLLER = WD_THIS->WD_CPIFC_ALV( ).
    LR_CMDL = LR_IF_CONTROLLER->GET_MODEL( ).
    LR_TABLE_SETTING ?= LR_CMDL.
    ** Set column width
    DATA LR_COL TYPE REF TO CL_SALV_WD_COLUMN.
    LR_COL = LR_CMDL->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'PERNR' ).
    LR_COL->SET_WIDTH( '70' ) .
    LR_COL = LR_CMDL->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'ENAME' ).
    LR_COL->SET_WIDTH( '100' ) .
    LR_TABLE_SETTING->SET_FIXED_TABLE_LAYOUT( ABAP_TRUE ).
    LR_TABLE_SETTING->SET_FIXED_TABLE_LAYOUT( ABAP_TRUE ).
    Regards,

  • How to set print dialog box to sync with applications

    Dear all
    I am using different applications, such as photoshop, lightroom, etc. All these applications have their propper print dialog box with enhanced settings.
    BUT
    after hitting the print button, my computer takes me always to the mac print dialog box, where again I can set different things: I can set paper quality, paper format, the colors...
    to me it seems that the settings I have chosen in the application print dialog box are getting erased by this second set of (OS X) print-settings.
    WHY DO I NEED TO GO THROUGH TWO PRINT DIALOG BOXES?
    Can I omit the OS X print dialog?
    Or am I missing something?
    many thanks for your help,
    Hynek

    Thank you for this reply.
    I will work around it with presets.
    but just to understand this: *which dialog box is the one setting the printer* (when for example using photoshop)? is it the first dialog box, i.e. photoshop print dialog box - or is it the osX print dialog box?
    if it is the second, I can skip the photoshop-one... ?
    or do I need to experiment with a combination of both?
    greetings,
    Hynek
    p.s. I know, it is a rather late reply. But we became parents 7 months ago, and time at the moment just flies by...

  • Setting the Dialog Modal

    Hey guys,
    I have a small problem here.
    I have a frame with some buttons in it. On click of the buttons I get a dialog popped up.I have to make the dialog modal to the frame from which it has been popped up.
    I have two Options here
    1) I have to call the setModal function of the JDialog and make it modal.But this will fail when the user presses alt + tab. when this is done the frame and the dialog will not appear as a pair.
    2) I have to pass the parent frame to the class which pops up the dialog and call the constructor ( JFrame frm, boolean true)
    Is there any method other than the option 2 where the modal property can also be set and at the same time the dialog and the frame( owner ) appear in pair ????
    thanx
    Nagaraj

    I don't know what happened to that one, whether I mistyped or whether the thread disappeared. There are plenty of others you can find by searching the forums. I might have done it myself and sent you another link, but not after this message:
    what happened to everybody?? wake up ! Wake Up !
    WAKE UP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Any body to help me ???
    [ ... ]-- Scott

  • Cursor Name on Graph Not Visible (though set to be visible)

    In the Graph Properties page, I set the different cursors to have their names be visible on the waveform graph.  Yet, I do not see the names.  Is there any logical explanation for this or do I have a corrupt waveform graph.
    Thanks,
    Don
    Attachments:
    cursor_name.vi ‏23 KB

    Is the label offset a LabVIEW 8 cursor property?  I don't believe it is exposed in LabVIEW 7.1.
    (I will be upgrading soon, LabVIEW 8 has been sitting on my desk for 4? months as I have just been too tied up to deal with any possible ramifications from the upgrade including any compatibility issues with Vision 7.1).
    Sincerely,
    Don
    Attachments:
    curosr_properties_lv71.png ‏4 KB

  • Setting a component visible

    Hi,
    I have a JButton that is setVisible (false ) when a form is first opened. The button is added to the panel of the form though. The button becomes visible on the press of another button but a small area of the form is blanked out as soon as it becomes visible - a small section under the button in question?
    Is there a known bug here? I have 1.3.1_1 because 1.4.2 doesnt compile classes on my PII.
    Cheers
    Reave

    Hi Alex,
    I think you are just hitting a Flex limitation, 60+ charts does sound like a lot in one dashboard, what is it you are trying to do and can you not reuse existing ones?
    I can't remember where I saw it but someone blogged the other day about Flex in general crawling along with 60+ charts because charts tend to be heavy weight so when you have a lot of them it does not work very well so they were creating a new lightweight chart set instead.
    Regards
    Matt

  • SPM: Setting a dialog user as a service user to be used as FF

    Hi all,
    We are having a dialog basis administration user in production and we are wondering if we could set is as a service user and use it as a FF in order to control a monitor his activities.
    Such user is executing background jobs periodically.
    Is there any effect for changing this user to service and use it as FF?
    Many thanks in advance. Kind regards,
      Imanol

    it's not compulsion to use service user as FF id.
    you can use Dialog user also as FF id.
    both options are ok. service of dialog.
    i don't think there will be any issue, just don't logout and login too frequently, as you may get FF id busy message.
    Regards,
    Surpreet Bal

  • [CS3] Export Dialog visibility control

    Hi All,<br /><br />I can export InDesign documents as PDF via kPDFExportCmdBoss. [CS3, Xcode]<br /><br />However it does not comply to the setting I have set up via IID_IUIFLAGDATA and IID_IUSEPROGRESSINDICATOR. Is there a known issue or is there any other preparation process I need to do? Please take a look at the code below, dialog and progress bar does not show up although they are supposed to.<br /><br />Please note pageUIDs(UIDList), destIDFile(IDFile), pStylePrefs(IPDFExportPrefs) and file_name(PMString) variables are prepared in advance.<br /><br />InterfacePtr<ICommand> command(CmdUtils::CreateCommand(kPDFExportCmdBoss));<br />if (command)<br />{<br />  // Set itemlist<br />  command->SetItemList(pageUIDs);<br /><br />  // Assign the destination file<br />  InterfacePtr<ISysFileData> destSysFileData(command, IID_ISYSFILEDATA);<br />  destSysFileData->Set(destIDFile);<br /><br />  // Set Export preference<br />  InterfacePtr<IPDFExportPrefs> exportPrefs(command, IID_IPDFEXPORTPREFS);<br />  exportPrefs->CopyPrefs(pStylePrefs);<br /><br />  // Set security preferece<br />  InterfacePtr<IPDFSecurityPrefs> appSecurityPrefs((IPDFSecurityPrefs *)::QuerySessionPreferences(IID_IPDFSECURITYPREFS));<br />  InterfacePtr<IPDFSecurityPrefs> exportSecurityPrefs(command,IID_IPDFSECURITYPREFS);<br />  exportSecurityPrefs->CopyPrefs(appSecurityPrefs);<br /><br />  // Set OutputPages<br />  InterfacePtr<IOutputPages> iExportPages(command, IID_IOUTPUTPAGES); <br />  iExportPages->InitializeFrom(pageUIDs, (exportPrefs->GetPDFExReaderSpreads() == IPDFExportPrefs::kExportReaderSpreadsON));<br />  iExportPages->SetName(file_name);<br /><br />  // Configure progressbar<br />  InterfacePtr<IBoolData> useProgressBar(command, IID_IUSEPROGRESSINDICATOR);<br />  useProgressBar->Set(kTrue);<br /><br />  // Configure the interface<br />  InterfacePtr<IUIFlagData> uiFlagData(command, IID_IUIFLAGDATA);<br />  uiFlagData->Set(kFullUI);<br /><br />  // process the command <br />  success = CmdUtils::ProcessCommand(command); <br />}<br /><br />Any help would be appreciated.<br /><br />Thanks.

    Hi Jaepil,
    Even i am also trying to perform the same operation but unable to get any control over the export dialog.Did u made any progress in this repect?I think adobe doesnt allow the user to control export dialog behavior????

Maybe you are looking for