Why do the menus disappear?

I am quite new to Java and I use project builder on my mac running OSX. Anyway I found some sample code and I was wondering if anybody could help me out. Basically when the app is compiled it draws "Hello World" in the window and there are two menus in the menubar -> 'File' and 'Edit', but when you go to the about box the menus disappear until you either close the aboutbox or bring the focus back to the main window.
How can I always keep the menus showing when there are multiple windows in the app. Remember that mac menus are fixed to the top of the screen...
anyway heres the code:
import java.awt.*;
import java.awt.event.*;
import com.apple.mrj.*;
import javax.swing.*;
public class test extends JFrame
                      implements  ActionListener,
                                  MRJAboutHandler,
                                  MRJQuitHandler
    static final String message = "Hello World!";
    private Font font = new Font("serif", Font.ITALIC+Font.BOLD, 36);
    protected AboutBox aboutBox;
    // Declarations for menus
    static final JMenuBar mainMenuBar = new JMenuBar();
    static final JMenu fileMenu = new JMenu("File");
    protected JMenuItem miNew;
    protected JMenuItem miOpen;
    protected JMenuItem miClose;
    protected JMenuItem miSave;
    protected JMenuItem miSaveAs;
    static final JMenu editMenu = new JMenu("Edit");
    protected JMenuItem miUndo;
    protected JMenuItem miCut;
    protected JMenuItem miCopy;
    protected JMenuItem miPaste;
    protected JMenuItem miClear;
    protected JMenuItem miSelectAll;
    public void addFileMenuItems() {
        miNew = new JMenuItem ("New");
        miNew.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_N, java.awt.Event.META_MASK));
        fileMenu.add(miNew).setEnabled(true);
        miNew.addActionListener(this);
        miOpen = new JMenuItem ("Open...");
        miOpen.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.Event.META_MASK));
        fileMenu.add(miOpen).setEnabled(true);
        miOpen.addActionListener(this);
        miClose = new JMenuItem ("Close");
        miClose.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_W, java.awt.Event.META_MASK));
        fileMenu.add(miClose).setEnabled(true);
        miClose.addActionListener(this);
        miSave = new JMenuItem ("Save");
        miSave.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.Event.META_MASK));
        fileMenu.add(miSave).setEnabled(true);
        miSave.addActionListener(this);
        miSaveAs = new JMenuItem ("Save As...");
        fileMenu.add(miSaveAs).setEnabled(true);
        miSaveAs.addActionListener(this);
        mainMenuBar.add(fileMenu);
    public void addEditMenuItems() {
        miUndo = new JMenuItem("Undo");
        miUndo.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_Z, java.awt.Event.META_MASK));
        editMenu.add(miUndo).setEnabled(true);
        miUndo.addActionListener(this);
        editMenu.addSeparator();
        miCut = new JMenuItem("Cut");
        miCut.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_X, java.awt.Event.META_MASK));
        editMenu.add(miCut).setEnabled(true);
        miCut.addActionListener(this);
        miCopy = new JMenuItem("Copy");
        miCopy.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_C, java.awt.Event.META_MASK));
        editMenu.add(miCopy).setEnabled(true);
        miCopy.addActionListener(this);
        miPaste = new JMenuItem("Paste");
        miPaste.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_V, java.awt.Event.META_MASK));
        editMenu.add(miPaste).setEnabled(true);
        miPaste.addActionListener(this);
        miClear = new JMenuItem("Clear");
        editMenu.add(miClear).setEnabled(true);
        miClear.addActionListener(this);
        editMenu.addSeparator();
        miSelectAll = new JMenuItem("Select All");
        miSelectAll.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_A, java.awt.Event.META_MASK));
        editMenu.add(miSelectAll).setEnabled(true);
        miSelectAll.addActionListener(this);
        mainMenuBar.add(editMenu);
    public void addMenus() {
        addFileMenuItems();
        addEditMenuItems();
        setJMenuBar (mainMenuBar);
    public test() {
        super("test");
        this.getContentPane().setLayout(null);
        addMenus();
        aboutBox = new AboutBox();
        Toolkit.getDefaultToolkit();
        MRJApplicationUtils.registerAboutHandler(this);
        MRJApplicationUtils.registerQuitHandler(this);
        setVisible(true);
    public void paint(Graphics g) {
          super.paint(g);
        g.setColor(Color.blue);
        g.setFont (font);
        g.drawString(message, 40, 80);
    public void handleAbout() {
        aboutBox.setResizable(false);
        aboutBox.setVisible(true);
        aboutBox.show();
    public void handleQuit() {     
        System.exit(0);
    // ActionListener interface (for menus)
    public void actionPerformed(ActionEvent newEvent) {
        if (newEvent.getActionCommand().equals(miNew.getActionCommand())) doNew();
        else if (newEvent.getActionCommand().equals(miOpen.getActionCommand())) doOpen();
        else if (newEvent.getActionCommand().equals(miClose.getActionCommand())) doClose();
        else if (newEvent.getActionCommand().equals(miSave.getActionCommand())) doSave();
        else if (newEvent.getActionCommand().equals(miSaveAs.getActionCommand())) doSaveAs();
        else if (newEvent.getActionCommand().equals(miUndo.getActionCommand())) doUndo();
        else if (newEvent.getActionCommand().equals(miCut.getActionCommand())) doCut();
        else if (newEvent.getActionCommand().equals(miCopy.getActionCommand())) doCopy();
        else if (newEvent.getActionCommand().equals(miPaste.getActionCommand())) doPaste();
        else if (newEvent.getActionCommand().equals(miClear.getActionCommand())) doClear();
        else if (newEvent.getActionCommand().equals(miSelectAll.getActionCommand())) doSelectAll();
    public void doNew() {}
    public void doOpen() {}
    public void doClose() {}
    public void doSave() {}
    public void doSaveAs() {}
    public void doUndo() {}
    public void doCut() {}
    public void doCopy() {}
    public void doPaste() {}
    public void doClear() {}
    public void doSelectAll() {}
    public static void main(String args[]) {
        new test();
}������������������������������������������
and the coe of the aboutbox
������������������������������������������
//     File:     AboutBox.java
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class AboutBox extends JFrame
                      implements ActionListener
    protected JButton okButton;
    protected JLabel aboutText;
    public AboutBox() {
     super();
        this.getContentPane().setLayout(new BorderLayout(15, 15));
        this.setFont(new Font ("SansSerif", Font.BOLD, 14));
        aboutText = new JLabel ("About test");
        JPanel textPanel = new JPanel(new FlowLayout(FlowLayout.CENTER, 15, 15));
        textPanel.add(aboutText);
        this.getContentPane().add (textPanel, BorderLayout.NORTH);
        okButton = new JButton("OK");
        JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.CENTER, 15, 15));
        buttonPanel.add (okButton);
        okButton.addActionListener(this);
        this.getContentPane().add(buttonPanel, BorderLayout.SOUTH);
        this.pack();
    public void actionPerformed(ActionEvent newEvent) {
        setVisible(false);
}thanks

please anyone wanna help me?

Similar Messages

  • Why do the menus diseappear? please help.....

    I am quite new to Java and I use project builder on my mac running OSX. Anyway I found some sample code and I was wondering if anybody could help me out. Basically when the app is compiled it draws "Hello World" in the window and there are two menus in the menubar -> 'File' and 'Edit', but when you go to the about box the menus disappear until you either close the aboutbox or bring the focus back to the main window.
    How can I always keep the menus showing when there are multiple windows in the app. Remember that mac menus are fixed to the top of the screen...
    anyway heres the code:
    import java.awt.*;
    import java.awt.event.*;
    import com.apple.mrj.*;
    import javax.swing.*;
    public class test extends JFrame
                          implements  ActionListener,
                                      MRJAboutHandler,
                                      MRJQuitHandler
        static final String message = "Hello World!";
        private Font font = new Font("serif", Font.ITALIC+Font.BOLD, 36);
        protected AboutBox aboutBox;
        // Declarations for menus
        static final JMenuBar mainMenuBar = new JMenuBar();
        static final JMenu fileMenu = new JMenu("File");
        protected JMenuItem miNew;
        protected JMenuItem miOpen;
        protected JMenuItem miClose;
        protected JMenuItem miSave;
        protected JMenuItem miSaveAs;
        static final JMenu editMenu = new JMenu("Edit");
        protected JMenuItem miUndo;
        protected JMenuItem miCut;
        protected JMenuItem miCopy;
        protected JMenuItem miPaste;
        protected JMenuItem miClear;
        protected JMenuItem miSelectAll;
        public void addFileMenuItems() {
            miNew = new JMenuItem ("New");
            miNew.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_N, java.awt.Event.META_MASK));
            fileMenu.add(miNew).setEnabled(true);
            miNew.addActionListener(this);
            miOpen = new JMenuItem ("Open...");
            miOpen.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.Event.META_MASK));
            fileMenu.add(miOpen).setEnabled(true);
            miOpen.addActionListener(this);
            miClose = new JMenuItem ("Close");
            miClose.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_W, java.awt.Event.META_MASK));
            fileMenu.add(miClose).setEnabled(true);
            miClose.addActionListener(this);
            miSave = new JMenuItem ("Save");
            miSave.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.Event.META_MASK));
            fileMenu.add(miSave).setEnabled(true);
            miSave.addActionListener(this);
            miSaveAs = new JMenuItem ("Save As...");
            fileMenu.add(miSaveAs).setEnabled(true);
            miSaveAs.addActionListener(this);
            mainMenuBar.add(fileMenu);
        public void addEditMenuItems() {
            miUndo = new JMenuItem("Undo");
            miUndo.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_Z, java.awt.Event.META_MASK));
            editMenu.add(miUndo).setEnabled(true);
            miUndo.addActionListener(this);
            editMenu.addSeparator();
            miCut = new JMenuItem("Cut");
            miCut.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_X, java.awt.Event.META_MASK));
            editMenu.add(miCut).setEnabled(true);
            miCut.addActionListener(this);
            miCopy = new JMenuItem("Copy");
            miCopy.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_C, java.awt.Event.META_MASK));
            editMenu.add(miCopy).setEnabled(true);
            miCopy.addActionListener(this);
            miPaste = new JMenuItem("Paste");
            miPaste.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_V, java.awt.Event.META_MASK));
            editMenu.add(miPaste).setEnabled(true);
            miPaste.addActionListener(this);
            miClear = new JMenuItem("Clear");
            editMenu.add(miClear).setEnabled(true);
            miClear.addActionListener(this);
            editMenu.addSeparator();
            miSelectAll = new JMenuItem("Select All");
            miSelectAll.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_A, java.awt.Event.META_MASK));
            editMenu.add(miSelectAll).setEnabled(true);
            miSelectAll.addActionListener(this);
            mainMenuBar.add(editMenu);
        public void addMenus() {
            addFileMenuItems();
            addEditMenuItems();
            setJMenuBar (mainMenuBar);
        public test() {
            super("test");
            this.getContentPane().setLayout(null);
            addMenus();
            aboutBox = new AboutBox();
            Toolkit.getDefaultToolkit();
            MRJApplicationUtils.registerAboutHandler(this);
            MRJApplicationUtils.registerQuitHandler(this);
            setVisible(true);
        public void paint(Graphics g) {
                    super.paint(g);
            g.setColor(Color.blue);
            g.setFont (font);
            g.drawString(message, 40, 80);
        public void handleAbout() {
            aboutBox.setResizable(false);
            aboutBox.setVisible(true);
            aboutBox.show();
        public void handleQuit() {
            System.exit(0);
        // ActionListener interface (for menus)
        public void actionPerformed(ActionEvent newEvent) {
            if (newEvent.getActionCommand().equals(miNew.getActionCommand())) doNew();
            else if (newEvent.getActionCommand().equals(miOpen.getActionCommand())) doOpen();
            else if (newEvent.getActionCommand().equals(miClose.getActionCommand())) doClose();
            else if (newEvent.getActionCommand().equals(miSave.getActionCommand())) doSave();
            else if (newEvent.getActionCommand().equals(miSaveAs.getActionCommand())) doSaveAs();
            else if (newEvent.getActionCommand().equals(miUndo.getActionCommand())) doUndo();
            else if (newEvent.getActionCommand().equals(miCut.getActionCommand())) doCut();
            else if (newEvent.getActionCommand().equals(miCopy.getActionCommand())) doCopy();
            else if (newEvent.getActionCommand().equals(miPaste.getActionCommand())) doPaste();
            else if (newEvent.getActionCommand().equals(miClear.getActionCommand())) doClear();
            else if (newEvent.getActionCommand().equals(miSelectAll.getActionCommand())) doSelectAll();
        public void doNew() {}
        public void doOpen() {}
        public void doClose() {}
        public void doSave() {}
        public void doSaveAs() {}
        public void doUndo() {}
        public void doCut() {}
        public void doCopy() {}
        public void doPaste() {}
        public void doClear() {}
        public void doSelectAll() {}
        public static void main(String args[]) {
            new test();
    }������������������������������������������
    and the coe of the aboutbox
    ������������������������������������������
    //      File:   AboutBox.java
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class AboutBox extends JFrame
                          implements ActionListener
        protected JButton okButton;
        protected JLabel aboutText;
        public AboutBox() {
            super();
            this.getContentPane().setLayout(new BorderLayout(15, 15));
            this.setFont(new Font ("SansSerif", Font.BOLD, 14));
            aboutText = new JLabel ("About test");
            JPanel textPanel = new JPanel(new FlowLayout(FlowLayout.CENTER, 15, 15));
            textPanel.add(aboutText);
            this.getContentPane().add (textPanel, BorderLayout.NORTH);
            okButton = new JButton("OK");
            JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.CENTER, 15, 15));
            buttonPanel.add (okButton);
            okButton.addActionListener(this);
            this.getContentPane().add(buttonPanel, BorderLayout.SOUTH);
            this.pack();
        public void actionPerformed(ActionEvent newEvent) {
            setVisible(false);
    }thanks

    Why not make the about box a dialog in the frame which initially has setVisible(false) and only appears when required by chaning this to true, then back to false on closing.
    That way it shouldn't interfere with the menus, as it is always there, just not always visible...

  • Why does the slider disappear every time I use it to move the window (Windows: FF 32.0)?

    Why does the slider disappear every time I use it to move the window (Windows: FF 32.0)? How do I get the slider back?

    Problem solved: I have been using Walnut for Firefox ver. 2.0.28 theme. For some reason this has been causing the problem. Started FF in Safe Mode, and the slider problem disappeared. Then proceeded to re-enable the Walnut theme: the problem reappeared. Disabled Walnut theme and reenabled all my other add-ons (about 6 of them). Still no problem. So, clearly there is a problem with the use of Walnut theme in FF ver. 32, at least on my Windows 7 installation.
    Thanks for all your suggestions and help. Good job, all!

  • After I right-clicked on an unwanted email in Microsoft Web Access and put a filter on it all my emails and the menus disappeared. I can re-access in IE but how do I restore what I have foolishly done in Firefox?

    I was working through my emails in Microsoft Web Access when I came across an email from a sender who keeps spamming me. I right-clicked on this unwanted email, saw a filter option and (recklessly) chose it. ALL my emails and the menus disappeared. I can re-access my emails in MWA in IE but how do I restore what I have foolishly messed up in Firefox? When I get to my email page in MWA in Firefox I now see nothing but the movable vertical bar.

    You should really read the manual.
    "How do you restore from backup? "
    Restore.  When given the choice, choose to use backup.
    "And how can I check to see if the pics and videos are on my computer somewhere first??"
    They would only be where you put them.  What program did you use to import them?  Pics/vids taken with ipod are not part of the sync process at all.  You should be importing them just as you would with any digital camera.
    If you did not import them, then they are not on your computer.

  • When welcome page comes up I click edit, why does the page disappear?

    When the welcome page is on my screen and I click on edit, why does the page disappear and nothing comes up?

    I'm a little confused, what welcmoe page are you talking about? Can you provide a screenshot?
    Julia

  • Why does the cursor disappear completely?

    The cursor disappears completely from the screen sometimes (I have a microsoft wireless mouse), and it does no good to use the pad either. Sometimes if I close the Mac, go away and come back, the cursor has returned. Other times I have to turn off the mac.  Advice?

    dplpc wrote:
    Why does the cursor disappear sometimes when close the mac's lid?
    Because the bottom of the computer is blocking the display.

  • Why is the sound disappearing when I send a video?

    I have an iPhone 5C.  When I record a video and send it, the sound disappears!  I can hear it just fine when I play the video back on my phone, but if I send the video to someone, they can't hear it.  Why is this happening?  I tested it by sending it to my email, and sure enough, the sound is gone!  Am I doing something wrong when I send it, or is there a setting that is off somewhere that I need to adjust?

    I can't even see where that setting is.. for my information all the footage is from a GoPro so what I've had to do is convert them to .mov and Apple ProRes 422 now. Now when I have them in final cut the samples in 'All Clips' and in the time line look ok in till I hover over them and then they have the red hint again, they do how ever export the right colour now but this is going to make colour correction difficult

  • Why do the bookmarks disappear from safari

    Why do bookmarks temporarily disappear from Safari in my iPad?

    Try a reset:
    Hold the Sleep and Home button down until you see the Apple logo.

  • Why does the sound disappear halfway through every song???

    I went jogging yesterday and about halfway through every song the sound would disappear without the song pauseing. When I skipped a few seconds forwards or backwards in the song the sound came back. Then it played for about 1 minute before the sound disappeared again. I am the only one using the account. I have tried to log out and deleteing the app and downloading it again, but nothing works :(  This only happens when I am using my headphones from my Iphone. Spotify on my computer works fine and so does spotify on my phone if I dont use the headphones. My headphones are new and I have tried using others, but it is still the same problem!PLEASE HELP ME

    same thing is happening with my iphone,its not the headphones as far as i can tell trying to find out what the problem is but not having much luck

  • Why does the data disappear from my form fields when my form is sent over to client ?

    Hi all,
    I don't know if this is just happening a few times or ALL the time unfortunately:( I normally send over estimates (as regular pdfs) with some filled out Acrobat forms that make up part of the estimate (these include terms of agreement, project details, etc.). Now, before I send out the pdfs I password protect the entire pdf so that nothing can be changed, but that the pdf can be printed at high quality.
    Well, what is happening when my client opens up the pdf (usually on a Windows machine) is that NOTHING APPEARS in all of the form fields where I had input and saved the data! Yet when I open up the form on my Mac in Acrobat, or Reader or Preview, all looks just fine. Any idea why this is happening and what I could do to prevent it from happening in the future? I am using Acrobat X.
    Thank you kindly,
    Christine

    Hi Gilad,
    I never use Preview and did not use Preview at all before sending the document over to my most recent client either.
    I only opened Preview up this morning after I discovered that all of the form data had disappeared on his end! And the only reason I opened up Preview was because I already knew it looked fine in Acrobat so wanted so wanted to view the form in a different application.
    My client would not even have notified me about it had he not sent the signed form back to me and I saw there was no data there! I then called him and asked him about the missing data and he said that he thought I had simply sent over the form purposely with blank fields:(
    I have just emailed him to ask him what application he opened it up in. My understanding is that he is on Windows because ne mentioned to me his company was using Windows when we last spoke. Perhaps he has a personal Macbook where he opened it? I just don't know and can hopefully soon find out:)
    But THANK YOU for letting me know about that script! I appreciate it:) I have now downloaded and installed it and will just have to use it on ALL of my forms before sending them out:)

  • [JS CS3] Why do sub menus disappear?

    Hello,
    The below script creates a new menu with three sub menus. One of the sub menus invokes a script, while the other two are still under construction. This seems to work except for one irksome thing: When I close InDesign and then reopen it, the menu ("PPcheck") exists but the sub-menus are no longer under the menu. How do I make them permanent?
    Thanks,
    Tom
    #targetengine session
    var englishCheck = new File( "~/Library/Preferences/Adobe InDesign/Version 5.0/Scripts/Scripts Panel/Format/formatCheckWindow.jsx");
    var englishCheckMenu = app.scriptMenuActions.add("Main-English");
    englishCheckMenu.eventListeners.add("onInvoke", englishCheck, false);
    var frenchCheckMenu = app.scriptMenuActions.add("Main-French");
    frenchCheckMenu.eventListeners.add("onInvoke", underConstruct, false);
    var spanishCheckMenu = app.scriptMenuActions.add("Main-Spanish");
    spanishCheckMenu.eventListeners.add("onInvoke", underConstruct, false);
    //following creates menu if it does not exist
    try{
        var scriptMenu = app.menus.item("$ID/Main").submenus.item("PPcheck");
        scriptMenu.title;
    catch (e){
        var scriptMenu = app.menus.item("$ID/Main").submenus.add("PPcheck");
    //following adds sub menu items
    scriptMenu.menuItems.add(englishCheckMenu);
    scriptMenu.menuItems.add(frenchCheckMenu);
    scriptMenu.menuItems.add(spanishCheckMenu);
    //****functions******
    function underConstruct(){
        alert("The French and Spanish semi-automatic checkers are still under construction.");

    Hi Tom,
    I'm not sure wheather it will work, but try two things:
    1. put quotes on session so it states
    #targetengine "session"
    2. don't put "false" in eventListeners
    it's just a guess, but maybe it works
    regards, mileking

  • Why does the waveform disappear after editing in Sound Booth?

    It happens consistently with CS4 on 2 different computers. I right-click the audio track and select Edit in Adobe Sound Booth, and SB opens the audio for editing. I edit the audio, and it updates the audio. I know it does, because when I play back the edited section, it's correct. But the waveform is gone! I tried playing around with the display style -- disable and enable waveform, keyframes, etc. -- but the audio track doesn't display anything. I have to exit out of Premiere and re-start it to see the waveform again.
    Anyone else experience this?
    Also: when editing the audio in SB, is there a way to substitute the PP audio track with a multi-track? I know I can export a multitrack as an .aiff and import it into PP, but I was wondering if there's a way to link it.

    Thanks for responding, but the thread you mentioned seems to be about a mirror-image problem: waveform not appearing in Sound Booth. In my case, SB is working fine and displaying the waveform properly, which is why I posted my question in this forum, instead.
    The problem I'm having is the waveform not appearing in PPro. This doesn't seem to be a case of "it isn't a bug, it's a feature", because exiting and restarting PPro makes the waveform reappear. So it looks like it is a bug. Unless I'm doing something wrong or have a conflict somwhere.
    BTW, I used to use Audition, but it had too many hardware issues and wouldn't run under 64-bit Windows. Have you tried it under Vista x64, or with dynamic links to PPro or After Effects? It seems that PPro, AE and Flash have been designed to work with SB rather than Audition.

  • Why does the cursor disappear

    The cursor intermittently disappears on my imac. I use a mighty mouse. If I shoot to the bottom and then up again it comes back but this is frustrating and it also happens again soon after. Any proper solutions anyone?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up guest users” (without the quotes) in the search box. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, or by a peripheral device.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    *Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Why does the menus show over my airplay video?

    After the last atv update (i think) Something weird happens when i try to stream video (from my iphone or beamer) to my tv. The video plays, but the ATV menus is showing on top of it. It does not happen when i mirror my mac with airplay mirroring.
    Anyone who knows anything about this?
    /R

    Does it show like that in iTunes as well?
    If so there may be a space at the end of one of the names.
    If it is you can fix it by selecting all tracks and doing a multiple edit to make the artist name the same across all of them.
    Let me know if that fixes it.
    Regards,
    Colin R.

  • Why are my menus disappearing after 3 seconds?

    I upgraded from 10.6.8 to 10.9.1 a few days back. Today my menus started behaving strangely. When I mouse-down on a menu (system or application) the menu closes by itself after about 3 second. It's making it nearly impossible to go into submenus because they lose before I can find where I am going.
    In addition, after about every 50-75 characters, my keyboard is refusing to type  character and giving me a beep. I don't know if this is related. I have to backspace and the keep typing.
    Any ideas on what can be going on?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you boot, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

Maybe you are looking for

  • Web service security with active directory

    Hi, i want to protect my webservice by using active directory for authentication. (i am using jdeveloper 10.1.3.1 and bundled OC4J) i follow the document web service developer guide (section External LDAP Security Providers) and set up the LDAP secur

  • Lentitud al imprimir documento pdf en HP

    Tengo Adobe Acrobat X Pro versiòn 10.1.12 instalado bajo Windows 7, y cuando digitalizo un documento con un HP Scanjet 5590 de aproximadamente 10 pàginas y lo envio a la impresora HP Laserjet P2015 se demora una eternidad (casi 15 minutos), desde la

  • Adding a Picture

    I am a new user in J2ME. i want to insert a picture in my application.So the file is image_bw.png in which directory in the windows should i put it? Where is /image_bw.png ? How much should be the size of the picture in cm. Image im = Image.createIma

  • My iMessage read receipts are turned on but it doesn't work for all my contacts

    I have iMessage read receipts turned on on my iPhone 5. Several of my contacts also have it turned on. They can see when I read their messages but it's not showing up on my end. Someone explain to me how this is happening and how I can fix it. I have

  • CrystalReportServerXI-ParameterFieldCurrentValueException Error

    Post Author: krishna.moorthi CA Forum: Integrated Solutions ParameterFields paramFields = new ParameterFields(); CrystalDecisions.Shared.ParameterField paramField0 = new CrystalDecisions.Shared.ParameterField(); paramField0.Name = "@BRANCHNAME"; Para