How i disable the frame window??

how i disable the frame window??
i had used frame.disable(); function but its not work...
disable function works only on components its not work on frame..

hi!
1) which one you are using? Frame/JFrame ?
2) exactly what do you want to disable?
a) entire frame including titlebar buttons
b) just all the child components, menus, toolbar buttons
c) what should be the behavior of taskbar at the time of disabled frame object?
i think for a proper and to the point solution these are thing one need to know.
regards
Aniruddha

Similar Messages

  • How to disable the X windows

    I have install the solaris 8 in my PC. I prefer the comand line interface. But how to disable the X window?

    dtconfig -d
    (-e enables, -d disables)

  • How to disable the frame rotation corner

    One thing that is bothering since the frame rotation feature was added is the missing option to DISABLE this feature!
    Perhaps it's just my way of working, if I want to rotate a frame I quickly press "R" on the keyboard, rotate and press "V" or else to get back.
    Almost every time I want to scale a frame on the logical lower right corner I hit "rotate" first and have to try again. I find that very annoying and am sure there are many others having the same issue with it. Too many functions on already hard to grab corner edges are rather counter-productive in my eyes.
    Any way to disable that rotation corner?
    If not:
    Adobe – it would be cool to have a simple option in the prefs where one can enable/disable that function.
    Thanks!

    What you need to do is provide a ComponentListener which always resets the JFrame back to its original position.
    imports left out...
    public class FixedFrame extends JFrame{
         private Rectangle rect;
         public FixedFrame(){
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              rect = new Rectangle(200,200,200,200);
              setBounds(rect);
              setVisible(true);
              addComponentListener(new ComponentAdapter(){
                   public void componentMoved(ComponentEvent ce){
                        setBounds(rect);
                   public void componentResized(ComponentEvent ce){
                        setBounds(rect);
         public static void main(String[] args){
              new FixedFrame();
    }

  • How to disable the frame to be moved

    On my program I use JFrame class. My problem is that I want the frame to be fixed in its place and can not be moved.
    Any one can help me in this..
    Thanks.

    What you need to do is provide a ComponentListener which always resets the JFrame back to its original position.
    imports left out...
    public class FixedFrame extends JFrame{
         private Rectangle rect;
         public FixedFrame(){
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              rect = new Rectangle(200,200,200,200);
              setBounds(rect);
              setVisible(true);
              addComponentListener(new ComponentAdapter(){
                   public void componentMoved(ComponentEvent ce){
                        setBounds(rect);
                   public void componentResized(ComponentEvent ce){
                        setBounds(rect);
         public static void main(String[] args){
              new FixedFrame();
    }

  • I'm using Firefox on a Windows 7 OS, and I want to know how to disable the small window that appears when I hover my mouse over a tab, bookmark, etc.

    Okay, so when I'm using Firefox, say I have multiple window open, I hover my mouse over a window's panel at the bottom of the screen and a small box appears telling me about the webpage on that panel. The same thing occurs when I hover over a tab or a bookmark, it's very annoying and frequently blocks my cursor when I'm trying to work. How can I disable this feature?

    I do not use Adobe Reader, but use Foxit Reader in its place, and had the same problem. In Foxit Reader, I right-clicked in the area at the top where you would expect the toolbar to be (it was a blank area immediately above the displayed PDF file), and chose which toolbars to display and that has "stuck" and I still see the Foxit toolbars when I load a PDF file after system shutdown overnight. The only problem is that the area where you would expect the toolbars is still there and blank, but the toolbars that I selected appear immediately below that blank area. See if that works in Adobe Reader for you.

  • How to access the handle of  the Frame window ?

    How to access the handle of the frame window through out the application ?. I want to display an alert box, while I click the fifth inner child component of the Frame . I am using Dialog Class for the alert box, I have to pass the frame handle to the Dialog constructer, I am getting the handle of the frame by getParent().getParent()......getParent().. But can any one suggest any better solution.

    If you application extends Frame or JFrame, you could simply refer to "this", or if you create a global or final Frame object that you use as your "top-level" component, you could refer to it this way. Additionally, if you're ever in a situation where you really need to go all the way to the top through n levels of components, I believe you could always do something like this...
    // assume myContainer is the "child" component that you're on, and you want to find its top-level parent
    Container c = myContainer;
    while (c.getParent() != null) {
         c = c.getParent();
    }

  • How to disable the archive logs in SAP IDES(Windows) using SQL Server

    can any body tell us How to disable the archive logs in SAP IDES(Windows 2003) using SQL Server 2000.SP4.?

    Hi,
    Unfortunately, SQL Server does not have the option to turn off transaction logging. You can set the recovery mode to SIMPLE, instead of FULL. This will result in the transaction log being truncated on checkpoint.
    http://support.microsoft.com/kb/873235 - check this microsoft article
    This will help in reduction of the size of the transcation log.
    - Regards, Dibya

  • How I disable the iPad picture frame mode?

    Several times I looked in the settings but could not find this option, just in the passcode settings, but I turned off the passcode, the picture frame is turned on WHY? And how I disable the picture frame? I looked this on youtube in an iPad review video at 2:35 min: http://www.youtube.com/watch?v=Aly5Q_mUhVI
    Thanks for the help.

    Of course you can.
    If you don't want the little flower icon appearing on the unlock screen, set the Allow Picture Frame to Off under Passcode in General Settings.
    If you want to deactivate the Pcitrue Frame mode while its running, tap the home button once, and click on the Flower icon at the bottom right whihc should be blue since its on.

  • How to disable the reminding dialog when close the webi report viewer

    Dear all
    How to disable the reminding dialog when close the webi report viewer
    Background
    When user close the webi report viewer in inforview by click the button in the right-top of the webi report viewer frame. It always prompt a dialog to remind user that the modification will be lost without saving.
    But customer need to disable this dialog, and can clost the report viewer directly.
    So is there any ways to modify this?
    I think it shoule modify some .js file under tomcat, but can not find the solution.
    Thanks a lot, any information woulde be appreciated.
    David Zhang

    I've had the same issue bugging me since installing Snow, er, lion, er, cat, er, cougar, er, Mountain Lion. Incredibly ANNOYING.
    It's stupid stuff like this and reverse scrolling that really turn long-timer users off. I'm personally glad Forstall got fired for blunders such as these.
    I'm serious peeved that turning off iCloud Documents & Data actually deletes documents and data locally. That's just incredibly stupid.
    MANY thanks mende1 for the answer on how to fix it.

  • How to set the frame size?

    Hi,
    Can some one show me how to set the frame size in this program? History: I have created a window and added a button but its to small. So I want to increase the size of the frame to at least 600X400 pixel.
    private static void showGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame("ButtonDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            Main newContentPane = new Main();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        }It would be nice if you could show me how to do it.
    Thank you very much for reading this.

    Challenger wrote:
    Simply adding
    frame.setSize(new Dimension(600,400));to the end of your code should work perfectly.Or, if you want to do it correctly, .setPreferredSize() on your frame before you .pack() it. The default layout manager for JFrame is BorderLayout, which uses the preferredSize of each component to calculate sizes during the .pack() call.

  • Welcome. At the outset, I'm sorry for my English :) Please help with configuration Photoshop CS6 appearance. How to disable the background of the program so you can see the desktop. (same menus and tools) Chiałbym to be the same effect as CS5.

    Welcome.
    At the outset, I'm sorry for my English
    Please help with configuration Photoshop CS6 appearance.
    How to disable the background of the program so you can see the desktop. (same menus and tools)
    i wantto be the same effect as CS5.

    Please try turning off
    Window > Application Frame

  • How to disable the minimize button on the JFrame?

    Does anyone know how to disable the "Minimize" button on the JFrame (Window)?

    Why bother using a JFrame at all? Just extend JDialog, and there won't be a minimize button to worry about at all. The only drawback is that a JDialog doesn't put an icon in the taskbar, so you have to move/close other windows until you can see the JDialog window on the desktop.
    The windowMinimized stuff doesn't let you stop what the window is doing -- you just get an event telling you what happened.

  • How to disable the default HTML5 youtube playback in FF?

    How to disable the default HTML5 YouTube player in FF 37 and revert to flash player on Windows platform?

    ''Shablagoon [[#answer-711931|said]]''
    <blockquote>
    ''moses [[#answer-711928|said]]''
    <blockquote>
    Go to https://www.youtube.com/html5 and click "Use the default player" if HTML5 is already enabled, it will show that option.
    </blockquote>
    There is no "Use the default player" link on that page. Only the "The HTML5 player is currently used when possible. " I take it the HTML5 is the standard player starting from FF 37.?
    </blockquote>
    Correct, there is no way to disable the HTML5 video on that YouTube link. Not only that, what about videos on other sites?
    Why does Mozilla do this, force people to use an inferior video player without asking or at least showing how to use Flash Player. I'm only here because Firefox was updated.
    It was working, update, now it's not working. Nice.

  • How to disable the "Reply" not "Reply All" button in Outlook 2010 with GPO

    How to disable the "Reply" not "Reply All" button in Outlook 2010 with GPO
    I need to disable to "Reply" NOT the "Reply All" button/s in Outlook 2010. If possible, then deploy it through GPO also.

    Hi,
    We can disable the "Reply" button by using Control IDs.
    Please first make sure that you have installed the
    Office 2010 Administrative Templates. To disable the "Reply" button, please follow the steps below:
    1. Press Windows key + R to open the Run command, type gpedit.msc and press Enter.
    2. In the Group Policy Object Editor console, expand User Configuration, expand
    Administrative Templates, and then expand Microsoft Outlook 2010.
    3. Expand Disable items in User Interface, click
    Custom, double-click Disable commands, and then click Enabled.
    4. Click Show. In the Show Contents dialog box, enter
    354 (the control ID for “Reply” button) in the Value field, and then click
    OK.
    5. Restart Outlook and you’ll find the “Reply” button is disabled (grayed out).
    For more information, please refer:
    http://technet.microsoft.com/en-us/library/cc179143(v=office.14).aspx
    Regards,
    Steve Fan
    TechNet Community Support

  • How to change the default window size display font size on Lync 2013 main window?

    Hi champs,
    Just a simple non-technical question: How to change the default window size display font size on Lync 2013 main window on Windows 7 desktop?
    Thanks,

    Hi,
    Did you mean change the Lync: Change the Default Font and Color of Instant Messages just as Edwin said above?
    If not, as I know, there is no natural way to change it.
    If yes, on the latest version of Lync 2013 client, there is a new option “IM” on Lync client “Options” list. And you need to change the default Font and Color of IM in the interface of “IM”.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

Maybe you are looking for