Buttons on top of buttons

Hi,
I'm having some problems with a course and hoping someone may be able to help.
I have created an advent calender style slide, each time you click a door it opens and a pop up appears with some information in. The pop up is made up of an image, a couple of text boxes and a smartshape which I'm using as a button all grouped. What I want to happen is when you click the button in the group the pop up is hidden and you can select another door. What actually happens is you click the button but click on another door that's underneath the button activating it and bringing up another pop up. It's like it's transparent. I have brought the smartshape to the top of the group and the pop up groups sit above everything else in the timeline.
I'm stumped so any help appreciated.
Ryan

Thanks so much for the response. I read the blog post and think it may apply but not sure how I would go about doing it. Here are some screen shots that may help describe what's going on:
1. This is the initial view. Each door is a button, when clicked the door opens and a pop up appears.
2. Here's the pop up. It's a group of several elemets. Over the ribbon is a transparent smartshape button which hides the group returning you to the calander view so you can click another door. I have scribbled the location of the close button in blue.
3. Now here's the problem. When I click the button instead of the group hiding the button on the door directly beneath the button is activated, it opens and it's pop up appears.
I suppose that what needs to happen the button for the advent calender door directly beneath the 'close' button needs to be made inactive when any of the pop up groups are visible but how I could achieve this I have no idea so as always any ideas appreciated.

