Show popup in front of the applet

JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
I use an applet in jspx
when I open a popup with modal dialog appears the popUp in the background of applet
:-(

I don't know if it's going to be fixable. We have the same issue with Flash as well. It seems that you cannot z-index something in the front of an embedded element. That's another thing that HTML 5 is potentially going to fix with canvas... Cannot wait for it to get released, I just hope the Ogg Theora codec gets the advantage as it's an open and free standard and that MS IE does not s**k at it.
p.s. In our project, we deal with that by doing CSS magic adding a class to a root element when a popup is opened and having a selector like the following where the containers are div containing the applet and object/embed elements
.PopupOpened .AppletContainer,
.PopupOpened .FlashContainer
    visibility: hidden;
}Note that the following might also work, but we did not test it:
.PopupOpened applet,
.PopupOpened embed,
.PopupOpened object
    visibility: hidden;
}Regards,
~ Simon

Similar Messages

  • Show progress bar before loading the applet or application

    hi ,
    My application size is large and take some time to load . Now i want that to show progress bar . how can i do this .Please Help me
    sorry for my english.
    Thanks

    Do everything in a seperate thread. Create a progress bar in the main thread, then create a new thread for initializing your app. Once the init is done, hide the progress bar and make your app visible.

  • I have a question about the calendar on the ipad2. I have multiple calendars in different colors. Some of the events are filled in with color. Others are just listed with a colored dot in front of the event. Any ideas why events ar showing up differently?

    I have an ipad2 and my question is about the calendar. I set up multiple calendars with different colors. Some of the events show up in filled color. Others only show with a colored dot in front of the event. I can't figure out why some show up one way and others show up differently? Any thoughts?

    On mine the ones that show on a coloured background are all-day events, the ones with dots and just timed events.

  • On holidays we took pictures with two cameras and an iPad. I put everithing on my PC. Rearranged them by date, time and or subject putting a number in front of the picture name. I synchronised with my iPad and my pictures show in misselaneous order. Help

    We took pictures during oue holidays with two cameras and an iPad. I put all the pictures on my PC and reorganized them by date, time and/or subject, By putting a number in front of the picture name. Then I synced with my iPad. All the pictures show in a misselaneous order. What went or did I wrong?

    You did nothing wrong, but the photo app puts stuff in chronological order.
    You can look for another app. Afraid I don't have one to suggest, but I do understand that other apps will sort photos differently.

  • Itunes 11.1.3.8 shows a speaker icon in front of the seclection but it is not playing. the progress bar does not move. there are speakers attached to the system and all other programs do profuce an audio output.

    itunes 11.1.3.8 shows a speaker icon in front of the seclection but it is not playing. the progress bar does not move. there are speakers attached to the system and all other programs do profuce an audio output.

    Go to the Edit -> Preferences-> Playback
    In The bottom section of the page click the drop down menu by Play Audio Using and select Windows Audio Session or something other than "Direct sound" or whatever it displays. Click Okay. This worked for me! I hope it works for you too!
    Thanks,
    John

  • Need to show popup when the Submit button is clicked for the second time ..

    Hi guys,
    I have a requirement where i need to show a popup or alert when the submit button is clicked twice . When it is clicked for the first time one method is been called and its process starts. When the user clicks the submit button for the second time they should be shown a popup stating "Submit button already been clicked, please clicked OK to continue".
    Can anyone help with this please , its really urgent requirement ?
    Thanks in advance

    Hi,
    I dont have any sample code to give you now. For quick reference, I can advice some psuedo steps to achieve your requirement. I dont have access to JDEV to test this. If any syntax errors then pls correct yourself.
    1. Extend Controller since it is standard page ( Refer Anil Passi site for steps to extend seeded ontroller)
    2. Write below logic in your Process Request method
    super.processRequest(oaPageContext, oaWebBean);
    pageContext.putSessionValue("status", "notInitiated");
    3. Include below logic in your PFR method
    if(pageContext.getSessionValue("status")!=null){
    if("notInitiated".equals(pageContext.getSessionValue("status")))
    super.processFormRequest(oapagecontext, oawebbean);
    pageContext.putSessionValue("status", "initiated");
    else
    String message = "Display error message as required";
    throw new OAException(message, OAException.ERROR);
    You may need to import required packages ( Related to OAException).
    Remeber, to sumbit the request, user need to refresh the page again so that "status" variable will be refreshed.
    Hope it helps.
    Thanks
    venkat

  • How to show in the main front panel the progress of each sub Vi ?

    my program has many sub VIs, i wish to show in the main front panel the progress of each sub Vi; what is the best way to do that?
    atleast i need to show that each sub vi is completed, [can i add details on the main front panelsuch as: filename that is being read by a subVi, graphs plotted by a subVi, etc..]
    can i display a graph from a subVi on the front panel of the main Vi?
    what i hv done is attched as picture.
    Solved!
    Go to Solution.
    Attachments:
    Capture4.JPG ‏152 KB

    as suggested...pass references and cntrl references
    Spoiler (Highlight to read)
    Attachments:
    main ref cntrl.zip ‏27 KB

  • JLabel doesn't show up in the Applet

    Hi, all,
    Could you please help me to see my code and tell me why the JLabel component doesn't show up in my applet?
    Thank you. It seems the applet's paint() overlaps the JLabel.
    I would like to create a JLabel on my applet, so that I can update the time on it rather than repainting the whole applet.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
        This class tests the ChessBoard class and provides
        two methods for the users to play a chess game.
    public class ChessGame extends JApplet
            Represents the listener for the mouse.
       class MyMouse implements MouseListener
                Gets clicked position on the chess board
                and moves chesses.
                @param event the event that makes this action perform
            public void mousePressed(MouseEvent event)
                                   // Do something.
            // Do nothing methods.
          public void mouseReleased(MouseEvent event){ }
            public void mouseClicked(MouseEvent event){ }
            public void mouseEntered(MouseEvent event){ }
            public void mouseExited(MouseEvent event){ }       
            Constructs a chess game on an applet.
       public void init()
            setBackground(Color.white);
            myGame = new ChessBoard();
          whiteTurn = 0;
          whoseTurn = "White's Move:";
          isFirstClick = true;
          MyMouse mouse = new MyMouse();
            addMouseListener(mouse);
            JPanel panel = new JPanel();
            gameTime = new JLabel("My Time");
            panel.add(gameTime);
        public void paint(Graphics g)
            Graphics2D g2 = (Graphics2D) g;
            // Clear backgroung
            g.setColor(getBackground());
            g.fillRect(0, 0, getWidth(), getHeight());
          // Sets color for message        
            g.setColor(Color.BLACK);
            // Displays last moved action.
          if(lastMoved != null)
             g.drawString("Last Moved: ", 45, 440);
                if(whiteTurn == 1)
                g.drawString("White Moved: " + lastMoved, 45, 460);
             else
                g.drawString("Black Moved: " + lastMoved, 45, 460);
            // Displays whose turn for the user.
          g.drawString(whoseTurn, 45, 20);
            // Draw the chess board and its pieces.
            myGame.paint(g2);
        private ChessBoard myGame;
        private int whiteTurn;   
       private String whoseTurn;
        private String lastMoved;
       private int oldRow, oldColumn, newRow, newColumn;
       private boolean isFirstClick;
        private JPanel panel;
        private JLabel gameTime;
    }

    You never add the panel containing the label to the applet. Try something like this:
            Constructs a chess game on an applet.
       public void init()
            setBackground(Color.white);
            myGame = new ChessBoard();
          whiteTurn = 0;
          whoseTurn = "White's Move:";
          isFirstClick = true;
          MyMouse mouse = new MyMouse();
            addMouseListener(mouse);
            JPanel panel = new JPanel();
            gameTime = new JLabel("My Time");
            panel.add(gameTime);
            // add new panel containing JLabel to applet
            this.getContentPane().add(panel);
        }

  • Show the custom popup window on clicking the people name in sharepoint people search result

    Show the custom popup window on clicking the people name in sharepoint people search result
    We are doing the below code to open a popup but while clicking on name link its postback the page and not opening the popup in first click but opening in second click.The same issue occurs while navigate to second page using pagination
    The below code used to show name in item template
    <button id="NameFieldLink" class="temp" style="font-size: 12px;text-decoration:none;color:#0072c6;border:0px solid #fff;background:transparent;margin-left: 1px;height: 15px;padding: 0 10px 17px 0px;text-align: left;cursor:pointer;font-family:
    Arial, Helvetica, sans-serif;" title="">_#= DisName =#_</button> 
    The below jquery code used to open popup in control search template
    ctx.OnPostRender = []; 
    ctx.OnPostRender.push(function () {
    $(".temp").on("click", function(event)
    event.preventDefault();
    $('#fadeout').show();
    $('#pop1').find('.tab-content-people').html($(this).closest('.emp-card').find('.pop-content').html());
    $('#pop1').show();
    return false;

    I believe the issue is that you are not actually searching against the result source you made in step #1.
    It's not enough to make a result source, you have to tell the search results web part to use it.
    Try this:
    1. Go to the Pages library of Search Center
    2. Create a new Search Results page
    3. Edit the page, then edit the search results web part
    4. Change the source for the search results web part to your source
    5. Add the page to your Search Center navigation
    6. Run the search on that page
    Scot
    Author,
    Microsoft SharePoint 2013 App Development
    Author,
    Professional Business Connectivity Services
    Author,
    Inside SharePoint 2013
    Blog, www.shillier.com
    Twitter, @ScotHillier
    SharePoint Trainer, Critical Path Training

  • Front Row is listing particular TV Shows as Movies, even though the "Type" attribute is correctly set to "TV Show" in iTunes.

    Here's the whole story:
    My friend gave me access to a whole season of one of my favorite TV shows, with all the commericals removed! Lucky me!  I imported them into iTunes using File, Add To Library, and at first they all showed up in Movies.  I then edited the file info to add episode title, number, season, date, rating - all the metadata - and then iTunes successfully moved the episodes from Movies to TV Shows. HOwever, Front Row is STILL listing these episodes (and ONLY these episodes) under Movies AS WELL AS TV Shows!
    I have tried Consolidating the files (no effect), eidting all the "Get Info" data again to force an update (no effect), and I even went so far as to locate the episode files in Finder (they are corectly located under TV Shows, and NOT Movies), and then I manually selected the file, hit "Get Info", and changed the associated application from Quicktime to iTunes (the file extension is MP4 for all these episodes). This also had no effect on the problem.
    The files play equally well from either Movies or TV Shows, but that is besides the point. I cannot find documentation on WHERE Front Row stores it's data and/or how I can "force" Front Row to update it's information so it is accurate. I have toggled iTunes open and closed, Shutdown and Restarted the machine and even run Disk Utility to make sure the permissions are all okay - and they are. None of this has any effect on the problem, which persists.
    I am at my wits end with this problem. I have loggged a hardware issue with Apple over it, and they are due to phone me tomorrow, but if anyone has a quick and easy solution to this issue that DOESN'T involve deleting and reimporting all my movies, which really shouldn't be necessary, I'd love to have your feedback and assistance. We pay upwards of $1,000 and then some for these confounded machines, they should not require 'work arounds' - applications provided with the OS should be documented and supported!
    Thanks for your help!

    Doug's script worked, as I thought it might, but I am also continuing to pursue an "official" solution from Apple, because i absolutely HATE it when a company is aware of a problem, but refuses to officially acknowledge it and offer a solution.
    The first thing out of the support engineer's mouth after we spoke about the problem, was "I'll escalate this to our applications group, but we really don't support TV Show content other than those you download from the Apple Store, and Front Row is kind of a dead issue now that Lion is out." And I was like, "Huh? What about the hundreds of thousands of people who do NOT upgrade to Lion and who RELY on Front Row as a key component of our media management and usage solution?"  He didn't have an answer and I didn't really expect that he would. Apple doesn't give a crap about it's customers, any more than ANY big company does. Once they have your money, the love affair is over. Reading these forums and other online Apple support discussions, so many people had no idea that they would LOSE Front Row by upgrading to Lion. I can't believe that Apple would kill off something that is clearly providing value to so many customers - especially without offering an alternative (i.e., Front Row is dead, but you can use Orchestra Center" (or whatever) to get the same functionality, with these enhancements).
    Someone very much smarter than me coined the phrase "Sales makes friends, but Service keeps them!" Definitely not something that Apple is using as an operating paradigm. Apple only loves you if you get on the money wagon and keep buying the new sh*t!

  • HT203210 Where is the show popup from network on System Preferences?

    Where is the show popup from network on System Preferences?
    Was checking Airport support for PPPoE disconnected message which directd me to Show Popup on network in System preferences and I had 1 option.  Show all.
    Would love additional info on why I keep getting this message - Could not find a PPPoE server.  Which interrupts wifi service to Network.

    PPPoE is a protocol used to authenticate a user prior to gaining Internet access used by certain ISPs. Typically it is used for DSL Internet service. PPPoE would be configured on the device that is directly connected to the DSL modem. This could be a router or computer.
    Do you currently have or previously had DSL Internet service? What is the make & model of the device that you currently have the AirPort Extreme base station connected to by Ethernet? Which exact model of the Extreme do you have?

  • Error in the applet warning popup

    i have an applet which was signed by me..
    and this applet works well in my machine with the warning poped up.
    when i try running this in some machines the popup still comes but the content will be grayed out...and if i press tab and enter, assuming i reached the yes button it will run...
    why is this popup hangs up in some machines..

    Code ...

  • Buttons doesnt show on the applet

    I wrote a code which takes coordinates of buttons from another class and set it to buttons bounds and then add it to contentpane but the problem is buttons doesnt show on the applet.
    Here is my code
    any help would be usefull
    package applet;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.ImageIcon;
    import java.io.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import images.*;
    import hareket.*;
    public class backgammon extends JApplet
    public Icon puls_icon,bgicon,pulk_icon;
    private Image pul_s,background,pul_k;
    private JLabel bg;
    private JButton[] butonlar;
    private sari sariplayer;
    private kahverengi kahveplayer;
    private kareler board;
        public void init()
            getContentPane().setLayout(null);
            this.setSize(744, 536);
            butonlar = new JButton[31];
            board = new kareler();
            sariplayer = new sari(board);
            kahveplayer = new kahverengi(board);
            sariplayer.setkahverengi(kahveplayer);
            kahveplayer.setsari(sariplayer);
            kahveplayer.baslangic("kahverengi");
            sariplayer.baslangic("sari");
            pul_s = getImage(getCodeBase(),"images/pul_sari.gif");
            pul_k = getImage(getCodeBase(),"images/pul_kahverengi.gif");
            background = getImage(getCodeBase(),"images/background.jpg");
            puls_icon = new ImageIcon(pul_s);
            pulk_icon = new ImageIcon(pul_k);
            bgicon = new ImageIcon(background);
            bg=new JLabel(bgicon);
            bg.setBounds(0,0,getWidth(),getHeight());
            getContentPane().add(bg);
            butoninitialize();
        public void butoninitialize()
                for (int i=1;i<31;i++)
                    if (i<16)
                        butonlar[i] = new JButton(pulk_icon);
                        butonlar.setBounds(kahveplayer.pullar_x[i],kahveplayer.pullar_y[i],42,42);
    else
    butonlar[i] = new JButton(puls_icon);
    butonlar[i].setBounds(sariplayer.pullar_x[i],sariplayer.pullar_y[i],42,42);
    butonlar[i].setContentAreaFilled(false);
    butonlar[i].setBorderPainted(false);
    this.getContentPane().add(butonlar[i]);
    Thanks

    The second method will not work unless you have JDK 1.5.
    I simplified your code a bit to make it compilable.
    This solution should work:
    package applet;
    import javax.swing.*;
    import java.awt.*;
    public class backgammon_1 extends JApplet {
        public Icon puls_icon,bgicon,pulk_icon;
        private Image pul_s,background,pul_k;
        private JLabel bg;
        private JButton[] butonlar;
        public void init() {
            getContentPane().setLayout(null);
            this.setSize(744, 536);
            butonlar = new JButton[31];
            pul_s = getImage(getCodeBase(),"images/pul_sari.gif");
            pul_k = getImage(getCodeBase(),"images/pul_kahverengi.gif");
            background = getImage(getCodeBase(),"images/background.jpg");
            puls_icon = new ImageIcon(pul_s);
            pulk_icon = new ImageIcon(pul_k);
            butoninitialize();
            bgicon = new ImageIcon(background);
            bg=new JLabel(bgicon);
            bg.setBounds(0,0,getWidth(),getHeight());
            getContentPane().add(bg);
        public void butoninitialize() {
            for (int i=0;i<butonlar.length;i++) {
                if (i<16) {
                    butonlar[i] = new JButton(pulk_icon);
                    butonlar.setBounds(50*i,50,50,50);
    } else {
    butonlar[i] = new JButton(puls_icon);
    butonlar[i].setBounds(50*(i-16),100,50,50);
    butonlar[i].setContentAreaFilled(false);
    butonlar[i].setBorderPainted(false);
    this.getContentPane().add(butonlar[i]);

  • Why this tree can not show on the Applet?

    hi, all, I try to create a java Applet show a tree, this following code has no error, but the tree can not show on the Applet, can any one tell me why? thanks!
    <code>
    import java.awt.*;
    import java.applet.Applet;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import java.awt.dnd.*;
    public class AppletApp extends Applet {
         Date myDate;
         protected JTree m_tree = null;
         protected DefaultTreeModel m_model = null;
         protected JTextField m_display;
         public void init() {
         public void paint(Graphics g) {
              DefaultMutableTreeNode root = new DefaultMutableTreeNode("root");          
              DefaultMutableTreeNode node1 = new DefaultMutableTreeNode("node1");          
              root.add(node1);                    
              node1.add(new DefaultMutableTreeNode("sub1_1"));                         
              node1.add(new DefaultMutableTreeNode("sub1_2"));                                        
         public static void main(String arg[]) {
              JFrame myFrame = new JFrame();          
              Container contentPane = myFrame.getContentPane();
              contentPane.setLayout(new GridLayout(1,2));          
              AppletApp app = new AppletApp();          
              contentPane.add(new JScrollPane(app), BorderLayout.CENTER);     
              myFrame.addWindowListener (new WindowAdapter() {
                   public void windowClosing(WindowEvent e) {
                        System.exit(0);
              app.init();
              app.start();
              myFrame.setSize (400,400);                              
              myFrame.setVisible(true);          
    </code>

    Not quite sure what you are trying to do, but if you move the code from the paint() method into the init() method (then delete your paint() method), then add one new line to the init() method (after the code you just inserted) that reads:
    getContentPane().add(new JTree(root));
    - You should at least see a tree!

  • Pop ups and ad pages that jump in front of the page I click on. I have blocked How to get rid of popups in Chrome and Safari as well as system preferences

    I can't get rid of the annoying and time wasting pop ups and ad pages that jump in front of the page I click on. I have blocked popups in Chrome and Safari as well as system preferences

    You most likely installed adware along with something else you recently installed.
    You can either follow Apple's manual instructions for removing it, or the free automated tool, AdwareMedic.

Maybe you are looking for

  • How do i extend airplay to stream music at the same time to AEX and ATV2

    I have a new ATV2 and an AEX, my macbook, 2 Ipod touches and an Ipad2. I figured out how to setup my ATV2 and airplay through my macbook and my touches. My ATV2 is in my living room on a Yamaha 6.1 receiver with 2 channels. I have 6 speakers in my li

  • How to resize an object in an Outlook email on a Mac?

    When I bring an object, say a screenshot of a web site, inside an Outlook email on a Retina display Mac, the image is typically hige and cannot be resized. In Outlook for Windoes, you can just resize it any size you want by clicking on a corner and r

  • Mission Control: Trying to find my class in Memleak in Reference Type

    Hi I'm trying to create some demonstrations of Mission Control and I want to create an example where I have a memory leak and I want to get to my class using reference type. This is my code: public class ThunderBombCracker { public ThunderBombCracker

  • Sap reporting tools

    Hi, Plz any one explain 1. What are the Sap reporting Tools 2. What r the diff between Forms and Reports plz if possible give some examples thanks in advance bye

  • Why does my Music Library Location Keep Reverting to Unwanted Location?

    I recently switched from PC to Mac. My music library is now located on an external HD connected to my Airport Extreme Base Station. I've noticed that at random times the location of my music library changes from the external HD to my iTunes Music fol