How to Remove Maximize button from JFrame

Dear all,
I am having problem with JFrame, that i need JFrame with Minimize and Close Button but not Maximize button.
I have already disabled the maximized button but I want to remove it from the JFrame.
Please show me the path to achieve this goal..

it's relatively easy when java controls the decorations, using
JFrame.setDefaultLookAndFeelDecorated(true);
but this is generally not the L&F preferred.
run a program with the above line (line must be before any JFrame is created),
and if suitable, search the forum, solution has been posted a number of times

Similar Messages

  • Remove Maximize button from popup window using Webdynpro ABAP

    Hi,
    Is there a way to remove the maximize button from a popup window using Webdynpro ABAP?
    Thanks,
    Jay

    Hi Jayanth,
    I think by setting is_resizable parameter pass abap_false. try this
    lo_window = lo_window_manager->create_window(
    window_name = 'POPUP'
    title = 'Window'
    close_in_any_case      = abap_true
    message_display_mode = if_wd_window=>co_msg_display_mode_selected
    message_type = if_wd_window=>co_msg_type_none
    is_resizable    = ABAP_FALSE ).
    Cheers,
    Kris.

  • Remove the Maximize Button from JFrame

    Dear all,
    i am haviing problem with JFrame, that i need JFrame with Minimize and Close Button but not Maximize button.
    Please send me the code in which ***JFrame can show only Minimize button and Close Button***
    Thanks and Regard
    Md Zahid Nasim

    fairly simple (at least in 1.6)
    iterate the frame's components (recursively) looking for AbstractButton
    when found remove it
    the max button is the first one, so code it so it only removes once
    if you use the os's titlebar (windows, anyway) the button will still be there, but disabled
    if you use JFrame.setDefaultLookAndFeelDecorated(true), the button will be removed

  • How to remove forward button from notification Page?

    Hi All,
    I would like to remove (disable ) forward button from Req approval work flow ? How can i achive this functionality ?
    I will be appriciate for help.
    Thanks
    pat

    Well, I'm guessing that you are using PO workflows, and using one of the standard lookups? Without having any details of what you are using, trying to second guess the answer is somewhat difficult.
    If it's the case that you are talking about the PO workflows, then the buttons are standard functionality based on the lookup type that is used as the notification response. Trying to suppress this doesn't actually make much sense - you are sending someone a notification, asking them to take action, and then not giving them any ability to respond to the notification.
    You would need to customize / personalize the notification page if you want to remove the buttons. The question then is - how will the process continue if you are removing the ability to respond to the notification?
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • How to remove close button of  JFrame

    Hey all,
    Can anybody tell me how to remove the default close button of JFrame.I mean to say that i only need the minimize and restore button on the top-right corner of the JFrame.
    Regards,
    Sharad agarwal

    http://forum.java.sun.com/thread.jspa?threadID=623108&tstart=0

  • How to remove logoff button from the Portal?

    Could anyone help me to remove the logoff button from the Portal? I am using netweaver portal 7.0 Thanks!

    Hi Michael,
    Thank you for your reply!
    Can I do it through the portal or I have to do customized programming in NWDS? Could you please show me step by step in details?
    In the future the portal will be use SSO with active directory so user does not have to login/logoff. I think the session in the server will be closed after a couple of minutes. What do you think?

  • How to remove continue button from slide "Quiz Result"?

    After clicking on the button gets the first slide. I want to remove the button. Help. I am a newbie. The settings are not found. Thank you

    It's standards Captivate functionality that you cannot add Interactive Objects such as click boxes or buttons to the Quiz or Quiz Results slides.
    If you're having  issues with the Continue button NOT working on the Quiz Results slides, check your Quiz Settings as shown in my earlier post on this thread.  It may be that you have the settings that make it mandatory for the user to pass the quiz before they'll be allowed to continue.
    Check also in Quiz Settings in case the default Action for Pass or Failure is set to Continue.  It might be set to No Action or something else that the Continue button cannot do for some reason.
    If none of the above seems to be the case, remove the Quiz Results slide (by turning off Show Results in Quiz Settings) and then turn it on again the same way.  If your project was upgraded from an earlier version of Captivate 3 or 4 it may be that the Quiz Results slide is currently defective.  It's happened to me when upgrading older projects to Cp5 format.  So re-generate the Quiz Results slide again and see if the Continue button now works better.
    By the way, there's a button widget that ships with Captivate 5 which, because it's only a Static Widget and not an Interactive Widget, you CAN add it to the Quiz Results slide.

  • How to remove "recalculate" button from classic tables?

    I would like to either remove this button or find the method that is posted when user clicks this. I don't see any documentation on this recalculate button. It automatically appears when I have a table on my page.
    Any help would be greatly appreciated.
    Thanks,
    Joyce

    Tapash,
    I need the total of the column, so I set the total value property in PI to true. As it is a updatable column, I find the Recalculate button along with it. But, I dont want to show that button. I tried what is given in the dev guide, but not working.
    Babu,
    I dont find the Disable Total Recalculation property in the PI. I'm using a classic table, not the advanced table.

  • Remove CSLive button from menu

    Hi!
    How to remove CSLIVE button from menu in ILLUSTRATOR cs5?
    Thx!

    Isn't that strange? You can do so with ease in PS so why on earth are the options different here?

  • How to dynamically add/remove a button from the ribbon based on some condition? (Ribbon XML)

    Hi,
    I have a ribbon (done using ribbon XML) with menu options. I need to remove few buttons from the menu dynamically based on some condition. Also, I want to change the label of another button. How to achieve this programmatically? (C#)
    Thanks in advance.
    Thanks Prasad

    Hello Prasad,
    Use callbacks for populating Ribbon controls such as menu, dropDown, gallery and etc. Then you can use the
    Invalidate or
    InvalidateControl methods of the
    IRibbonUI interface to get your callbacks invoked when required. Thus, you will be able to delete the required item(s).
    You will find the following articles in MSDN helpful:
    Chapter 11: Creating Dynamic Ribbon Customizations (1 of 2)
    Chapter 11: Creating Dynamic Ribbon Customizations (2 of 2)
    To change the label of your controls at runtime you need to use the getLabel callback and call the Invalidate or InvalidateControl methods of the IRibbonUI interface. The following series of articles describe the Fluent UI in depth:
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)

  • How to remove the buttons coming from report program?

    Hi All,
    I need to remove the buttons from an iview which is a sap transaction. when i execute the  report program which uses a ldb (PCH) shows a selection screen having all the buttons.
    We have created variants for this.Now i want to remove the buttons which are coming from the report program.how to do this ?
    Lakshmi.

    Goto sicf ->sap->bc->gui->sap->its->                              
    open Webgui application                              
    in the GUI Config enter the following parameters.                              
    ~noHeaderOkCode = 1                              
    ~webTransactionType = EWT.                              
    All buttons can also be removed by ~webgui_simple_toolbar =0 ..                              
    Also now open the trancsaction of the program form SE93 for which you want to hide                               
    the Menu bar, in its properties select the EASY WEB TRANSACTION radio button.

  • How to remove the buttons which are coming from a report?

    Hi All,
    I need to remove the buttons from an iview which is a sap transaction. when i execute the  report program which uses a ldb (PCH) shows a selection screen having all the buttons.
    We have created variants for this.Now i want to remove the buttons which are coming from the report program.how to do this ?
    Lakshmi.

    Hi,
    I think u r mentioning about the addition buttons that appear in the selection screen when using a logical database. for removing these buttons u can use a function module RS_SET_SELSCREEN_STATUS  for setting ur own pf-status
    do this in "at selection screen output" of the program..
    in the tables parameter, u have the option for giving the ok-codes that u want to remove. append all the ok-codes into this table.
    for getting the ok-codes u can use "tab" and go the button.. press F1. it will give the ok-code.
    Regards,
    Anoop

  • How to remove the buttons in ALV GUI?

    Hi All,
    I am using the FM REUSE_ALV_GRID_DISPLAY for disaplying the ALV grid. i need how to remove these buttons ( mail word processing, loal file, Mail recipient,  ABC analysis, Microsoft Execl and Graphics ) from the ALV Gui?
    please give solution.
    Regards,
    Santha

    hi,
    IT_EXCLUDING TYPE SLIS_T_EXTAB OPTIONAL
    you need to append the Fucntion codes to the it_exclude and then pass it to the parameter it_excluding.
    append '&ABC' to it_excluding.
    append '&BAC' to it_excluding.
    call function 'REUSE_ALV_GRID_DISPLAY'
    IT_EXCLUDING = it_exlcuding
    Regards
    Anver

  • How to remove the worksets from the Top level navigation for the ESS role.

    Hi All,
    I am working on enabling and disabling certain services in the ESS worksets.
    we are using EP 7.0, ECC 6.0 (NW2004s).
    When I login as a user with ESS role, I can view the changes in the overview pages. However, the worksets are still visible in the TOP Level navigation of th poral. can anyone please explain me how to remove the workset from the Top level navigation.
    Thanks for your help
    Regards
    SM

    Hi,
    Go to the ESS role via Content Admin, then double click the workset (or page or iview) and in the drop down select navigation. Then click the <i>Yes</i> radio button of the "<i>Invisible in Navigation</i>" property.

  • How to remove unused objects from the webcatalog In OBIEE11g

    Hi,
    I want to delete unused objects from obiee11g catalog, i know in obiee10g it's working fine (i.e: we can do it via manage catalog then delete the unused objects) is there any way to do it automatically like RPD utility --->removing unused objects from Physical layer in RPD
    fyi: I don't want to delete manualy. i need somethink like button/link to find unused objects(report,filter,folder..etc) from my obiee11g catalog.
    Thanks
    Deva
    Edited by: Devarasu on Nov 29, 2011 12:06 PM
    Edited by: Devarasu on Nov 29, 2011 3:15 PM

    Hi,
    Checked with Oracle Support team and confirmed below points
    --> incorporated into the Current product and consider as BUG it may resolve future release
    --> Currently there isnt any automatic method to remove the unused objects like reports, filters,folder etc from catalog.
    Treated as Bug
    Bug 13440888 - AUTOMATICALLY REMOVE OF UNUSED CATALOG OBJECTS FROM WEBCATALOG
    FYI:
    SR 3-4984291131: How to remove unused objects from the webcatalog in obiee11g
    Thanks
    Deva