Similar Messages

  • Side volume button and top mute button

    I bought this phone from someone and everything works fine but when I try to push the side volume buttons, nothing happens. I can only change it from Normal to Vibrate on the Applications Menu (?). Also, I tried pushing the top mute button and it entered standby mode. How do I change this?

    All the above are correct in the working of the side volume and mute buttons.
    For the volume up/down while on the main screen... what is it that you were expecting to occur?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • My Top Sites Button Has Disappeared - How do you get it back?

    I have safari for windows xp and have noticed that my top sites button on the top left has disappeared. I want to get it back and have tried -general settings -customize toolbar, and i've tried -edit -preferences -toolbar, but neither have an option of re-adding the top sites button.
    Does anyone know what has happened - have apple deleted the top sites function?
    If anyone has any ideas it'd be a great help. thanks.

    The button is still there with 5.0.2. (At least, still supposed to be there.)
    Are your video drivers or display adaptor drivers up to date? (Plausibly, the higher version of Safari may have outstripped the capabilities of your existing drivers. If so, an update of the drivers may be of some assistance.)

  • Top power button doesn't work all the time

    Top power button works intermittently

    Restart the device. http://support.apple.com/kb/ht1430
    Reset the device. (Same article as above.)
    Restore from backup. http://support.apple.com/kb/ht1766 (If you don't have a backup, make one now, then skip to the next step.)
    Restore as new device. http://support.apple.com/kb/HT4137  For this step, do not re-download ANYTHING, and do not sign into your Apple ID.
    Test the issue after each step.  If the last one does not resolve the issue, it is likely a hardware problem.
    This is what Apple is going to make you do anyways before deeming it a hardware issue. Go ahead and do these steps, and when you contact Apple, you can let them know you've restored it as a new device and the issue remains. That will reduce your time on the phone with technical support or the time you spend in the store.

  • How can i place button on top right hand corner of the tabbed pane

    Hi all,
    i want to place button on top right hand corner of the tabbed pane, just run the code below, i have add button(it going to insert tab into tabbedpane), i want to place that tab into top right hand corner of the tabbedpane (not inside the tab itself). if i set tab policy setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT), it will give two button at right hand corner along with those buttons i want to and one more add button.
    please suggest so that i can move forward.
    Thanks in advance
    import java.awt.Dimension;
    import java.util.HashMap;
    import javax.swing.JPanel;
    import javax.swing.JTabbedPane;
    * @author  Dayananda.BV
    public class TabpaneDemo extends javax.swing.JFrame {
        /** Creates new form TabpaneDemo */
        HashMap<Integer, tabpanel> panelMap = new HashMap<Integer, tabpanel>();
        public TabpaneDemo() {
            initComponents();
            createFloorPlan();
            getContentPane().setPreferredSize(new Dimension(400,400));
            jTabbedPane1.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc=" Generated Code ">                         
        private void initComponents() {
            jTabbedPane1 = new javax.swing.JTabbedPane();
            add_tab_button = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            add_tab_button.setText("+");
            add_tab_button.setMargin(new java.awt.Insets(0, 0, 0, 0));
            add_tab_button.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    add_tab_buttonActionPerformed(evt);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                    .addContainerGap(308, Short.MAX_VALUE)
                    .addComponent(add_tab_button, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(67, 67, 67))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addComponent(add_tab_button)
                    .addGap(8, 8, 8)
                    .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 292, Short.MAX_VALUE))
            pack();
        }// </editor-fold>                       
        private void createFloorPlan(){
            tabpanel floorplan_Panel = new tabpanel(panelMap.size()+1);
            panelMap.put(floorplan_Panel.getTabIndex(), floorplan_Panel);
            jTabbedPane1.add(floorplan_Panel, floorplan_Panel.getTabName());
            jTabbedPane1.setSelectedIndex(jTabbedPane1.getTabCount()-1);
        private void add_tab_buttonActionPerformed(java.awt.event.ActionEvent evt) {                                              
            createFloorPlan();
         * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new TabpaneDemo().setVisible(true);
        // Variables declaration - do not modify                    
        private javax.swing.JButton add_tab_button;
        private javax.swing.JTabbedPane jTabbedPane1;
        // End of variables declaration                  
        class tabpanel extends JPanel{
            private int tabIndex = 0;
            private String tabName ;
            public tabpanel(int tabIndex) {
                this.tabIndex = tabIndex;
                if(tabIndex >= 10) {
                    tabName = "Floor Map"+tabIndex;
                } else{
                    tabName = "Floor Map"+tabIndex+"  ";
            public int getTabIndex(){
                return tabIndex;
            public String getTabName(){
                return tabName;
    }Thanks
    Dayananda B V

    This part of tabbed pane is not customizable as it lies in the ComponentUI(TabbedpaneUI) portion of the tabbedpane.
    But I can point out the place u can change to bring the desired feature into effect.
    U can find an Inner class called ScrollableTabSupport
    Look for the methods createButtons where u can create extra buttons and add to the tabbed pane.
    The Inner class also implements actionListener where u can implement the action for the button u added.
    By this method U have to use your own extended TabbedPaneUI which u cant escape from.
    Hope this will help u.

  • I tried to soft reset my ipod touch with the top button and the screen button.  it turned off and went to the blue screen with the apple.  now it won't do anything-it has stayed on that scren for 4 hours now.  does anyone know how i can fix this?

    i tried to soft reset my ipod touch with the top button and the screen button.  it turned off and then went to the blue screen with the apple like it should.  however, it now just stays on that screen.  it has a sort of clock looking thing at the bottom of the apple that does not move either.  it has stayed on this screen for over 4 hours.  i also can not hard reset it in itunes.  i am not really goood at this sort of thing.  does anyone have this problem or a possible solution?  thanks

    See Here for
    Frozen or unresponsive iPod touch
    The Basic Troubleshooting Steps are:
    Restart..  Reset..  Restore...
    Try this First... You will Not Lose Any Data...
    Turn the iPod Off... ( if it isn’t already )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear and then Disappear...
    Usually takes about 15 - 20 Seconds... (But can take Longer...)
    Release the Buttons...
    Turn the iPod On...
    If that does not help... See Here:
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414

  • Hi I have an iPhone 4 and suddenly it stopped working. Could here notifications and nothing on the diisplay. Wake up  button on top is not working. so unable to restart the phone. Wanted to try restore from iTunes but Find my iPhone (iCloud) is on.

    Hi I have an iPhone 4 and suddenly it stopped working. Could here notifications and nothing on the diisplay. Wake up  button on top is not working. so unable to restart the phone. Wanted to try restore from iTunes but Find my iPhone (iCloud) is on. How to recover or restart my Phone

    Follow these steps to log into your iCloud account on your computer and deactivate "Find my iPhone" on your device:
    Remove an iOS device or Mac on which you can’t turn off Find My iPhone
    If you can’t turn off Find My iPhone on the device, turn off the device so it goes offline, then remove it from Find My iPhone on iCloud.com.
    Note:    You can also remove your iOS device by first erasing it—just follow the instructions below for removing an iOS device you don’t have. You can later restore the device from an iCloud or iTunes backup.
    Turn off the device you want to remove.
    Sign in to icloud.com/#find on another computer with your Apple ID (the one you use with iCloud). If you’re using another iCloud app, click the app’s name at the top of the iCloud.com window, then click Find My iPhone.
    Click All Devices, select the offline device, then click Remove from Account. If you don’t see Remove from Account, click All Devices again, then click the Delete button next to the device. If the device comes online again, it will reappear in Find My iPhone. If your device reappears, turn off Find My iPhone on the device (follow the instructions above for removing a device by turning off Find My iPhone), or if it’s an iOS device and you no longer have it, follow the instructions below for removing an iOS device you no longer have.
    Remove an iOS device you no longer have
    If you no longer have the iOS device because you gave it away or sold it, you need to remotely erase it before you can remove it.
    Sign in to icloud.com/#find with your Apple ID (the one you use with iCloud). If you’re using another iCloud app, click the app’s name at the top of the iCloud.com window, then click Find My iPhone.
    Click All Devices, then select the device.
    Click Erase [device], then enter your Apple ID password. Because the device isn’t lost, don’t enter a phone number or message.
    Note:    If you’re trying to erase a family member’s device, that person will need to enter his or her Apple ID password on this device. If the device is offline, the remote erase begins the next time it’s online. You’ll receive an email when the device is erased.
    When the device is erased, click Remove from Account.All your content is erased, and someone else can now activate the device.
    copied from: iCloud: Remove your device from Find My iPhone

  • I tried changing my password, and it changed to one that wasnt it, and i dont know it. So i tried it too many times and now its saying it is disabled, connect to itunes. but a problem is that my power button on top is broken. how to i fix it?

    I tried changing my password, and it changed to one that wasnt it, and i dont know it. So i tried it too many times and now its saying it is disabled, connect to itunes. but a problem is that my power button on top is broken. how to i fix it?

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • Scanjet G3110 top-deck buttons don't work on Win 7 Pro 64-bit

    Scanjet G3110
    Windows 7 Pro SP1 64-bit
    Downloaded and installed new drivers (2014-01-15 , Version14.5). Scanner works, but the top-deck buttons don't.
    No errors or warnings either during installation or while trying to use the scanner, but in the Application Event Log, I see two entries from MsiInstaller, in the order they occurred:
    Product: hpg3110 -- Error 1904.Module C:\Program Files (x86)\Common Files\Hewlett-Packard\Scanjet\DriverStore\hpgtg311.dll failed to register.  HRESULT -2147220473.  Contact your support personnel.
    Product: hpg3110 -- Error 1905.Module C:\Program Files (x86)\Common Files\Hewlett-Packard\Scanjet\DriverStore\hpgtg311.dll failed to unregister.  HRESULT -2147220472.  Contact your support personnel.
    No idea if this is related or even important.

    Well, I know why the buttons don't work, but I still don't know what a real fix would be.
    The Windows Image Acquisition service starts at boot time as it should (its startup type is set to "Automatic")  but then stops after about 5 minutes. When it's not running, the buttons don't work.
    If I start the service again, the buttons will work. It appears that once I've started the service manually, it will continue to run until the machine's shut down.

  • Mine is not a question but I received the solution to the iphone 4s not discovering bluetooth, you hold the top button and the home button until the apple logo comes up and then let it reboot, put your bluetooth in pairing mode, and then turn on bluetooth

    My new iphone 4s would not discover bluetooth.  I called apple, and the guy was great!!!  He told me to hold the top button and the home button together and do not let go until the apple logo came up, this would do a hard reset.  Then when it reboots, you turn on your bluetooth in paring mode, and then turn on the bluetooth on your iphone 4s and it will find your bluetooth device.  Simple, yet it works!!!  Hope this helps those of you having the same problem I was having trying to connect your bluetooth. 

    My new iphone 4s would not discover bluetooth.  I called apple, and the guy was great!!!  He told me to hold the top button and the home button together and do not let go until the apple logo came up, this would do a hard reset.  Then when it reboots, you turn on your bluetooth in paring mode, and then turn on the bluetooth on your iphone 4s and it will find your bluetooth device.  Simple, yet it works!!!  Hope this helps those of you having the same problem I was having trying to connect your bluetooth. 

  • Problem placing buttons on top of a background image

    My knowledge of Java isn't the greatest and I am currently having problems placing buttons on top of a background image within a JApplet (this is also my first encounter with Applets).
    I'm using a Card Layout in order to display a series of different screens upon request.
    The first card is used as a Splash Screen which is displayed for 5 seconds before changing to the Main Menu card.
    When the Main Menu card is called the background image is not shown but the button is.
    While the Applet is running no errors are shown in the console.
    Full source code can be seen below;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.net.*;
    // First extend JApplet
    public class WOT extends JApplet {
         //--------------- Variables are declared here -----------------
         private CardLayout contentCardLayout = new CardLayout();  // declare CardLayout
         private Container contentContain;     // declare content Container
         private JPanel contentCard, splashScreen, mainMenu, menuImage; // declare content Panels
         private JLabel splash, menu, map; // declare image labels
         private ImageIcon mapBtn; // declare ImageIcons
         private JButton mapOption; // declare option Buttons
         private Timer timer; // declare Timer
         private ActionListener actionListener, mapOptionListener; // declare ActionListener
    //--------------- Initialise Applet -----------------
      public void init() {
         //--------------- Set-up Card Layout -----------------
         contentCard = new JPanel(contentCardLayout); // assign card panels to CardLayout
         //--------------- Splash Screen -----------------
         splashScreen = new JPanel();
         splash = new JLabel(new ImageIcon(getClass().getResource("img/bg.gif")));
         splashScreen.add(splash);
         splashScreen.setSize(600,800);
         splashScreen.setLocation(0,0);
    //--------------- "View Map" Option Button -----------------
         mapBtn = new ImageIcon(getClass().getResource("img/map.gif"));
         mapOption = new JButton(mapBtn);
         mapOption.setBorder(null);
         mapOption.setContentAreaFilled(false);
         mapOption.setSize(150,66);
         mapOption.setLocation(150,450);
         mapOption.setOpaque(false);
         mapOption.setVisible(true);
    //--------------- Main Menu Screen -----------------
         //menuImage = new JPanel(null);
         //menuImage.add(mainMenu);
         //menuImage.setLocation(0,0);
         mainMenu = new JPanel(null);
         menu = new JLabel(new ImageIcon(getClass().getResource("img/menu.gif")));
         menu.setLocation(0,0);
         mainMenu.add(menu);
         //mainMenu.setBackground(Color.WHITE);
         mainMenu.setLocation(0,0);
         mainMenu.setOpaque(false);
         //mainMenu.setSize(150,66);
         mainMenu.add(mapOption);
         //--------------- Map Image Screen -----------------
         map = new JLabel(new ImageIcon(getClass().getResource("img/map.gif")));
         //--------------- Add Cards to CardLayout Panel -----------------
        contentCard.add(splashScreen, "Splash Screen");
         contentCard.add(mainMenu, "Main Menu");
         contentCard.add(map, "Map Image");
    //--------------- Set-up container -----------------
          contentContain = getContentPane(); // set container as content pane
          contentContain.setBackground(Color.WHITE); // set container background colour
           contentContain.setLocation(0,0);
           contentContain.setSize(600,800);
          contentContain.setLayout(new FlowLayout()); // set container layout
           contentContain.add(contentCard);  // cards added
           //--------------- Timer Action Listener -----------------
           actionListener = new ActionListener()
                    public void actionPerformed(ActionEvent actionEvent)
                             //--------------- Show Main Menu Card -----------------
                             contentCardLayout.show(contentCard, "Main Menu");
         //--------------- Map Option Button Action Listener -----------------
           mapOptionListener = new ActionListener()
                    public void actionPerformed(ActionEvent actionEvent)
                             //--------------- Show Main Menu Card -----------------
                             contentCardLayout.show(contentCard, "Map Image");
         //--------------- Timer -----------------               
         timer = new Timer(5000, actionListener);
         timer.start();
         timer.setRepeats(false);
    }Any help would be much appreciated!
    Edited by: bex1984 on May 18, 2008 6:31 AM

    1) When posting here, please use fewer comments. The comments that you have don't help folks who know Java read and understand your program and in fact hinder this ability, which makes it less likely that someone will in fact read your code and help you -- something you definitely don't want to have happen! Instead, strive to make your variable and method names as logical and self-commenting as possible, and use comments judiciously and a bit more sparingly.
    2) Try to use more methods and even classes to "divide and conquer".
    3) To create a panel with a background image that can hold buttons and such, you should create an object that overrides JPanel and has a paintComponent override method within it that draws your image using the graphics object's drawImage(...) method
    For instance:
    an image jpanel:
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import java.io.IOException;
    import java.net.URISyntaxException;
    import java.net.URL;
    import javax.imageio.ImageIO;
    import javax.swing.JButton;
    import javax.swing.JPanel;
    public class BackgroundImage
        // **** this will have to be changed for your program:
        private static final String IMAGE_PATH = "../../m02/a/images/Forest.jpg";
        private BufferedImage myImage = null;
        private JPanel imagePanel = new JPanel()
            @Override
            protected void paintComponent(Graphics g)
            {   // *** here is where I draw my image
                super.paintComponent(g);  // **** don't forget this!
                if (myImage != null)
                    g.drawImage(myImage, 0, 0, this);
        public BackgroundImage()
            imagePanel.setPreferredSize(new Dimension(600, 450));
            imagePanel.add(new JButton("Foobars Rule!"));
            try
                myImage = createImage(IMAGE_PATH);
            catch (IOException e)
                e.printStackTrace();
            catch (URISyntaxException e)
                e.printStackTrace();
        private BufferedImage createImage(String path) throws IOException,
                URISyntaxException
            URL imageURL = getClass().getResource(path);
            if (imageURL != null)
                return ImageIO.read(new File(imageURL.toURI()));
            else
                return null;
        public JPanel getImagePanel()
            return imagePanel;
    }and an applet that uses it:
    import java.lang.reflect.InvocationTargetException;
    import javax.swing.JApplet;
    import javax.swing.SwingUtilities;
    public class BackgrndImageApplet extends JApplet
        @Override
        public void init()
            try
                SwingUtilities.invokeAndWait(new Runnable()
                    @Override
                    public void run()
                        getContentPane().add(new BackgroundImage().getImagePanel());
            catch (InterruptedException e)
                e.printStackTrace();
            catch (InvocationTargetException e)
                e.printStackTrace();
    }

  • My ipod screen has a white screen i have tried plugging it in to itunes and pressing the home button and top button together but it wont turn on! this has happened before, i should have never bought one what should i do?

    my ipod screen has went white i have tried plugging it into itunes and pressing the home button and top button together for 10 seconds but it wont work!! this has happened twice before already and i havent even had it a year yet, i should have listened to my sister and never have bought one!!! someone help please ?

    - Connect to computer and it it shows in iTune restore via iTunes
    - Then try letting the battery fully drain. After charging for an hour try the reset (both buttons) and connecting to computer and restore.

  • My phone just turned off and will not go back on. my top lock button has been broken for over a year. Help!

    my phone just turned off and will not go back on. my top lock button has been broken for over a year. Help! I have tried plugging it into wall unit and computer but my home button just doesnt do anything!

    It seems that year long delay from having your lock button repaired has finally caught up to you.  Sounds like you have some damage to your phone that requires repair/replacement.  Take it to a Apple store or contact Apple Tech Support.

  • Pdf converter button on top of the browser disappeared.

    I have adobe acrobat 9.  I had a Pdf converter button on top og the browser that I used to convert web pages to pdf documents.  This button disappeared last week.  Could it be restored?  I tried reinstalling the software and tried internet options to make sure third party extensions were checked.

    Sorry, moving doesn't seem to be working right now, but you should post your question here:
    http://forums.adobe.com/community/acrobat
    This forum is for photoshop elements, the consumer version of photoshop.

  • When selecting the camera on 3gs the screen just goes black i can still take a photo using the top volume button but not with the screen please help

    hello there
    when selecting the camera on my 3gs the screen goes black and has no responce i can take a picture with the top volume button but cannot see it until i open photos
    please can anyone help
    thankyou andy

    Try closing the Camera app completely and see if it works properly when you re-open the app : from the home screen (i.e. not with the Camera app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Camera app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work also do a reset (unless this is what you mean by powering off and restarting) : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

Maybe you are looking for