Menus appearing underneath other components

I am having a problem making my menus appear on top when they 'pop up'. I know this is a problem with mixing heavyweight and lightweight components, and I have been trying to force the menus to be heavyweight but to no avail.
I have been trying to set the menus to be heavyweight by calling this method after the menu has been instantiated:
[menuname].getPopupComponent().lightWeightPopupEnabled(false);
Here is an image showing my problem:
http://www.inf.brad.ac.uk/~jpcatter/menus.jpg
Edited by: JonCat on Jul 26, 2008 8:47 AM

It is not a mix of swing and awt. The browser component is the mozswing MozillaPanel component, and it is this that is being drawn on top of my menus, as can be seen from the screenshot that I posted. Another thought I had was that the browser component is the last to be drawn, as it is added to the tab control once all other components are drawn. Could it be the Z ordering of components causing the overlap, or is it strictly a heavy / light weight issue?
Here is a link to the mozswing homepage for anyone who is interested:
http://confluence.concord.org/display/MZSW/Home

Similar Messages

  • [svn:fx-trunk] 12878: When sub-components don' t have a tabIndex and when VideoPlayer instance does, assigned tabIndex to each inner-component to ensure that they appear in the correct tab order with other components on the stage .

    Revision: 12878
    Revision: 12878
    Author:   [email protected]
    Date:     2009-12-11 19:07:40 -0800 (Fri, 11 Dec 2009)
    Log Message:
    When sub-components don't have a tabIndex and when VideoPlayer instance does, assigned tabIndex to each inner-component to ensure that they appear in the correct tab order with other components on the stage.
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as

    Michael,
    "Michael Caughey" <[email protected]> wrote in message news:413f0af6$1@mail...
    If I'm doing something wrong what is it? Obviously there is something
    different about how I configured my environment a year ago.What happens if you bring down ms02?
    Regards,
    Slava Imeshev

  • I type in the search box; suggestions appear underneath; when i click on one of them, they all disappear, and nothing is added into the search box.

    When I type a phrase into the Google search window, a number of suggestions automatically appear underneath as I am typing. However, when I click on one of these suggestions, there is no change to what is in the search window, and nothing further happens. I have tried every option under Tools|Privacy, and I've tried everything on Google options but nothing works. Normally, when I click on one of the offered suggestions it would appear in full in the search window. What do I do?

    Do you have that problem when running in the Firefox SafeMode?<br/> ''A troubleshooting mode.''<br />
    1.You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut. <br />
    2. Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut to open it again.''
    If not, see this: <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • I have created a spreadsheet on numbers for ipad with a list of customers as a drop down menu. How can i make their address appear underneath when i select the customer?

    I have created a spreadsheet on numbers for ipad with a list of customers as a drop down menu. How can i make their address appear underneath when I select the customer?
    iselect the customer?

    Hi bazza,
    We won't be able to put the address from a formula into the same cell that you enter the customer's name. We can put the address in the cell under the customers name.
    First let's take James advice and concatenate the address in the address table.
    Here is the formula in G2
    =CONCATENATE(B2&"
    ",C2&"
    ",D2&"
    ",E2)
    It shows this way because after I clicked on B2 and typed [&"] (no brackets) I typed option-return
    This gives you your new line. Then I typed the closing ". I repeated this for the rest of the address.
    Next we want to bring this to your order sheet. I prefer using the two formulas OFFSET and MATCH instead of VLOOKUP.
    base tells OFFSETwhere to start counting from. Click A1.
    row-offset is for the row. we will use MATCH() -1 to give us the row.
    What MATCH does is give you the row number where something is found and you can specify an exact match. I usually construct the MATCH formula first and then cut and paste it into OFFSET. MATCH looks like this: MATCH(A2,Table 1::A,0). A2 is what we are looking for, Table 1A::A is where we are looking (the entire column A), and 0 means we want an exact match. Can you see it inside the OFFSET formula? Notice that we had to subtract 1 from its result.
    column-offset tells OFFSET which column A=0 so we want 6.
    we ignore "rows", "colomns" we don't need them.
    If this seems like too much, just break it down into small pieces.
    quinn

  • Component always displays "under" other components......

    Hi there,
    I have a component derived from a "panel" - I'm adding it to the applet but it always displays itself "under" the other components in the applet, never above (which is where I want it).
    I've tried adding it last and adding it first - doesn't make any difference. When I add the component I set it to "setVisible(false)" and "setVisible(true)" when the user clicks a button. I'm a bit confused as to why its underneath everything else!
    Any ideas?
    Thanks.

    I am using my own paint methods indeed - I mean I'm calling "super" and then rendering the component - or calling "super" in a container component and rendering other stuff on the container afterwards.
    But this is all working on the version you see on the website - the one I'm working on is broken.
    btw. I'm using a "Panel" (derives from Container, its a lightweight thingy, nout to do with Schwing etc.).

  • Creating GUI component that includes other components

    Hello, I need to create an UNIVERSAL FORM (panel) consisting of several textboxes and labels. These textboxes and labels will be defined in XML. I want it as a GUI JavaBean. It should be made from a panel with some layout and it should consist other components. Here are my questions:
    1) What class to derive from? JPanel?
    2) Well, when I override a GUI Swing component I must implement a paint method but this is a bit strange. I just want to set up the textboxes -- I do not need any special painting. A question appears -- is JavaBean technology good for this situation? Is there any better solution?

    I mean why this doesn`t work:
    public class Uniform extends JComponent implements
    Serializable {
         private String xmlContent;
         private int type;
         private JPanel panel;
         public Uniform() {
              panel = new JPanel(new GridLayout(1,2));
              panel.add(new JTextField("A"));
              panel.add(new JTextField("B"));
         public void paint(Graphics g) {
              panel.paint(g);
    }Is it a good solution? How would you solve the
    problem?
    Thanks for your ideas.If you mean by 'dont' work' that your text boxes and panel doesn't appear, then it's because you're missing this line in your constructor:
    public Uniform() {
      this.add (panel, BorderLayout.CENTER);
    }Regards,
    Devyn

  • My firefox quite often crashes ,with this message"FIREFOX IS NOT RESPONDING" IF YOU CLOSE THE PROGAM YOU MIGHT LOSE INFORMATION. THESE APPEAR UNDERNEATH CLOSE THE PROGAM WAIT FOR THE PROGAM TO RESET, SO HOW DO I FIX THIS

    My firefox quite often crashes ,with this message
    "FIREFOX IS NOT RESPONDING"
    IF YOU CLOSE THE PROGAM YOU MIGHT LOSE INFORMATION.
    THESE APPEAR UNDERNEATH >CLOSE THE PROGAM > WAIT FOR THE PROGAM TO RESET, SO HOW DO I FIX THIS

    See:
    * http://kb.mozillazine.org/Firefox_crashes
    * http://kb.mozillazine.org/Firefox_hangs

  • Firefox 5 updated - now it does not function - just a blank window. Pull down menus appear but do not function. Am I missing an obvious point to allow this browser to function?

    I do not understand how to correct this malfunction.
    Operating on MacBook Pro using Mac OSX 10.6.8. Firefox 5 updated - now it does not function - just a blank window. Pull down menus appear but do not function. Am I missing an obvious point to allow this browser to function?

    I suspect it has something to do with the java but not sure
    Just so you'll know, there is no Java on that page.  There is, however JavaScript.  You should know that those two things are different as night and day.
    To fix your problem, change this -
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
      </script>
    </head>
    to this -
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    -->
      </script>
    </head>

  • I've installed CS6 and web Premium on a Mac running 10.9.5, and Dreamweaver,Flash and Illustrator wont launch.  All other components work normally.  In Activity monitor it says Adobe switchboard failed to respond.  Can anyone help solve this issue?

    I've installed CS6 and web Premium on a Mac running 10.9.5, and Dreamweaver,Flash and Illustrator wont launch.  All other components work normally.  In Activity monitor it says Adobe switchboard failed to respond.  Can anyone help solve this issue?

    Release: 4/25/2012
    http://support.amd.com/us/gpudownload/windows/Pages/radeonmob_win7-64.aspx

  • I have deleted a contact on my phone, and they are no longer in my contacts list however when I go to text there name still appears as (other) is there a way of deleting them completely of my phone? - I have tried everything!!

    I have deleted a contact on my phone, and they are no longer in my contacts list however when I go to text if i type in the letter there name begins with there name still appears as (other) is there a way of deleting them completely of my phone? - I have tried everything!!
    I have resorted my phone, used the spring clean app - none of these work, Have I saved this number somewhere else but I just can't get to it?

    You got the new iphone?????   I have same problem.  I transferred audiobooks to device to find no audiobooks on device (despite it being in iTunes as if it was).  Have you found a solution?????   I even tried to change import settings on format transfer but hasn't worked. 

  • Newly created images will not display in Firefox 8 for Mac. Same images appear in other browsers. Why?

    1. Specific new images are uploaded but will not display in Firefox 8 on my Mac with OS 10.6.8. (Does appear in other browsers, e.g., Chrome and Opera, and appears on Firefox 8 for PC.) Also, other images on the page display.
    2. I have cleared cache, cookies, etc., in Recent History, and restarted both application and computer.
    3. I've tried creating GIF, JPG and PNG, but none show on the page in Firefox on my Mac. I can see the offending image in other browsers such as Chrome on the same computer, and on Firefox on PC. Offending pages are in both PHP and HTML: http://www.brookfieldcivic.org/advertisers.php and http://www.brookfieldcivic.org/advertising_freedom_montessori.html
    Image links: http://www.brookfieldcivic.org/images/advertisers/freedom.png and http://www.brookfieldcivic.org/images/advertisers/Freedom_Montessori_bizcard.jpg

    You can use these steps to check if images are blocked:
    *Open the web page that has the images missing in a browser tab.
    *Click the website favicon ([[Site Identity Button]]) on the left end of the location bar.
    *Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    *Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    *Select the first image link and scroll down through the list with the Down arrow key.
    *If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.

  • Same Apple ID appears on other devices when downloading/updating apps

    My Apple ID appears on other family members' devices when they want to update or download apps despite having their own id s.  Is there any ways I can sort this? Please help!

    Thanks for your fast reply. My daughter has a new phone, bought it yesterday and logged into ITune on PC to sync songs and then wanted to download when noticed  that devise asked for my ID so she hasn't downloaded anything yet!  How would this change things?

  • I've read two solutions to my problem and neither worked. I can't get the repeat option to show in some events, though it does appear in others.

    I can't get the "repeat" option to show in some events, though it does appear in others. How can i get it to show when I need it? (I read two "soluntions" that supposedly worked, but neither worked for me.)

    Greetings,
    I can't say I've seen that behavior before.  I' be curious to see a screen shot of it in the edit mode where you edit the fields.
    Beyond that I'll offer generic troubleshooting steps:
    Go to Apple Menu > System Preferences > Language & Text > Formats > Region. Region should be set to the country of your choice. Do not have it set to "Custom" as this can have unexpected results in the iCal window.
    If that doesn't resolve the issue:
    1. First make an iCal backup:  Click on each calendar on the left hand side of iCal one at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
    2. Go to iCal > Quit iCal
    3. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    --- NOTE: To get to "Home > Library" in Lion: Click anywhere on the desktop and then click on the "Go" menu at the top of the computer screen while holding down the "option" key on the keyboard.  You will see "Library" in the menu.
    4. Launch iCal and test.
    If the issue persists:
    1. Go to iCal > Quit iCal
    2. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    Home > Library > Preferences > com.apple.ical (There may be more than one of these. Remove them all.)
    --- NOTE: Removing these files may remove any shared (CalDAV) calendars you may have access to. You will have to re-add those calendars to iCal > Preferences > Accounts.
    3. Launch iCal and test.
    Hope that helps!

  • PApplet/component is always above all other components except...

    Hi,
    I am working with java and a program off shoot of Java called Processing. Processing aids in the creation of java and it integrates itself into a swing component by extending into a PApplet(Processing�s version of an applet) which a JFrame sees as a component.
    Example:
    newJFrame.add(PApplet); <--- works perfectly except�
    The integration of java/swing and processing in an application works very well except for one problem. The Processing class (PApplet) draws to the screen and when I put it into a JFrame, JPanel, JInternalFrame, etc � the graphics are always above all other component except the JMenuBar. I found a fix for the JMenuBar to be this line of code �JPopupMenu.setDefaultLightWeightPopupEnabled(false);� I guess it tells the popup manager of the JMenuBar to not setDefaultLightWeightPopupEnabled which in turn, allows the JMenuItems to popup above the PApplet.
    Is there a way to force the PApplet/component to follow the rules of all other components? (setComponentZOrder, setLayer, etc�) It works for the JMenuBar so I feel it should be able to work for all other components � is there a way?
    Thanks,
    4dplane

    Thanks for the info; I believe you hit the nail on the head. Processing is open source so I looked in the PApplet class and it extends Applet, so this means processing is awt based.
    Thanks,
    4dplane

  • I have recently bought a second I phone4 and have the same apple ID on both of them, strangely I noticed the messages sent from one phone appearing the other one along with any pictures I sent from one of my Iphones. Is it possible to see the same msgs.

    I have recently bought a second I phone4 and have the same apple ID on both of them, strangely I noticed the messages sent from one phone appearing the other one along with any pictures I sent from one of my Iphones. Is it possible to see the same msgs.

    You need to setup different Receive At addresses for iMessage.
    If you don't want the same pics on each, turn off PhotoStream.
    User Guide

Maybe you are looking for

  • How to connect Photosmart C4795 to Wireless Network - Mac OSX 10.8.4

    I am desperately confused here!  When I bought the printer 2-ish years ago I was able to set it up and have it connected to my network no problem.  Since then I have moved and updated my OS to Mountain Lion and lost my installation CD.  As of now, th

  • Need Help: Can not detect monitor

    I have built a computer from scratch and the computer restart itself once awhile. I tried to update all the drivers by running a live update from MSI. All the drivers were updated, except the BIOS. I also updated the newest AGP Video driver. When I r

  • Purchase order date updating in asset master

    Dear Experts When we are creating the Purchase order With reference to the Asset, my client wants to Update the PO date automatically in asset master I have maintained the PO date as an optional field in asset master and created PR and Po with refere

  • Smart Albums Don't Update

    I've been having an issue with smart albums. It seems that in iPhoto 11, they won't update automatically. I can force them to update by getting info on the album's settings and then choosing "ok" without changing anything. This, however, is a royal p

  • How do I transfer my itunes audiobook to my iphone?

    I downloaded audio books to my Itunes account on my desktop computer, but it's not syncing or and don't know how to upload it to my Iphone. How do I transfer my itunes audiobook to my iphone?