Maybe you are looking for

  • Unable to Install OS X Yosemite from USB Bootable Installer

    I have created a Yosemite USB bootable installer using similar instructions (I changed source and target names as appropriate) as provided to create a Mavericks USB bootable installer - Creating a bootable OS X installer in OS X Mavericks Target disk

  • DSL down for 3 days... Richmond VA area

    We frequently have issues with our Verizon DSL. Constant disconnects, sometimes up to 15 times in a day. Now it just plain doesn't work at all. The DSL light on our modem has been solid green for 3 days, but no Internet light. We have tried 3 differe

  • Problem in Loading data for clob column using sql ldr

    Hi, I am having problem in loading data for tables having clob column. Could anyone help me in correcting the below script for ctrl file inorder to load the data which is in mentioned format. Any help really appreciated. Table Script Create table sam

  • Amount posted to G/L Accounts

    When I save the billing document, the amounts are posted to G/L accounts. Can some explain me the logic for posting signs - like Customer account is posted +ve Sales Revenue is -ve Discount is +ve etc

  • Why has Apple NOT fixed the bug on iphone 4s on Meteor?

    My phone has never worked since i bought it.. It is not fit for purpose. it constantly keeps searching for network..  both my Texts and Calls fail on almost every attempt.  ive been bounced from Apple to Meteor, back to Apple and still i have a dud p