How to remove title bar in awt frame?

how can i remove the title bar of frame and make it fullscreen so as to cover all the desktop?

how can i remove the title bar of frame and make it
fullscreen so as to cover all the desktop?foll should suffice in a simple situation
import java.awt.Window;
import java.awt.Frame;
import java.awt.Toolkit;
public class BigWindow extends Frame
     public BigWindow()
          //get screen size
          int height = (int)Toolkit.getDefaultToolkit().getScreenSize().getHeight();
          int width = (int)Toolkit.getDefaultToolkit().getScreenSize().getWidth();
          //make parent frame invisible
          this.setVisible(false);
          //create a new window without borders and titlebar
          Window window = new Window(this);
          window.setSize(width,height);
          window.setVisible(true);
     public static void main(String args[])
          new BigWindow();
}

Similar Messages

  • Jsr portlets - remove title bar

    How to remove title bar of a JSR portlet. (portlet.xml or weblogic.portlet.xml?). I have imported few java portlets into my portal and I want to remove the title bar. weblogic.portlet.xml file does not have any entries apart from </weblogic-portlet-app> tag..
    Like for the JPF portlets we can set the refreshAction how to control the initial action for a java portlet.
    thanks

    Sorry, no.
    In fact Apple put them at the top by popular demand!

  • Displaying our own icon at the title bar of a frame.

    Hai,
    How do i display an Icon of my choice at the title bar of a frame or a dialog box.
    Thank you.

    Thank you shahidjava for the kind reply,
    I tried your code as follows but I'am getting an exception saying "wrong number of arguments in the method.".
    Can you please help this out.
    import java.awt.*;
    import java.awt.event.*;
    public class testIcon extends Frame
         public testIcon()
         setVisible(true);
         setTitle("mohammad afzal....!");
         setBounds(100,100,200,200);
         getIconImage("afzal.gif");
         public static void main(String args[])
         testIcon ti=new testIcon();
    }

  • Removing title bar from JFrame after it isDisplayable

    I know if a frame is not in a Displayable mode, ie not visible you can remove the title bar from the frame with myFrame.setUndecorate(true) in JDK 1.4.0, but I was wondering if you can remove the title bar from the jframe once it is displayed, and conversly if already removed, can you add the title bar back to the jframe. If there is no java solution, is there a jni solution.

    if you remove the title bar from a JFrame, wouldn't you be create a JWindow?

  • How to replace title bar from image

    Respected Sir/Madem,
    please help me, how we replace title bar of farme from image.and also that image have button like minimiz,restore,and close.
    i want to completely replace my title bar to a image for example NeoPlanet browser.
    plz givehelp.

    Frame.setUndecorated()

  • Disable close opearion(X) on the title bar of a frame.

    Hai,
    I need to disable the close operation on the title bar of the frame.
    Can anyone give me the solution.
    Thanks
    SmartStar.

    hai,
    the code given is allowing me not to colse the frame, but it is not displaying the frame with the size i had given in the setSize().
    I need a code to achive a task such that, even after i click on the close on the title bar, it should not perform any function and display the frame as it is. with out any resizing.

  • Removing Title Bar and Control Box From JFrame

    Hi,
    I'm trying to remove the title bar and control box from a JFrame. I've already tried reseting the JRootPane of the JFrame, but it hasn't had any affect. I was wondering if anyone knew how to do this. Thanks for the help.

    Try this:
    frame.setUndecorated(true);(frame is the JFrame instance)

  • Removing status bar from a frame window in Netscape

    Hi
    I am generating a window from an Applet, that window is showing as "Unsigned Applet" on the status bar of a frame in Netscape, but not in IE.
    After going through couple of news groups, I have signed jar and cab file. Still it behaves the same way.
    Problem here is, when there is a status bar, some of components are portially visible. If I increase the size of a width, it looks ugly in IE.
    Thanks in advance

    Take a look at reply#8 at the link shown below and see how the poster described the situation which is similar to yours and how he managed to solve the problem::
    http://forum.java.sun.com/thread.jsp?forum=31&thread=218446
    Hope this helps!
    V.V.

  • Remove Title Bar From Form, Visual C# Express

    I have been told to set the Border to 0 or "none".
    I was also told to set the ControlBox to False.  This only removed the minimize, maximize and exit icons.
    There is no Border setting on the Form Properties.  Is that in the Ultimate version?
    Otherwise, what code do I use to remove the title entirely?
    In games like Starcraft 2, there is a transparent title bar with minimize, maximize and exit styled to fit the game visuals.  I would be interested in that, too.  Is that c++ only, though?

    set Forms ControlBoxproperty
    to false and Text property
    to empty
    this.ControlBox = false;
    this.Text = String.Empty;
    Damith S.

  • Removing title bar from popup window

    Hi ,
    I have created an popup window and I have to remove the title bar of that window completely(either to make the title bar invisible or to remove the title bar completely).
    I have tried the following method but of no use,
    1)window.removewwindowfeature.
    Please provide solutions.
    Thanks,
    Mahesh

    Hi Mahesh,
    Just try this out, it will resolve your issue.
    [WebDynpro Popup Window|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a04870c5-749b-2b10-06ba-d25515ef39e3]
    Regards,

  • How to remove scroll bar  in WEBI reports?

    Hi , i have below issue,
    We need to remove scroll bars from the WEBI reports. We have observed that even if we have only one column in the WEBI report, scroll bar still appears. Is this asomething which we can influence at the server level?
    Anybody please help me on this.
    Sri

    Hi Panan,
    thank you for your reply, I want to implement the same login for all WEBI reports, how can we do in server level...or is there any way to do this...
    Sri

  • How to remove the bar of my application ???

    I would like to remove the bar which is at the very top of my application (the one with the icon and the close, iconofy and change size buttons). You know, the one made by windows at the very top of each application !
    So, my application will run as a kiosk application!

    Hi pal,
    I guess you should use Window instead of Frame...
    Sander

  • How to remove Title Undersline

    HI
    We are using OBIEE11.1.1.6.6. Could you let us know any one How we can remove title underline.
    Thanks
    Gram

    Hi,
    Click on edit of the title view, on the top there is an edit option with "A" symbol.
    Just click on that, and on borders click none and border color assign as "white".
    Underline will go.
    Regards
    VG

  • How to merge title bar and tab bar on Gnome desktop?

    Not exactly a Firefox issue, but if it works fine on Windows it should work on Gnome too...
    How can I merge title bar and tabs bar?
    In Windows if we hide the menu bar Firefox puts in a single line Firefox button, tabs and minimize, maximize and close buttons. But in Gnome it keeps the separated title bar (with the minimize, maximize and close buttons).
    Is there any way to really implement it on Gnome Desktop?

    I want to back up what was said here. Chrome and Chromium have done this for as long as I can remember and the Linux distribution is entirely irrelevant in this case (as in most cases). There is an option to use the "system title bar and borders" in Chrome. If applied Chrome will have that blocky, chunky effect of not having the tabs overlapping into the title bar that firefox has. By default chrome does not use the system-provided title bar and borders. They wrote their own. The result is it looks nice. I prefer firefox by miles over Chrome, but have to admit it is chunky and ugly around the edges by comparison.
    The problem is not that it is "not possible in Linux." As a dedicated Linux user, hearing that oft-repeated phrase gets really old. There is nothing about Linux that makes things not possible when it comes to coding features. What is going on is the shortcuts available to make the coding quick and easy may not already exist. Fewer people use Linux, fewer people develop for Linux, and there is often less existing code base already written for Linux to make a coding job quick and easy. Also, there is less incentive to write original code to make something work for Linux because we are relatively few; the countless minions using Windows are all complaining about other things and much more loudly so.
    There is no doubt the task could be accomplished--which I would love to see--but the developers have to prioritize. I get that. Just wish they'd be honest rather than use the lazy answer of "It can't be done on your system."

  • How to remove menu bar for a single tcode

    Hi,
    I created a Transaction iview with gui for html and now i  want to deactive menu bar for a single tcode.
    I'am able to remove menubar by passing parameter in Webgui but it will remove menu bar for all.
    Can anybody provide me solution.
    With regards,
    Pradeep.B

    Hi,
    It's really possible. You can define an ITS service on your R/3 and apply parameter ~WEBGUI_SIMPLE_TOOLBAR. With this parameter you can hide all bars, using different values (3 bits). You can use, for example, value 132.
    After that, you define an IAC iview on your portal with your ITS service.
    Hope this helps,
    Iván.

Maybe you are looking for

  • Help .. am new to db in hava

    hi there i have this code i guess its a database connection to MYSQL ... i need to change it to SQL SERVER 2000 ..... so how it differs .....?????and i need some comments to understand what its all about ? please this is urgent ....??? * Servlet for

  • Opening Videos in Flashplayer

    When I arrive at a website on my mac, videos automatically pen, I want them set on "pause" when I arrive. Is that possible?

  • Firmware update via Java/USB/PCSuite?

    Hi@all: Lets say Nokia solved some bugs on the N95. Is it possible to update that new firmware via PC? For example: I have Nokia Version "N95-1". And then there is the new updated version "N95-2". Will it be possible to update the N95 with PC Suite O

  • No response when I try to update adobe

    no response when I try to download adobe

  • HT5824 can't download pictures to my icloud acct

    Hi guys. I created an icloud account. Contacts appear but I don't have any pictures or videos. help