Is there way to remove the bar you use to move a JFrame?

Is there way to remove the bar you use to move a JFrame? I don't want it there for several reasons, if you want, I will give more detail.

I have seen a couple of posts in this forum suggesting to use a JWindow. Well, I can't get a JWindow to work. Here is the sample program I used.
a) Without doing anything type "aaa"
b) use tab key and then enter "bbb"
c) click on text field then enter "ccc"
d) use tab key
e) click on Dos window and use Ctrl-C to kill application
1) What is wrong with the Focus Manager. No caret is displayed in the text field or no 'rectangle' around the button.
2) Why is 'aaa' displayed on the Dos window when you kill the application?
3) I have seen a JWindow used in the JDK1.3 SwingSet2 demo, but it is only used to contain an image. Is a JWindow not meant to be used with other components?
Any comments would be appreciated.
import java.awt.*;
import javax.swing.*;
public class TestWindow extends JWindow
     public TestWindow()
          Toolkit tk = Toolkit.getDefaultToolkit();
          Dimension d = tk.getScreenSize();
          int width = 200, height = 200;
          setBounds((d.width - width) / 2, (d.height - height) / 2, width, height);
          JPanel panel = new JPanel();
          setContentPane(panel);
          JTextField textField = new JTextField(10);
          panel.add( textField );
          JButton button = new JButton("One");
          panel.add( button );
     public static void main(String[] args)
          JWindow window = new TestWindow();
          window.setVisible(true);

