Joptionpane default setting

i have a joptionpane with 2 buttons yes and NO. Does joptionpane always need a default button set. i need to not have the focus on both the buttons until the user clicks on one of tem. is it possible?

Hello Mickey,
i need to not have the focus on both the buttonsNever knew that the focus can be on two buttons ;-)
If the focus is not there where you want it to be, you have to transfer it to another component. In your case I would try to specify my own options with an invisible button which initially holds the focus.
Regards
J�rg

Similar Messages

  • Default setting for Budget Report S_ALR_87013558

    Dear All,
    In Budget Report S_ALR_87013558, when it is executed every time when we enter, 2 number formats are displayed, one in Lakhs (Factor 1,00,000) and one in units (Factor 1). When I change it to Factor 1 through "Number format", then it comes as per selection.
    This is only in prod server, dev server is ok.
    How can I make it default to normal for all users on client level, i.e. to Factor 1.
    Thanks
    Shubham

    Execute the report, now change the number format as per your requirement, now after changing, Press Ctrl+S, this will save the setting to this report. so if you execute the report system will take the number format which you saved as default setting.

  • How to change Default setting AutoCommit to 0 in Procedure or in Connecting

    [tttest@host1 ~]$ ttisql "dsn=ana_tt1122"
    Copyright (c) 1996-2011, Oracle. All rights reserved.
    Type ? or "help" for help, type "exit" to quit ttIsql.
    connect "dsn=ana_tt1122";
    Warning 20000: Use of a deprecated feature: Authenticate (ignored)
    Connection successful: DSN=ana_tt1122;UID=tttest;DataStore=/timesten/TimesTen/tt1122/info/ana/ana;DatabaseCharacterSet=ZHS16GBK;ConnectionCharacterSet=ZHS16GBK;DRIVER=/timesten/TimesTen/tt1122/lib/libtten.so;OracleId=ABCD;PermSize=1200;TempSize=500;TypeMode=0;OracleNetServiceName=ABCD;
    (Default setting AutoCommit=1)
    The "Default setting AutoCommit=1",I can modify it only later using :
    Command> autocommit 0;
    But, I want to know: Can I set the "Default setting AutoCommit=0"? When I connect the DSN? or Can I set "Default setting AutoCommit=0" in a procedure ? Because sometime I maybe want to change it in procedure.
    Thanks very.

    As you have pointed out, in ttisql session you can use AUTOCOMMIT 0 to disable the autocommit feature.
    Similarly in ODBC-based applications, execute SQLSetConnectOption function with SQL_AUTOCOMMIT_OFF.
    For JDBC applications, Connection.setAutoCommit(false) method to disable autocommit feature .

  • Z ALV with Default Setting in save layout option disabled

    Hi friends! I need a little help. I have a Z ALV and we trying to save layout, but the option "Default Setting" is grey and I cannot use this. How can I enable this option in save layout?
    Thanks!!

    hi,
              there is a field  in the FM REUSE_ALV_GRID_DISPLAY HAVE export parameters "I_SAVE"   PASS  'X' to it. I think it will work.
    regards,
    Edited by: ZAHID HAMEED on Oct 26, 2011 10:41 PM

  • Is there a way to have iCal notify of events by email as the default setting? Now I get Message with Sound as the default. I have OS 10.9.2/Mavericks.

    Is there a way to have iCal notify of events by email to myself [My Card in Contacts] as the default setting? Now I get Message with Sound as the default. I have OS 10.9.2/Mavericks.

    Is there a way to have iCal notify of events by email to myself [My Card in Contacts] as the default setting? Now I get Message with Sound as the default. I have OS 10.9.2/Mavericks.

  • Can I over-ride the default setting in Organizer to allow sorting photos by filename ?

    I am converting slides from the 1970's and 80's to digital files and using PSE 8 to Organize them but it is important to me that they stay in the order of the file name I give them and NOT "Date: newest first or last" because it would seem that PSE, in the absence of metafile information, uses the date and time I uploaded the file to the Organizer as the "Date:".  ACDSee has a much more sensible arrangement in giving me full control of how my photos are sorted.  I am being driven to using ACDSee as the organizer and PSE as the photo editor, a not very convenient arrangement.  So my question is, "Can I over-ride the default setting in Organizer to allow sorting photos by filename ?"

    The type of file system that you're trying to set up, is actually done better by creating you own file heirarchy in Windows, and then viewing by import batch.  For example; you might create a top level folder "My Slide Scans", then perhaps, "My son John". So, the scans of john all go in the same folder, you import the folder in one batch, and you're where you want to be.
    That said, PSE will fight you at every turn to do this, since with the scanner hooked up with PSE, PSE is going to want to store your photos in "scanned photos" and import them as you scan them.
    I woud suggest this.  After the scan and import, use PSE to move the photos to their final destination folder, say " Hawaii 1994", and create a tag of the same name". Then when you're done scanning photos of this event, use the tag to view all the scans at once. Then, delete all the photos from the organizer. (Yeah, sounds radical I know). Take heart! All you've gotta do then is to reimport the whole folder. All the same name photos will be in one import batch. And with all the photos of any given topic in one folder, you'll be able to also use Windows Explorer in any number of modes to view the photos outside PSE.
    Keep in mind you can rename batchs of photos by selecting them, or by import batch or even tag, then "Ctrl. > Shift > N" will bring up the name change dialog box.
    This technique is quite contensious, but, it makes a whole lot more sense than storing all your photos in the "My Photos" folder on the "C:/" drive where any viral or malware hiccup might cause the necessity of a reformat, which could cause the loss of years of work.
    If a name search is a priority, that would be "Ctrl ."Shift" > "K" then type in whatever your heart desires.
    Caution: Before attempting a delete/ reimport manuver, Alway, always, write the tag and file info to the photo. "File" >"Write Tag and Properties Info to File".
    I always am quite adamantine about suggesting that you do NOT use the same physical HDD that contains Windows to store your photos, that's just asking for trouble. HDDs are quite cheap nowadays, and they're worth every penny in piece of mind. Plus to use a storage ("Volume") drive, you have to create your own file heirarchy anyway, so that leads right back to the beginning of this discussion.

  • How do I change the default setting from Pages to MS Word for Mac?

    How do I change the default setting from Pages to MS Word for Mac?

    https://discussions.apple.com/message/13008817#13008817

  • How do I change the default setting on messages I print in "Mail".

    I know I can use the Font box on the tool bar and change each individual message but I don't want to have to do this. I can't adequately see the present default setting. I am sure it is something simple, but being new to the Mac I can't seem to find the right solution.

    Go to Mail>Preferences>Fonts and colors and set your font permanently there.

  • Disk Utility Erase - Default Setting?

    Hi everyone, what is the default setting when erasing the HD from Disk Utility? Is it 'Don't Erase Data' option? I didn't check the Security Options before erasing but after it did erase the first time, I went back and used the 7 pass option. Is it safe to assume that all my data is erased from the HD now after taking these steps?
    Thanks
    JF

    Unless you're a Russian/Chinese/No. Korean spy or go out with Bin Ladin's descendants, you're golden already. And if you do form part of the beforementioned groups, the NSA/CIA/ETC. have tools that can overcome anything you can do with DU.
    So don't worry about it.

  • How do I change the default setting on  the 'view scale'?

    I'll try submitting this a second time - it didn't seem to go through the first time.
    I have an iMac G5 (OSX 10.4.4.), my first encounter with Apple. I find that the default size that text displays on screen in the wordprocessing application is too small for my eyes (I ain't as young as I used to be ...). The text always displays in what seems to be about font 8 or 10, no matter what size I set the document font (it will print in the size I set, but not display in it).
    I have discovered that I can change the display size by using the 'view scale' tab in the lower left corner of the window. Size 140 suits me just fine. Problem is that I have to change the view scale each time I open a new document.
    Can anyone tell me how to change the default setting on 'view scale' ?
    iMac G5   Mac OS X (10.4.4)  

    Welcome to Apple Discussions
    You can create default documents with the settings you want for each type of AppleWorks document. I wrote a user tip, New, blank documents with your settings, that details how to do this.
    Peggy

  • How do I remove Fire Fox as the default setting on my eMac computer. I am unable to open some files I need to open with Fire Fox.

    I receive a newsletter that has information I need. Since I chose Fire Fox as my default setting, I haven't been able to open it. It was so easy making Fire Fox my default, but not so easy to remove it.
    Jim Kennedy

    You should at least install the latest Firefox 3.6.28 version for your Mac OS X 10.4 PPC computer instead of the current Firefox 3.6.18 version.
    *Firefox 3.6.28: http://www.mozilla.org/en-US/firefox/all-older.html
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    See also:
    *http://kb.mozillazine.org/Default_browser
    *https://support.mozilla.org/kb/How+to+make+Firefox+the+default+browser
    *https://support.mozilla.org/kb/Setting+Firefox+as+the+default+browser+does+not+work

  • How do you change the default setting in the motions tab?

    Greetings!
    We have two macs in our editing suite. Both are running FCP studio 2. One of the macs has a default setting for the drop shadow of 2 in the motion tab. The other mac has the default setting of 10. How can I change the default settings (not as a favorite) so that when I open a clip in the viewer the default setting will always be my preference (1.5) instead of the standard 10. I also want to change the opacity to 90% as the default.
    Thanks for your help.
    YmirJr

    Larry, et.al.
    Below is a step-by-step process for changing the default font in CS6, Illustrator, Mac, Mountain Lion, 10.8.2.
    There are several additiional steps needed to make this work.
    Please feel free to us this for other inquiries.
    To Change Default Font in CS6-Ai-Mac-Mountain Lion, 10.8.2
    On desktop menu bar, hold down Option key, go to GO, pull down to Library.
    Open Application Support, ~ Adobe, ~ Adobe Illustrator CS6, ~ en_us ~ New Document Profiles
    Six choices appear (you can change each that you use, one at a time)
    Example: Double click Basic RGB.ai
    A Basic RGB.ai blank document window opens
    In Menu Bar, go to Window ~ Type ~ Character Styles
    A sub-window opens with (Normal Character Style) highlighted in Blue
    Double click the highlighted name and another sub-window opens
    In left of this window, choose Basic Character Formats
    Change to desired Font Family, Font Style, Size, etc.
    Click OK when finished, widow disappears to reveal Character Styles sub-window
    Click anywhere on the blank document in order to get option to Save
    Save the document
    Close Character Styles sub-window
    Quit Illustrator
    Re-launch Illustrator CS6 ~ New document … check Font tool to confirm changed default font
    Hope this works for other "Lost Adobe Souls" like myself.
    George

  • How do you change the default setting for RTF documents from TextEdit to MS Word

    How do you change the default setting for RTF documents from TextEdit to MS Word, I download forms from the Canadian government and they use RTF as a standard, they are supposed to open as MS Word documents (Yes I have Office for MAC 2011) but when download the document it goes to TextEdit which messes up the form format. I can down load it right click and go "open with" MS Word but how can I get the default chnaged to save this step.

    richr604 wrote:
    Thanks I knew this, I like Safari as I want to keep everything MAC, but if I use Firefox the documents open in MS Word straight away, I was just curious if there was some setting I could change?
    In Firefox > Preferences, click the Applications tab. If RTF is there, use the pulldown menu in the Action column to pick MS Word. If RTF is not there, there are instructions here for how to add file types.

  • Report painter - Default set 010100010001-1 does not exist

    Dear Experts,
    I have created a report in report painter and I transported (report, report group, variables) thru transport request.  while importing into Quality system  i was getting errror"Library 1VK: Default set 010100010001-1 does not exist".   Then i kept 1 VK library in transport then i moved to Quality system  now all standard report are not working properly.
    Please advise.
    Thanks
    Balu

    Hi Thanks for your reply
    Earlier i was getting the following error when i was importing  transpor request (report, report group, variables)
    1)"Library 1VK: Default set 010100010001-1 does not exist. "
    2)Errors occurred during post-handling G_RW_AFTER_IMPORT for GRW_JOB T
    3)The errors affect the following componenets:
    4)FI-SL-IS (Information System)
    Then I transported 1VK library also (without selection list option) now my standard reports are not working properly
    Please advise.
    Thanks
    Balu

  • Change the default setting for report painter reports.

    HI All
    Can we change the default setting in SAP/R3  in the report painter reports  for the selection screen options?
    If yes,Please let  me know how we can change the default settings.
    Thanks in Advance
    Best regards
    Venu

    HI
    We have a report developed in the report painter for profit center accounting and we have selection screen for this report.
    Few of the selection screen fields parameter are set by default and we need to change the default setting for the selection screen fields parameters.
    How and where do we  set or change the default parameters for the selection screen ?
    Thanks in advance
    Best Regards
    Venugopal

Maybe you are looking for

  • ACROBAT 9 PRo and OS X 10.6.8

    I just updated my MAC to 10.6.8 and was previously running Acrobat 9 Pro. I am using CS5 and I now can not make a PS file from Illustrator. I also can't seem to find updates for 9 PPDs

  • How to duplicate a personal mailbox structure in Mail

    I'm posting this because there may be someone else who wanted to do this but couldn't figure out a way to do it. Ever wondered if there was a relatively easy way to duplicate a Personal Mailbox structure without creating every individual folder again

  • Role Creation for CMS

    Hi Steve, We use ant scripts to create domain and assign roles. But some how the scripts for role is incomplete. Can you let me know, where the roles like 'Anonymous' and others should be specified in newly created domain. I mean where do we assign r

  • Checkbox change does not dirty transaction?

    I have defined a messageCheckBox in an advanced table. The EO and VO point to a database column rejected_flag. The value is 'Y' or Null. When I uncheck or check this value then attempt to commit inside my AM, nothing happens. The debugger shows me th

  • Results Output

    Hi i have a results page which i need a little help with, if you look at http://www.southerncooling.com/ProductResults1.cfm this show results that match what the user selected which is what i want but i want to display all the range and models for th