How to disable the closing Button in the upper Frameborder

Hey !
I would like to disable the button in the right upper corner of my
JDialog (In Windows the button with the cross int the right upper corner
of a window).
How can I do that.
Thx advanced

Thank you !
I have already done this.
But I dont like it so much.
It would be nicer if you could disable somehow the buttons
in the upper right corner.
I know that it was possible in Delphi, but I cant find something
to do it in Java.
Somebody asked in this thread http://forum.java.sun.com/thread.jsp?forum=57&thread=389927&tstart=0&trange=15
how to make your own borderstyle but the answeres there couldnt help me.
May be there is a solution to influence the border of the Window somehow.

Similar Messages

  • I've lost the "Send" button in my reply window. When I double click on a Mail message, on order to reply, the "Send" button at the top of the window is missing. I can reply by closing and saving my reply, and re-openning from Drafts. How to fix?

    I've lost the "Send" button in my reply window. When I double click on a Mail message, on order to reply, the "Send" button at the top of the window is missing. I can reply by closing and saving my reply, and re-openning from Drafts. How to fix?

    Hi, try this...
    If nothing is showing in the Toolbar at top, click the little gray oval at top right.
    Right click or Control+click on the Toolbar, choose Customize Toolbar, drag the Send button to the Toolbar.

  • How to disable the cancel button in the ProgressMonitor

    hi,
    I need to know, is there any way to disable/remove the (cancel)button in the ProgressMonitor?
    One more problem is,
    Once i click the cancel button, isCanceled() return true, how to make it false again so that the process continue....
    It is very urgently.....
    please help me out.
    Thanks in advance.
    Regards,
    Deepa Raghuraman

    I don't think that's a good solution, because Cancel button itself is not disabled, so user is tempted to click it and nothing happens.
    A better but dangerous solution is this:
    progressMonitor = new ProgressMonitor(ProgressMonitorDemo.this,
                                         "Running a Long Task",
                                         "", 0, 100);
    progressMonitor.setMillisToDecideToPopup(0);
    progressMonitor.setMillisToPopup(0);
    progressMonitor.setProgress(0);
    JDialog dialog = (JDialog)progressMonitor.getAccessibleContext().getAccessibleParent();
    JOptionPane pane = (JOptionPane)dialog.getContentPane().getComponent(0);
    pane.setOptions(new Object[]{});Refer to the same question here [http://stackoverflow.com/questions/512151/how-do-i-disable-the-cancel-button-when-using-javax-swing-progressmonitor] .

  • 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 can I disable the previous button in the first page and the next button in the last page?

    Hi all,
    I have created a new skin for a webhelp by modifying the layout and the buttons. However, I am not able to find a way where in we can
    disable the previous button ini the first page of the webhelp and hte the next page in the last page of the webhelp. If both the next and previous button is visibile in the first and last page, it is sort of misguiding the user.
    I am using Robohelp 9.
    Please advice.
    Thanks,
    Parag

    I think you are mixing Previous and Next in a browse sequence and the Previous and Next that you get in the browser itself.
    In a browse sequence, they are automatically disabled at the start and finish. When in the first topic in the sequence only Next will be enabled, when in the last topic only previous will be enabled.
    Previous and Next in the browser are working on the topics your user has viewed which is not the same thing.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to disable or redirect the back button on the browser tool bar

    I am creating a web help file for a web based software
    application. I am using context sensitive help, when I click on the
    help for a topic and close the window, when I click the Back button
    on the Internet Tool bar it goes back to the help instead of the
    software.

    Doubleposted: [http://forums.sun.com/thread.jspa?threadID=5379620&tstart=0]. Please continue over there.
    Please do not use the back button to edit a message. You're going to repost the message. Just use the message's edit button instead.

  • How do i keep my apps from closing when i click on the numbers button on the keyboard?

    Hello. Recently i have been having trouble with my ipod 4th generation. When ever i open the keyboard and tap on the icon to type in numbers or symbols the app closes. It happens on any app including safari. Please help!

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                                              

  • When I type an address in the location bar and hit Enter nothing happens. I must click the arrow button at the end of the location bar. How do I fix it so that the Enter key works?

    When I type a web address in the location bar and hit enter nothing happens. In order to go to the website I've typed in, I must click the arrow button at the end of the location bar. How do I make it so that hitting the enter key takes me to the web page.
    == This happened ==
    Every time Firefox opened
    == Since Firefox 4 Beta installed an update

    The AVG addon seems to have caused the problem for me. I had it disabled and everything worked. Then I updated to AVG 2011 and the problem occurred. It seems to have reenabled itself after the update.
    Just disabling it solved the problem.

  • How to Enable the SAVE button in the Menu Bar of the Invoice Document.

    Hi.
    How to Enable the SAVE button in the Menu Bar of the Invoice Document as it is disabled for me.
    I would like to save the Invoice document in PDF  format.
    Regards
    Irfan

    Hi,
    Normally, for the archiving or generation of the invoice document in PDF format is handled by maintaining the output records through VV31/VV32 with the relevant printer, storage mode ( 3- print and archive or 2- archive only ), no. of messages ( means no of copies ) in the communication method.
    Then when you click the print button through VF03 in the print options pop-up you get a print at the physical printer and at the same time an archived copy ( PDF copy ) attached with the document.
    So, please make sure the output records are fine to allow a PDF copy generated and then try to print and check in VF03 by entering into the billing document.
    Hope this helps you.
    However, from the print preview you normally would not be allowed to save or print.
    Regards,
    Ram
    Edited by: Ramakrishna Peri on Apr 3, 2009 9:16 AM

  • Disabling the Open button in the JFileChooser dialog

    Hi,
    I would like to enable/disable the Open button in the JFileChooser dialog, after the dialog is shown.
    I looked at the Java APIs but I could not find a method that gives me the access to this button.
    Could anyone let me know how to either retrieve the Open button from the JFileChooser or enable/disable it through Java APIs?
    Thanks in advance,
    Paul Rodziewicz

    As I'm editing with multiclips in my sequence, if I select "open" from the middle pulldown menu in the canvas or viewer, it will open the multiclip in the viewer and play it in sync with my timeline playhead (like the gang feature). I.E. so I can hit play in my timeline, watch the multiclip in the viewer real time, and make edits (to the clip in the timeline) as I watch. My issue is that the syncing of the viewer playhead and the timeline playhead often break when deleting clips and I constantly have to reselect the "open" button, and it would be way nicer if there was a shortcut key instead of having to mouse it. It only takes a second to use your mouse and select "open" but when you have to do it constantly, it makes you wish for a quick key.
    img src="http://a960.ac-images.myspacecdn.com/images01/47/l_b06e2e3aee5446928b2daca d1d04520f.jpg" align=left width=600 height=463 alt="pic1">pic1
    img src="http://a672.ac-images.myspacecdn.com/images01/60/l_979388c01dd9880126c0fbd 8f5ab49f7.jpg" align=left width=600 height=485 alt="pic2">pic2

  • How to hide the "EXIT" button on the ESS Personal inf. iViews

    Hello,
        We are using SAP ECC 6.0 + SAP EP 7.0 + ESS 1.0 (latest Releases).
        In the ESS iViews (Java WD) for Personal information (Adresse, Bank, Family, etc. there is the Button "Exit"..
      Does any have any Idea where and how to hide this "Exit" Button in the iView/Java-WD?
    Many Thanks,
    Nazih

    Hi Chris,
      thanks for your reply.
      If you mean to hide the button using the iView/WD Personalisation by rightclick on the iView in PCD and then Review, well yes i know this and i have tried this already before and we were able to hide some not required input fields in the Webdynpro, but we were not able to find and to hide the "EXIT" Button using the personalisation..!!?? you know why?
    Why to hide the Exit button, i will tell you why, in the iView for maintainig the ESS Personal Information -> e.g. Adresse --> Edit Adresse View (Roadmap view No. 2) --> when User click on the Exit Button --> This will open new browser Window with ESS... ---> This second Browser Window (Pop up) would confuse the User, since he already have an opened window, so the Customer mean why open new window, since the user can simply click the Button Back and so his data are also saved..
    How can we manage to control the behaviour of the Button, so the iView is closed safety without that new Pop-up windows are opened...
    Many Thanks,
    Nazih

  • Disable "Delete Record" button in the NavigatorBar

    Hi,
    I am working on a JSP application. For the security reason, I'd like to disable or get rid of the "Delete Record" button in the NavigatorBar. After several tries, I still couldn't figure out how to disable or get rid of the NAVIGATE_DELETE, NAVIGATE_COMMIT, and NAVIGATE_ROLLBACK.
    Does anyone have any idea about this?
    Thanks in advance.
    Rick

    Rick,
    In the NavigatorBar Bean:
    <jsp:useBean class="oracle.jbo.html.databeans.NavigatorBar" id="test" scope="request" >
    <%
    test.setShowNavigationButtons(true); test.setReleaseApplicationResources(false); test.initialize(pageContext,"jsp_grammar_GrammarModule.DeptView");
    test.render();
    %>
    </jsp:useBean>
    SET THIS TO FALSE
    test.setShowNaigationButtons(false);
    Instead use
    test.addButton(NAVIGATE_FIRST);
    test.addButton(NAVIGATE_NEXT);
    test.addButton(NAVIGATE_NEXT_PAGE);
    and put the buttons in you want to use. Look at BaseNavigator.java for all the buttons that are available.
    Good Luck,
    Joe

  • How do you close apps you hve looked at with the new software update?? You used to have to double click the home button and the apps would come up to delete bu that doesn't happen anymore.

    How do you close apps you hve looked at with the new software update?? You used to have to double click the home button and the apps would come up to delete bu that doesn't happen anymore.

    The apps in the multitaskbar should appear like pages on the whole display. To close them, just swipe from the bottom to the top. you can select single apps for closing, when you swipe them like you would swipe your homescreens.

  • Can I disable the LINK button at the top of the toolbar.

    I don't know how many times I've accidentally clicked the link button when I went to select the pointer tool and been taken away from indesign and into my browser. Frustrating and adding up to lots of loss of productivity.
    Is there a way this button can be disabled? The wide button above the select and direct select tools at the very top of the tools palette that when clicked links to: http://www.adobe.com/products/indesign/ --- anyway to disable this?
    Thanks

    >I don't know how many times I've accidentally clicked the link button when I went to select the pointer tool.
    I would suggest use a more accurate curser moving device than you have now. I use a Wacom and have never accidently hit the link.

  • Is it possible to disable the "reopen" button in the expense report?

    Hi,
    Is it possible to disable the "reopen" button in the expense report?  If it is possible, how can we disable it?  Thanks in advance for any insights anyone can provide.
    Thanks,
    Andrew

    Hi Manasa,
    My client's finance team have strict requirements around reopening of expense report.  Ideally, they want the button removed after expense has been approved.  Or have a way to add permission around this button and limit it to auditors and approvers.  Any insights/recommendation would be greatly appreciated.
    Thanks,
    Andrew

Maybe you are looking for

  • Can't open Pages 09 document

    Like many others on this post, I also cannot open a very important Pages 09 document built using mainly blank pages and a couple of standard Page Layout Templates. It is 80 pages of colour photos with captions, totalling 1.7 GB. I saved everything su

  • LE7 crashed?

    I'm posting this for a friend who's LE7 just crashed. He got the following messages: error readi/writing file "com.apple.logic.espress.cs'' logical end-of-file reached during read operation any ideas on what caused this or how to fix it?

  • Report for list of chargeable / non chargeable materials .

    Hi, What is the Tcode for getting report for list of chargeable / non chargeable materials . Tx Uts

  • Change HTML background color with AS3

    Hi all, I'm looking or a way to change my HTML background color trough Flash. The problem is it's not working any ideas? here is the code i'm using HTML HEAD <script language="JavaScript"> function changeBgColor(newBgColor) if (window.document && win

  • Where are the condition values of a Debit Memo Request stored - SE16

    Who can help me explain in what table(s) I can find the values on the condition tab that are calculated, referring to a DMR single line item? For example, I have a DMR + Line item from VBAK and VBAP, but the values on the condition tab are not stored