Similar Messages

  • HT5891 Is there a way to remove the menu bar from a secondary display while still using the "Displays have separate spaces" mode?

    Is there a way to remove the menu bar from a secondary display while still using the very useful "Displays have separate spaces" mode?
    The reason I ask is that most full-screen video playback in most applications, from iTunes to Flash/Silverlight plugins do not take up the full screen, instead leaving space for the menu bar (in the case of iTunes) or leaving the menu bar present on top of the video (for fullscreen Flash/Silverlight videos).
    This is annoying for several reasons ranging from the obvious distraction factor to the fact that 1080p video is not played back at native resolution on a 1080p display.
    If there is no way to disable this functionality while maintaining separate spaces, I would (humbly) suggest that a future update to Mavericks allow non-Lion-style* full-screen apps to take over the entire display.
    *Lion-style full-screen apps are those that animate into a full-screen mode when the opposing-arrows full-screen button in the upper-right-hand corner of the window is pressed.

    No. Turning that off reverts to the old display setup. You have one desktop spanned across all displays. The menu bar appears on the primary display only.

  • Is there a way to remove the changes to the URL Bar, specifically the status information and the target URL?

    To begin, I utterly despise the changes to the URL Bar and the removal of the Status bar. In order to stay with the latest version of Firefox I am attempting to recreate the look and feel as best I can.
    I have already installed the Status-4-Evar extension. The only thing that remains is to remove the status information and the target URL from the bar.
    Are there any settings in about:config that will allow me to make these changes?
    EDIT: Status information can be removed by toggling. status4evar.statusInUrlBar. Still looking for a way to remove the target URL...

    This code in [http://kb.mozillazine.org/UserChrome.css userChrome.css] below the @namespace line seems to remove the links that appear on hover.
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    .urlbar-textbox-container {color: inherit !important;}
    .urlbar-textbox-container-children {opacity: 1 !important;}
    .urlbar-over-link-box {opacity: 0 !important;}
    </nowiki></pre>
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

  • Is there any way to remove the duration from the course outline in Presenter 8?

    Is there any way to remove the duration from the course outline in Presenter 8? I would prefer to not have that listed if at all posible and can't find a solution.

    Are you talking about the Time Remaining display on the side bar? The text for that field is in the Modify Text Labels... tool in the Theme Editor of Presenter. You can change it to whatever you want, but you may want to keep a record of what the default text labels are, as there is no restore to default option. The Elapsed Time field is what you would want to change. I have seen this modified to show no text, copyright information or other general info.

  • I'm trying to remove the searchbar from the menu and the conventional techniques aren't working, are thereany other ways to remove the search bar?

    I'm trying to remove the search bar from the menu, but when I try it removes the navigation bar as well. Mozilla's help page shows there being a button to remove in the customize menu section, but it's not here so is there any other way to remove the search bar?

    Hi Ashley Clavette,
    The Initial view setting works perfectly when the file is opened in Acrobat after setting the desired Initial View.
    When you upload the file onto Wordpress, and view it on that website in the browser...it might be using a different pdf handler program which might be causing this issue ( it would be helpful, if you could provide the screenshot) , however when you download the pdf again from wordpress server...and open in Acrobat/Reader...then what  exactly happens ?  Does the pdf opens in the desired Initial View setting?
    Rahul

  • Is there a way to remove the Personal Hotspot Wi-Fi password?

    I've recently spoken with an Apple Customer Service rep, and from our exchange, he told me there's absolutely no way to remove the password once you've set something in.
    Insofar with my research, the only way you can have a P.Hotspot without a password is if you never placed one at all. After you've placed one, it's either you change it to something else, or you stay with the old one you've made.
    I'm posting this question here for anyone who might have an answer for me. While I could entertain the idea of a Jailbreak just to remove that password (or in a more extreme case, restore my iPhone and just re-sync the contents, effectively losing my text messages and whatnot), I'd prefer a more hassle-free method. That is, unless Apple decides to integrate it into their next firmware update.
    I'm currently running on a White iPhone 5S, FW 8.1.2

    When you set up the iPhone initially, there is a default password. You can change that. But the box is never blank So, even if you were to restore the phone as new, there would be a password.
    Why do you want to not have a password? Perhaps if you explained your situation, someone could offer some alternative suggestions.

  • Is there a way to remove the GNome border for Firefox in Fedora 20 (gnome desktop)

    Hi I have Fedora 20 with Gnome 3 desktop. The Firefox 31.0 has a bar above the tabs where it displays a bar and it shows the page title. Is there any way to remove it as it uses some space and I hate it. Is there any way to hide it or remove it.
    I have added screenshots just for reference: https://www.flickr.com/photos/jayabharat/15136543446/ https://www.flickr.com/photos/jayabharat/15159579845/

    Well, that works in my Windows, but not in Gnome 3. So In order to remove the title bar, I had to use Add-ons.
    HTitle 2.13 did wonders.
    Hide Caption Titlebar Plus 2.8.6 is also a good option.

  • Is there a way to remove the white background from clip art

    Is there a way to remove the white background from clip art?

    And replace it with what? transparency? You'll need to work in a format that supports that like png or psd. So you'll need a good editor too.
    Regards
    TD

  • I have a dvd stuck in the drive and as I can not boot is there a way of removing the dvd ?

    Hi
    I have a dvd stuck in the drive and as I can not boot is there a way of removing the dvd ?

    Boot with the option key down.  You will see a window showing all the bootable systems.  Select the OSX boot and hit return.  Once you are booted into OSX, use the Startup Disk system preferences to change your default boot volume.
    Startup Manager: How to select a startup volume

  • TS3999 Is there a way to see the date you invited someone to an event on your calendar?

    Is there a way to see the date you invited someone to an event on your calendar?

    How are you getting to full screen mode? I assume you are using Full Screen mobile add-on?
    Try the following instead:
    * Download Firefox Beta (v22) from google play
    * Navigate to about:config
    * In the search bar look for "dynamic"
    * Toggle 'browser.chrome.dynamictoolbar' to 'true'
    * Close the tab
    Now when using Firefox beta the navigation/loading bar will disappear automatically when you scroll down a page and will reappear when you click on a link.
    Please note that this is an experimental feature so there may be some issues. But I think it works better than the add-on. The feature will eventually come to the standard release version of Firefox for Android.

  • I hate that with ios 7 my bookmarks show up on the safari home screen. Is there a way to remove the icons from the screen without deleting my bookmarks completely?

    I have recently updated to ios 7. On my safari home screen there are my favorites listed. I absolutely hate it. Is there anyway to remove the bookmarks from the safari home screen without deleting my bookmarks completely? I am resisting the urge to throw the whole **** thing away and buy another tablet. Please help me! I usually love the updates but I feel ios 7 is more than I can bare. If I wanted Window's crappy format I would have bought a Microsoft product!

    On your safaris home screen is a square icons consisting of your favorites and the IOS 7 favorites ( Disney,Apple,Yahoo,Etc) and I knew I wouldn't use these so I wanted to learn how to delete them. So, after messing around a few times with them, I realized how easy it was to delete them. All you have to do is go to the top right corner of your homepage and click on the book icon (found left of the cloud icon). Once you click on it, your history for safaris searches should come up. On the top left corner above your history should be " <Bookmarks " written in blue. Click on that and a list consisting of these should come up ( top to bottom of list ) FAVORITES / HISTORY / GOOGLE /BING / IPAD USER GUIDE. Click on FAVORITES. Your list on the favorites on your home screen should come up. Simply slide over the item to your left (EX.. Yahoo) and a DELETE button in red should come up. Click delete and your done, the icons should disappear on your home screen. Only bad is that you have to delete them from your favorites too.

  • Is there a way to remove the date and time from pictures?

    Is there a way to remove the date and time from phoos in iPhoto?

    Are you referring to the Date and Time some cameras put right on the image?  If so there is nothing really good in iPhoto to do this. You could try the Retouch tool and see how that looks but I think you will need something more precise and powerful, like the clone tool in Aperture.
    Also something like PhotoShop or GIMP - The GNU Image Manipulation Program (free) should do what you want also.
    If your asking about some other date post back.
    regards

  • Is there a way to remove the text that appears over dock icons when the cursor is over them?

    Is there any way to remove the text that appears over dock icons when you hover over them?  Or at least make it time out, or become more transparent?

    You can do that with the Menu Editor extension - https://addons.mozilla.org/firefox/addon/menu-editor/
    This extension has not been updated by its author in a couple of years, but another developer has updated it for Firefox 4, you can get the updated version from http://netticat.ath.cx/MyAddons/MyAddons.htm#3rdpartyaddons

  • Is there a way to remove the old apple id on 'new' refurbished ipad

    I purchased a refurbished ipad mini from the apple store. It came with someone else's AppleID on it, and I cannot get it to sign in on my AppleID. Is there a way to remove the old account and replace it with mine, or do I need to return this?

    merryberry83 wrote:
    I purchased a refurbished ipad mini from the apple store. It came with someone else's AppleID on it,
    Return it.

  • Is there a way to remove the pulldown tab?

    Is there a way to remove the pull down tab that shows weather, stocks, reminders and ect? It’s very annoying and even gets triggered while in other apps while unwanted. In fact its one of the worst ideas they have ever added to the ipod. If I wanted to see the weather and stocks I would use the apps that are not removable to view them, don’t need another tab for that. Ive looked in all the settings and don’t see anyway to fix or change it. Please advise.

    I dont belive so

Maybe you are looking for