How to disable the maximize and minimize button of JDialog

How to disable the maximize and minimize button of JDialog. I have an application which has JDialog box, but in that i should not have maximize and minimize button.If any one come across this problem and got a solution please helpout me.

Btw, isn't it a little strange to ask thisquestion...
Actually, I thought it was meant to be sardonic...
Dialogs don't have those buttons, so the question
n should be to the OP how did he/she get them in the
first place? Cuz they aren't using JDialog to do it,
unless it's something to do with a specific look &
feel.I somehow missed that, good point :-)

Similar Messages

  • How to change default close maximize and minimize button in mac?

    How can I change default close, maximize and minimize button in mac?

    no. but you can make resizable.

  • How to hide the Print and Export button in analytics report or tasks pane

    Hi Experts,
    In BIEE 11g,
    How to hide the Print and Export button in analytics report or tasks pane ?
    For example:
    In console,I have created one userA which is belong to BIConsumer GROUP , when I make use of the highest user 'weblogic' to create one simple report, then the userA will login the analytivs to view this report (not dashboard), it will show the print and export as below.So customers do not want to give him the privilege for printing and exporting.
    In addtion, go to catalog->tasks(left corner), it will also show the print and export button. So how to hide or not access these button?
    Note: Maybe it can use the policy for consumer role for implementing this requirement, but I do not know how to modify the policy. Are you facing the problem? Thanks.

    Hi,
    1. Create seperate folder for Reports & Dashobard.
    2. For BI_Consumer (userA) set the catalog permission to view Dashboard Folder only and remove permission on the Report Folder (you can give traverse permission but don't give Open permision).
    3. By this user won't be able to open or run any reports in that folder and the only way he can see the reports is through Dashboard and on dashboard the export and print buttone can be removed very easily.
    Mark helpful if it helps.
    Regards,
    Kashi
    Edited by: K N Yadav on 24 May, 2013 1:51 AM

  • How to disable the dashboard and spotlight for the latest Iion OS

    How to disable the dashboard and sportlight function in the latest Mac OS?

    to disable spotlight, open the terminal and type "sudo mdutil -a -i off" without the quotes. ( You will be prompted to enter your admin password.)
    to disable dashboard:
    Open Terminal, and then type this command, followed by the Return key:
    defaults write com.apple.dashboard mcx-disabled -boolean YES
    This tells the system that you no longer wish to have Dashboard available. However, the Dashboard task is actually “owned” by the Dock, so to make your changes take effect, you need to restart the Dock. The easiest way to do that is to type this command into the Terminal (and press Return when done):
    killall Dock
    After the Dock restarts, hit F12 and you’ll see…nothing at all. If you run Activity Monitor, you also won’t find any Dashboard widgets in the list of tasks, even if you had several open when you ran the above command.

  • Federated Book showing strange maximize and minimize buttons

    Hi all,
    I've just federated a book (.book file) in WLP 10.3.2 and when it shows up in the consumer the buttons to maximize and minimize appear.
    The behave of the book is as if it were a portlet. As I can remember, it didn't happen in the 10.3.0 version.
    When I put a local book in the desktop instead, this thing doesn't occur.
    Could anyone explain what is happening?
    Thanks in advance,
    Leandro

    Hi
    I've gotten the same behavior. If any one could help, I would appreciate.
    thanks in advance

  • How to disable the inputfield using radio button dynamically in module pool

    How to disable the inputfield on the screen using radio button dynamically in module pool.
    Please suggest .
            Thanks.
    Edited by: Lavanya YH1504 on Jul 30, 2010 1:20 PM

    I got it thank you.
    LOOP AT SCREEN.
        if  screen-GROUP1 = 'LA1'.
           If RADIO1 = 'X'.
            SCREEN-INPUT = '0'.
            MODIFY SCREEN.
         ELSEIF RADIO2 = 'X'.
           screen-input = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    Edited by: Lavanya YH1504 on Jul 30, 2010 1:51 PM

  • How to customize the prev and next buttons separately in slideshows?

    Is there a way to customize the prev and next buttons separately in slideshows in muse? When I import a background image that looks like a right arrow it puts the image for both prev and next buttons. I import it by selecting the next button, and then clicking on the folder icon labelled "Image" in the Fill drop-down menu in the Tool bar at the top of the Muse page.

    Yes, it should be very easy. Here is how I do this:
    First, I move the arrows onto the image, and double click the box so that I can remove the arrow character.
    Then, I go up to the "Image Fill" and click the file icon to fill with an image
    Then, I select the other arrow, and do the same
    Hope this helps!
    Julia

  • Popups how top program the ok and cancel button

    How do I program the ok and cancel button in the popups. I want to add functionality to the existing ok and cancel buttons in the popup
    Thanks,
    Veena

    You can ise a dialog inside the popup and use a dialogListener to check how hte dialog has been closed
    public void handleDialog(DialogEvent event)
      if (event.getOutcome().equals(DialogEvent.Outcome.no))
        setGender(getOldGender());
        // reference to the gender component is from component binding
        // see selectOneRadio above - binding="#{sharedPopup.genderComponent}
        RequestContext.getCurrentInstance().addPartialTarget(getGenderComponent());
    }{code}
    Timo                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to disable the flash and sound of the camera o...

    would I like to know how I do to disable the Flash and sound of the camera of N73?
    or does anybody know about some software that makes that?

    06-Dec-2008 08:30 AM
    krizanand wrote:
    hi suman,
    i too faced this problem afetr updating it to new firmware,when i checked my application manager there was an application which opens only with the ZIP manager
    it was troubling me a lot when i switch off and ON the phone time and again
    Finally i did a RESET *#7370# the application was not reflecting in the App manager and the problem got resolved
    Hope this works out for u
    if it is i will be Glad cheers........... try it
    Yes, that will solve all problems and as well as your data. There are alternatives which I already mentioned here. You can search to find the answer, since it to complicate to do it again.
    C6-00 with 8GB MicroSD

  • Disk Mode? How long pressing the select and play buttons?

    Please, I`ve tried everything to turn it on my ipod since i drop it. It doesn`t appear in itunes or desktop, or my computer. It was with that exclamation mark. I was trying to turn to Disk mode, but it doesn`t go!! For how long should i hold the select and play buttons? I was holding for about 5 minutes until i gave up. Does it take that long?
    Thanks, Juliana

    How to put your iPod into disk mode:
    1) First, make sure that your iPod is mostly charged.
    2) Toggle the "hold" switch on/off a few times.
    3) Hold the "menu" and "select" (center) buttons down together for 7 seconds.
    4) As soon as the Apple logo appears on the screen, let off the menu and center buttons, and immediately click the "select" (center) and "play/pause" buttons until the "disk mode" screen appears.
    If that didn't work, your iPod might be broken.
    But before you presume that, try those four steps above several more times. Sometimes you need to do this step several times before you get the hang of it.
    I hope this helps!
    ~~Kylene

  • How to get the submit and Reset buttons on bottom of the page?

    while viewing a parametric form in the web browser i get SUBMIT
    and RESET buttons on the top of the form which doesnt look good.
    I tried pasting the whole html available by default in the
    Before Form Value(where the submit and reset buttons are
    defined) in the After Form Value property of the report property
    pallette. Though the layout appears as i wanted but its not
    passing the parameters values to the query but generates an
    error " REP-0788 Warning : The value of restricted LOV parameter
    BV_FROM_DATE is not among the selected values.". What can be the
    solution to this problem? Your Help is much appreciated. And
    also the report generated in the Runtime Previewer shows all the
    colors of the fields but its not shown on the web browser where
    can i define them...Your Help!!!!Thank you very much in
    advance..

    when you select 'list of values for the parameters' there is a choice box that says 'restrict list to Predetermined values'. Don't select it. This will solve your first problem.
    Second:When you run the report on the web you must choose ' desformat=htmlcss' then you can display the report as in the preview window. But still you can't see the same view in the web browser on report builder. It is still not good. As I sad before you can see the right view when publishing on the web.

  • How to disable browser next and previous buttons for entire ADF application

    Hi,
    JDev Ver : 11.1.1.2.0
    How can I disable the browser navigation buttons next and previous for my entire ADF application.
    If user click on page and then if it press backspace key then it should not go back to the previous opend url and the current page should remain as it is.
    How can I do this ?
    regards,
    devang

    Back button (and backspace) will always go to the previous page. However, with a single master page, the previous page will be the page that called the application so users won't be likely to use it to navigate. The idea of opening the application in a new window/tab is also a nice addition to prevent the back button from being enabled and yes that would block backspace as well. Combine both solutions and you'll have a tab with both back and forward button disabled for the whole application. I don't think there's any document specifically about this solution, but it's not exactly complicated, you seem to already have it actually. Can you precise your question?
    ~ Simon

  • How to disable the attachment (paper clip ) button on Requisition Vacacy

    How can I disable the attachment (paper clip) on Requisition and Vacancy screen using form personalization, I want to do this only for one particular responsibility?

    Please post this question here: OA Framework

  • How to disable the GC and cleanup manually?

    Is there a way to totally turn off the garbage collector?
    If so, how can i destroy garbage on the heap manually like in C++?
    I allready found some threads about this, but all fo them resulted in a diskussion, wether the GC is good or bad and why its good...
    so ill start again a thread and please dont post, that the gc is good enought in 1.5 or things like that
    thx

    cuz nobody responded to my question i continued developing my app (gameserver)...
    server saves all the players accounts, all the maps beeing played,...
    subserver = gameserver, caches the maps,... and directly asks on a players login for the account data...
    now i have the problem, that if more than 10 subservers with ~ 15 players are connected (150 players) and the gc starts working all the palyers starts lagging as hell and 90% are throwen off.
    every one hour the cg needs 10 -30 sec for cleaning up, what me as dev and me and all the other players find sucking
    so im asking again:
    is there a way to destroy garbage?
    sth like System.destroy(<referencevar>); which destroys the object [and sets the references to 'null']
    there are many pple saing that the gc is really good and that he gurus who developed it are the best....
    But im sure, that i know MUCH better, than ANY program, when i can destroy objects (and not causing an 15 sec cleanup)

  • Close, maximize and minimize buttons not themed on Windows 8.

    When using a theme in Windows 8 the close etc buttons are not themed and look ugly and out of place. Any way to fix this embarassing issue?
    Screenshot here
    http://postimg.org/image/4rkm18qf3/

    Hello,
    Unfortunately I believe you will actually need to change your whole Windows desktop theme in order to change those buttons. Perhaps this link can help you:
    * https://answers.microsoft.com/en-us/windows/forum/windows8_1-desktop/windows-81-desktop-window-decorations-changed/b1abd464-8a7f-43fa-ae56-849a974eddd1
    EDIT: The relevant part might be:
    * Right click the Desktop and select Personalize.
    * In the top Themes section scroll down and click Get more Themes online.

Maybe you are looking for