Remove the close button in upper right corner

How do I remove the close button in the upper right corner?

I'm trying to do the same thing. I discovered that it's not a Java limitation, but a look-and-feel limitation. You can use JFrame.setUndecorated(true) and JFrame.getRootPane().setWindowDecorationStyle(some_style_without_close_button), but this will only work if the current windowing system supports disabling native decorations (MS Windows does), and if the current look-and-feel supports window decorations. A quick test (in J2SE 1.4.2) shows that:
Metal LAF -- supports
Motif LAF -- does not support
Windows LAF -- does not support
Anyway this is not sufficient for me since I need to use the native look and feel on all systems.

Similar Messages

  • HT2531 The search button in upper right corner

    So i use this function a lot and i think it is great, but apparently i cant press the button anymore. When i press it makes the sound when you have low battery. If i restart it works, but if i just close the laptop without turning it off, it wont work. Help pls

    If you know how to create a new user, try that. just a simple test user will suffice

  • Can't close Numbers sheet on iPad. How do you do it? Is there an equivalent to the X box at upper right corner in Excel?

    How do I close a Numbers sheet on my IPad? Is there an equivalent was to the X box in upper right corner of Excel?

    Thanks for the prompt response!
    When I tap Spreadsheet, all I see is + button not Home button. When press + I get create new or copy options only - no close Spreadsheet option

  • Download list button in upper right corner hinds under "Reader" button? Unable to find down loaded file in the download folder afterward?

    The Download list button in upper right corner of screen hides under "Reader" button?   Does not show down loaded(?) file in the download folder afterward?
    Trying to run a brokerage firm streaming quote app with java.  Wondering if I may have deactivated the Download list button some how?

    Hey Sgt.Rics,
    It sounds like you're experiencing some unexpected behavior in Safari, specifically the window layout blocking the Downloads button. I would check and make sure no third-party add-ons are causing the issue:
    Safari: Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues
    http://support.apple.com/kb/TS3230
    Welcome to Apple Support Communities!
    Take care,
    Delgadoh

  • How set a JDialog to let no close button on upper right?

    How set a JDialog to let no close button on upper right?

    a dialog is like a jframe so when u remove the upper part of it u can add a label like and other component to the frames content pane. u can create a panel which will serve as the upper label and will have a background gradient coloring (like windows frames) and an icon and any buttons u want. its a simple jpanel that u put on the upper side of the dialog. u can add a mouse listener to the panel so when the user pressed the mouse and moves it around u move the dialogs position.

  • Where is the Firebox Button in upper left corner of Firefox 5?

    Just downloaded and installed Firefox 5. Don't see the Firefox Button in upper left corner of browser screen, as shown on the New Features page. Does this have to be enabled? My browser says it's up to date, but I can't see much difference in appearance between 4 and 5.

    Right-click a toolbar, untick "menu bar".

  • I updated Firefox and now Realplayer can't download any videos( download button in upper right corner of video don't pop up and there is no download option if I right click) if I use Internet explorer it works fine, I also went in to make sure I had it ch

    I updated Firefox and now Realplayer can't download any videos( download button in upper right corner of video don't pop up and there is no download option if I right click) if I use Internet explorer it works fine, I also went in to make sure I had it checked to pop up it is?! So it's not just youtube for me its all videos!
    == This happened ==
    Every time Firefox opened
    == the last firefox update
    ''locking due to the age of this thread''

    haven't tried it myself but saw this earlier in a blog somewhere:
    "try retro installing FF v3.6.3",
    makes sense 'cos I've only been experiencing the same problem with mozilla & realplayer combo since updating to latest FF v3.6.4
    noted that under IE realplayer plugin still works fine, button to 'download this video' comes on as before.....
    from what I read retro install will pick up all your bookmarks etc. do no worries there
    naughty, NAUGHTY mozilla people! you were 'bombproof' until today....what happened? good luck sorting it out though!!!! I still luv you!

  • I clicked on the angled arrows in upper right corner and lost my top menu bar, the one with the apple.  How do I get it back?

    I clicked on the angled arrows in the upper right corner of my screen in Safari and then lost my top menu bar, the one with the apple.  How do I get it back?

    Restart your computer.

  • What is the purpose of the 10+- characters in upper right corner. Why do they disappear when cursor roles over them?

    Possibly encrypted version of my input?

    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".
    :[[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • Can't see the blue clock clearly(upper right corner) in car dock station!

    Put the clock back in white numbers so it stands out clearly in day time light. I use it foe work and all day I have to lean right up into it to see what time it is! Make it like the white lettering contact or recent call names show.  Verizion, you broke it! Fix it!

    more info...
    I brought my system up in SAFE MODE...my 'test' login DOES have DASHBOARD.app working. I don't know what the difference could be.
    thanks

  • The search box in upper right corner is non-functional with Firefox, but works with IE on same website, please explain.

    This is a recent problem. I have not made any changes concerning my web browser. Perhaps I need to reinstall Firefox.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    * http://kb.mozillazine.org/Unable_to_search_or_add_new_engines

  • HT1386 It says to click the device button in the upper right corner....there isn't one.  Itunes doesn't even recognize my devices since I did the most current update.  I have two iPhones, thru different carriers, and neither one works now!

    I did the latest iTunes update...I have 2 iPhones--each thru a different provider.  Now, I can't sync to download any music from iTunes.  iTunes doesn't recognize either device now.  I went thru diagnostics, didn't work.  I tried the suggestions from Apple...it says to click the device button in upper right corner....there isn't one.  When I connected each for the first time after update, it "installed device drivers".  I have checked for further updates on iTunes--nothing.  I made sure there were no updates listed for iPhones...all up to date.  I get an error code and from what I have looked through in forums etc, it seems like a lot of people are getting it...0ex000084 I believe it was.  Windows opens to download photos but that's it.  Devices are not listed at all.  I have tried all 3 USB ports in computer too.  I have never had any problems before this update!!  HELP!  I just bought $15 worth of music I can't download to phones now!

    On the left hand side of iTunes do you have the sidebar up left hand side?
    If this is not up then try this, with iTunes open press "Control" and "s" together and it should bring it up. From the sidebar it should show an option devices with the iPhones underneath it.

  • Drop down button is no longer located in the upper right corner of browser

    Using Firefox 5.01
    For some reason, my bookmark button is longer behaving as a dropdown box in the upper right corner of the browser?
    The box is there, but when clicked, my bookmarks appear on the left side of the screen.
    I used to be able to click the bookmark box, the bookmarks appear and drop down, select a bookmark and the bookmark menu closes.

    That does explain the X. Thanks!
    The reason I'm exporting in the first place is that a friend of mine wants me to fiddle with the rough cut of his video project a bit, and burn the results back onto DVD. (I think he thinks I can do more than I actually know how to at this point, but I figure that playing around with it is a good way to familiarize myself with the application.)

  • TS4204 I need to delete a calendar event that transfered to my 4S from my Droid.  Also this event occurs yearly.  When I open this event, the edit button in the upper right corner does not exist so I can't delete it.  Any suggestions to get rid of it? Sur

    I need to delete a calendar event that transfered to my 4S from my Droid phone. This event occurs yearly.  When I open this event, the edit button that normally appears in the upper right corner does not exist so I can't delete it.  Any suggestions on how to get rid of it?

    uninstalled firefox ....deleted all files still remaining under mozilla firefox directory in program files ... to avoid having to reprogram all my settings, reisntall all addons as well .. I did not remove anything from mozilla firefox that is stored in either appdata or under the windows users directory (if any)
    ... the as suggested reinstalled the latest version of the firefox browser using the link you provided in the email ..; tested and several issues still remain present and unresolved ....
    so please this is urgent or I will have to jump browsers and start using chrome .. because we work 14 hours a day 6 (sometimes 7) days a week, to get ready for the launch of our newest venture and we cannot lose that much days on browser related issues ... so please instead of putting me through week long step process .. of do this .. do that .. can you please actually look into the issue from your end .. I use firefox for so many, many years thta I deserve this kind of support .. thnx Robert

  • What is the fourth control button in the upper right corner of the FF 4 window?

    I had to reinstall FF4 during a virus cleaning process, and there are now 4 control buttons displayed in the upper right corner of the window. From the right, there's the usual "Close" (red), "Restore down" and "Minimize" buttons (both blue), and then there's a fourth, green button, with no "ToolTip" associated with it. What's the behavior of this new button?
    I'm not normally this curious, but I've just had a battle with the "Antivirus Antispam 2011" malware, and am very sensitive to new graphics that I don't recognize.
    I'm running XP Pro.
    Thanks!

    I've found over the past day that its presence comes and goes, presumably based on background apps.
    As I'm unable to predict when I'll catch it next time, it's best I close this question and I'll reopen a new question when I can provide a screenshot.
    Many thanks for your response, and I'll watch for its reappearance.
    John

Maybe you are looking for