Canvas hide the menu

Hi!
I've written a program in Java containing the following GUI components:
1> a menu
2> a canvas added to a JFrame at the beginning to introduce something about the program.
3>and some thing else...
But the introduce Canvas always hide the Topdown menu from being viewed.
what do I have to do to repair?
Thanks!

Mixing Swing components and heavyweight AWT components like Canvas is a bad idea. You have
problems with component layering, as you've found out. What are you using Canvas for? Can
you replace it with a Swing Component?

Similar Messages

  • I accidentally hid the menu toolbar, now I can't find an option to unhide it, HELP!

    I was trying to hide some pesky tool bars, I clicked view, then I clicked a toolbar to hide, I hid the wrong one, I hid the menu tool bar. Now I am totally stuck!
    I don't know what version firefox, because the information is in the tool bar I hid. I can't get to tools or view or preferences or nothing.
    Please help!
    Windows 7 I think my firefox version is the latest.

    Just right click the border space on the Navigation (url) bar and select Menu Bar again, or see this page;
    https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts?s=keyboard+shortcuts&as=s
    You may need to use Alt+F10 if you hid all of them like I did researching your trouble ;p
    Even after using Alt+F10 you will need to go to View > Toolbars immediately and choose Menu Bar or Navigation Bar. If you do anything before then it seems to disappear.

  • Is there any way to hide the menu bar?

    I've been trying to find out if there's a way to hide the menu bar unless the mouse pointer is pushed up to the upper edge of the screen, I know there are third-party applications that let you do this (Menufela which uses Application Enhancer that I prefer to avoid as it is causes more problems than it solves as far as I'm concerned), I also know that it's possible to write applications that cause the menu bar to exhibit this behaviour while they're focused.
    But what I'm looking for is a way to make it behave this way all the time without installing Application Enhancer and having to deal with all the headaches that come with it.

    serioustrouble wrote:
    It does seem odd that you can't get the menu bar to hide itself though, I seem to recall something about editing certain files in .app directories to make it hide itself on an app-by-app basis.
    To hide the menu bar for a single application, you need to modify the Info.plist, as described -> here <-.
    This will work on nearly every application. Only on a very few applications it will cause incorrect behaviour, mainly Finder.app.
    So a simple way to realise your wishes, is to create an Applescript, that will "hide and unhide" the menubar for a couple of apps at one time.
    Here a demonstration example: Choose one or more apps. Menu bar will be hidden/unhidden:
    <pre style="
    font-family: 'Courier New', Courier;
    font-size: 12px;
    line-height: 1;
    border: 2px solid #1E90FF;
    width: 700px; height: 200px;
    color: #000000;
    background-color: #F5FFFA;
    overflow: auto;">
    on run
    set xyz to choose file default location (path to "apps" as alias) with multiple selections allowed without invisibles
    repeat with i in xyz
    set appName to name of (get info for i)
    if appName ends with ".app" then set proName to text 1 thru -5 of appName
    tell application "Finder"
    try
    if exists (process proName) then
    set x to display dialog "Is " & "\"" & proName & "\"" & " still running? If so, please quit it now!" buttons {"Cancel", "Quit it!", "No! Not running!"} default button 2 with icon 0
    end if
    end try
    end tell
    try
    if button returned of x is "Quit it!" then
    tell application appName
    quit
    end tell
    end if
    end try
    try
    ((i as Unicode text) & "Contents:Info.plist") as alias
    set infoPlist to quoted form of POSIX path of ((i as Unicode text) & "Contents:Info")
    try
    do shell script "defaults read " & infoPlist & " LSUIPresentationMode"
    do shell script "defaults delete " & infoPlist & " LSUIPresentationMode"
    on error
    do shell script "defaults write " & infoPlist & " LSUIPresentationMode -int 4"
    end try
    end try
    end repeat
    end run
    </pre>
    Spażek

  • How to disable and hide the menu items of 'copy From' button of Goods Recei

    hi expert,
    I am new in SAP B1. so please help me.
    Q:How to disable and hide the menu items of 'copy From' button of Goods Receipt PO form?
    Regards
    sanoj

    Hi Sanoj,
    Try This.....
    If pVal.FormType = "143" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_ACTIVATE And pVal.BeforeAction = False Then
                oform = sbo_application.Forms.GetFormByTypeAndCount(pVal.FormType, "1")
                Dim oitem As SAPbouiCOM.Item
                oitem = oform.Items.Item("10000330")
                'To Disable the button
                oitem.Enabled = False
                'To hide the button
                'oitem.Visible = False
            End If
    Thanks
    Shafi
    Edited by: shafi_sunshine on Sep 15, 2011 7:35 AM

  • When I maximize my screen on my Mac it hides the menu bar and the typed tool bar at the top of the screen - how do i fix this

    When I maximize the screen on my Mac Book Pro it hides the menu bar and the typed tool bar at the top of the screen as well.  How do I undo this?

    10.7 "Full Screen" is a feature imported from IOS, the land of tiny screens.
    To use a larger window on a REAL computer, adjust the Window's size to suit your needs. Do not use "Full Screen".

  • How can I hide the menu bar of better a specific option without using an addon?

    For security purpose on my environment, I would like to hide the Menu Bar option or (better) restrict the right to install an add-on, change the proxy configuration etc..
    I dont want to use an add-on for that as it will perhaps not work anymore if I update my firefox.
    So i am searching for a registry/file user preference solution or anything else that will let me doing that.
    Thank you for your help
    == This happened ==
    Every time Firefox opened
    == everytime ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    You can hide the menu bar and other toolbars with code in [http://kb.mozillazine.org/UserChrome.css userChrome.css] below the @namespace line.
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #toolbar-menubar {display:none!important;}</nowiki></pre>
    See also http://kb.mozillazine.org/Locking_preferences

  • Any way to auto hide the menu bar on the home scree?

    Any way to Auto Hide the menu bar at the top of the home screen?

    Use
    http://www.macupdate.com/app/mac/22217/menufela
    read Previously discussed
    https://discussions.apple.com/message/4727389#4727389

  • Looking for a way to hide the menu bar

    hey all, i've been looking for a way to hide the menu bar completely and then mouse over it to bring it back, like how the dock is when it's hidden. i want the same thing for the menu bar to free up a little more space and make it a little cleaner looking. i'm currently using eclipse just to black it out completely but there's just a black bar across the top of my screen with it and i just want it gone. any suggestions?

    As an aside; if you need to keep several apps fairly close to hand without cluttering the menu bar or dock, create a folder within your Applications folder, and place aliases of the apps in there, then drag the folder to the dock below the divider (next to the trash). Right click on the folder in the dock to get a pop-up list to choose from. I use the same idea for frequently used files and games too (seperate folders)

  • How to hide the menu bar and Dock

    Howto hide the menu bar and Dock on Mac, I found a tutorial that addfunctions esto info.plist this
    <key> LSUIPresentationMode </ key>
    <integer> 4 </ integer>
    But does not work  which you know another way to do this?

    I have played with 'LSUIPresentationMode' in the past - I may be wrong but I think a value of "1" (and "2" for that matter) only really works in combination with 'LSUIElement' set to a string value of "1". The 'LSUIElement' property of course does away with the application's own menu items so isn't ideal for most applications and since you mentioned using "1" instead of "4", I assume you want your menu items visible all the time.

  • I accidently Hid The menue bar and Navigation bar and only left with the bookmarks...I tried right click but cant find the right spot for the box to pop up to check menue bar, i also tried pressing alt and it did nothing. what else can i do? I need this a

    I was trying to hide just my clock for the history and the menu bar(file,edit all that), I dont know what i clicked but it got rid of everything except for the bookmark tabs. I know if you right click on the menu bar you can fix it, but since there is no menu bar anymore, this isnt working. i looked up how to do it in the forum found out you can press alt and do it that way, maybe i didnt do right, but that didnt work either.please help me!
    == This happened ==
    Just once or twice
    == I tried to hide my history and menu bar, and it jost got rid of it all. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)

    If that still doesn't work then see http://kb.mozillazine.org/Corrupt_localstore.rdf
    (caution: do not delete the localstore.rdf file in the Firefox program installation folder)
    Note:
    Deleting the file [http://kb.mozillazine.org/localstore.rdf localstore.rdf] will reset the customizations of the toolbars to the defaults.
    You can rename ''localstore.rdf'' to '''localstore.rdf.sav''' to test if that solves it.
    Then you can restore the customization by copying ''localstore.rdf.sav'' to ''localstore.rdf'' if it didn't work.
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • How can i hide the menu bar at the bottom of the app in itunes

    how can I hid the bar at the bottom of the App screen in itunes. Where it shows how much audio, app etc space you have left on your device

    Unforrtunately the status bar doesn't make any difference, however I have worked out that the bar does show when I go into full screen. 
    I would have thought it should also work when not in full screen - it certianly used to.

  • Acrobat 9.0 Std - How do I create a button that will show / hide the menu bar?

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

  • How to hide the menu bar from a Transaction iView (SAP GUI for HTML).

    Hello all,
    I have created a simple SAP Transaction iView of type SAP GUI for HTML.  This iView has the Menu bar that has the buttons: Menu, Back, Cancel, and System.  My requirement is, I dont want to see the menu bar that has these buttons.  How do I go about it?  Please advice.
    Note:  My iView is a SAP Transaction iView and not IAC service related iView. 
    Thanks
    Vicky R.

    You'll want to set the parameter ~webgui_simple_toolbar in your webgui service.
    It is a binary parameter with the following values/options:
    0  : Hiding the page header completely (not recommended)
    1  : Standard setting
                        This is the recommended standard setting in which the title and the menu bar below it with the [Exit] and [Help] button and the application buttons are displayed.
    2  : Displaying the title line
    4  : Displaying the buttons [Exit] and [Help]
    8  : Displaying the active system buttons on the screen ([Back] and [Cancel])
    16  : Displaying the system menu
    32  : Displaying the application buttons
    128 : Deactivating the information block in the status bar (new)

  • How do I hide the menu bar on Safari when watching videos on full screen mode?

    Hey guys,
    I have a mid 2010 macbook pro (Snow Leopard OS X 10.6.8) which I have recently restored from time machine after installing a new hard drive.
    However, now when I watch flash videos on putlocker or hulu etc the menu bar on safari on the top left of the screen and the icons on the top right (airport, battery, date/time etc) does not disappear as it used to.
    When I am on youtube I have a similar problem but this time the video only occupies the window so tabs (and everything above) in safari and my dock still appear. I know this may be a youtube related query, but if anyone knows how to change this I would appreciate any guidance.
    This is my first post so sorry if this in the wrong forum (feel free to move it) or if my description is unclear, I can provide further information if needed.
    Many thanks!
    Tom

    You're welcome and only on my first cup of coffee

  • Why can't I hide the menu in Flash CS5 projector files?

    I'm making some executable / projector files in Flash CS5. Using CS4 I was able to stop the menu appearing by using flash.system.fscommand("showmenu", "false");
    It doesn't work in CS5.  Is it a bug? Or a feature?  It's incredibly annoying - how do I get rid of the menu without resorting to an external projector program or without having to use AIR?

    You can't get rid of the RH menus because [I believe] Adobe deemed it necessary to have the Flash version as well as security options and global settings in there for users at all times. At best you can minimize the listings on the right-click menu:
    var rightClickMenu:ContextMenu = new ContextMenu();
    rightClickMenu.hideBuiltInItems();
    _root.menu = rightClickMenu;
    You can also get rid of the top menu using Resource Hacker, but the right-click menu stays, even if you delete the resource from the .exe file.

Maybe you are looking for