JOptionPane Problem: Pl Help
I am trying to change the default selected option of showConfirmDialog to cancel instead of ok. Please suggest how i can do it.
Hi,
You can't change that with showConfirmDialog.
Use showOptionDialog instead.
One of the overloaded function takes the available options (say ok, cancel) and u can specify the default selection as well.
Regards,
[email protected]
Similar Messages
-
JOptionPane Problem Plz help me
I want to add an image button on JOptionPane
how can i do?
Means change the default button For JOptionPane.OK_OPTION
Thanks in advanceset your FORMS60_PATH on the client to Formspath;libpath;menupath so it looks in every dir named in the path.
-
My iPad shows a message "Cannot find AirPrint printer". I used to use my iPad to print materials using HP wireless printer D110. Now it does not want to print. Is this because I am now using IOS 7? What should I do to solve the problem? Help please.
Restart your WiFi router and printer by removing power for 30 seconds.
-
IPod Mini Problems Please Help
This is my second post of the type... no one replied to that so im hoping someone could help me.
Problems:
-Wont Update or Load Songs
-It starts loading, gets to around the 5th song (out of well over 600) and says "Ipod Update Complete, OK To Disconnect" though nothing is on the iPod.
-Occasionally wont restore to factory settings.
Okay, before you suggest the five R's, ill note that ive put several MONTHS into this, and ive tried them well over 20 times in order.
Things Tried
-5 R's Repeatedly (as noted above)
-updating on a friends computer (several times with no luck, same problems)
-requested help over the phone
-The number i called was the Apple US Help Line, which the person helped me for about an hour before he said he did not know what was up, and transfered me to the Canadian help line, where they demanded a large sum for help, which i could not pay (under 18).
-When i first noticed the problems, I sent it in (around the end of december)and problems continued upon arrival of the new mini.
I will also note that my sisters iPod Nano works perfectly fine, no problems, as well as my friends iPods adding songs from my computer.
Please please help... im currently resorting to a crappy CD player that skips for my music... and have been... its starting to break me inside.
Thank you,
MilanNatalie,
If you have your iPod set to transfer your music manually, then that do not disconnect message will continue to be displayed on your iPod until you manually eject it.
You can do this by clicking on the little eject icon next to the iPod listing in the source window of iTunes, or right click on it and select eject. Another way would be to use the safely remove hardware icon in the system tray next to the clock (looks like a grey rectangle with a green arrow above it). Click on this then select your iPod. Or through Windows, select start/my computer, right click on the iPod, select eject.
If you have your iPod set to automatically sync with iTunes, right click on the iPod in iTunes, select options and if you have a check mark in the box marked enable disk use, remove it and your iPod should automatically disconnect after its finished transferring music.
For the iPod to automatically open iTunes, you have to have "open iTunes when this iPod is attached" checked.
Go to edit/preferences/iPod to do this.
If you prefer to keep the iPod set to manual transfer, look at this. In fact, the whole tutorial is a must read.
Managing Your Songs Manually
iPod Tutorial
iTunes Tutorial Windows -
Apps store wont let me download free app due to previous purchasing problem? help!!
apps store wont let me download free app due to previous purchasing problem? help!!
Is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill ? If it's not then that might be the reason that you are getting the security code error : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorizations have the correct information on file.
And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Express Lane, then iTunes > iTunes Store -
I am trying to send minutes of a meeting created in Pages to pc users by clicking on export then word. Recipients are telling me they cannot open the minutes which have come as a ZIP compressed folder. I have no idea what this is or how to fix the problem. Help?!
A pc user can open a .zip file by double clicking it.
If that does not work, you can convert the document to a .pdf by doing the following.
With the document active, type commannd + P (the print command).
In the next screen, on the bottom left, click on PDF, and in the drop down select Save as pdf...
You will be asked where the .pdf should be saved - the desktop is the easiest.
Now when you want to send the minutes, you have them as a .pdf file. Anyone with Adobe Acrobat Reder can open this. -
hi to all
Using form6i and run in client server. i cant solve this problem please help to all master :
I have a text item in forms and button. When i type the Customer_Name in text item then all names appears in reports, i want that when i type the name, only that name will appear .
Please check what is wrong with my code and steps.
In report wizard, query statement i put "Select * from S_customer"
then i call the report in forms..
Report Property pallette:
Other Parameters=Customer_Name
Query names=Select * from s_Customer where Customer_Name=:rep(the text item)
then in forms the button trigger is when button pressed.below is the code:
declare
v_Rep varchar2(100);
repid report_object;
Begin
repid := find_report_object('report');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,’s_customer=’||:Dept.rep);
v_rep := run_report_object(repid);
end;
advance tnx to allHi,
You need to bulid a parameter list.
This is a code sample to run a report from Forms:
(Place it on a button when-button-pressed trigger, to run the report).
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
-- this is the parameter list
pl_id ParamList;
pl_name VARCHAR2(10) := 'tempdata';
BEGIN
-- try to find the parameter list
pl_id := Get_Parameter_List(pl_name);
IF Id_Null(pl_id) THEN
-- if parameter lsit does not exist
-- create it
pl_id := Create_Parameter_List(pl_name);
IF Id_Null(pl_id) THEN
Message('Error creating parameter list '||pl_name);
RAISE Form_Trigger_Failure;
END IF;
ELSE
Message('Parameter list '||pl_name||' already exists!');
-- destroy it to clear old parameters
-- and create it again;
destroy_parameter_list(pl_id);
pl_id := Create_Parameter_List(pl_name);
END IF;
Add_Parameter(pl_id,'p_customer_name',TEXT_PARAMETER,:customer.cust_name);
-- add as many parameters as needed
-- finally run the report passing your parameter list
repid := FIND_REPORT_OBJECT('report4');
v_rep := RUN_REPORT_OBJECT(repid, pl_id);
Exception
when others then
Message('Error running report. '||sqlerrm, acknowledge);
END;
Also, you need to create the parameter in your report:
1.- Open your report on reports builder.
2.- Find the "Data Model" node, and the "User parameters" node.
3.- Create a parameter: p_customer_name
4.- Modify your sql from:
Select * from S_customer
TO:
Select * from S_customer
where Customer_Name=:p_customer_name;
If you want this parameter to be optional, check the reports online help on "Lexical References".
Have fun,
Hugo -
Problem connecting wirelessly from iMac to NETGEAR router, get invalid password message with WPA and WPA-2 encryption in place but if I remove them, so no security, can connect without a problem. Help!!
Thank you for your suggestion but I have already had a couple of phone sessions with NETGEAR support and they don't see any problems with the router settings etc. They referred me to Apple support, who helped me discover that it is possible to communicate with the router but only if I turn off the encryption/security software, which I don't want to do. The frustrating thing is that I can connect wirelessly from a laptop running Windows 7 and two Anroid smart phones, with WPA-2 in place, without a problem. Do you have any other ideas?
-
Hi my iphone 4 is disabled how can solve this problem? help me please
hi my iphone 4 is disabled how can solve this problem? help me please
What do you mean by "disabled"? Disabled by entering the wrong passcode? If so, you'll have to force the phone into recovery mode & restore it to get it working again & remove the passcode:
Turn your phone off, then force it into recovery mode & restore it:
Leave the USB cable connected to your computer, but NOT your phone, iTunes running, press & hold the home button while connecting the USB cable to your dock connector, continue holding the home button until you see “Connect to iTunes” on the screen. You may now release the home button. iTunes should now display that it has detected your phone in recovery mode, if not quit and reopen iTunes. If you still don’t see the recovery message repeat these steps again. iTunes will give you the option to restore from a backup or set up as new. -
my iphone is on recovery mode and i can´t turn on it, when i try to recover it from itunes i get: unknown error (36), i´ve tried to do lot of things but i can´t solve my problem. please help!!
Hi, i had the same problem. Try to find the file "apple" or "itunes" don't know it anymore exactly. Ahm well you need to delet any information or just plug in your iphone into an other computer. important is that your iphone never has been pluged in this computer before. This was what i did, and it worked!
-
I have a 160GB Hard Drive in my MBP and use VMWare Fusion and had a 60GB Virtual Machine running Windows XP. Deleted the Virtual Machine and CANNOT find the 60GB space I desperately need! Anybody out there with a similar problem? Help!
Thanks - Of Course the first thing I checked and did.
Disc Utility reads as follows:
Capacity : 159.18 GB (159,182,127,104 Bytes)
Format : Mac OS Extended (Journaled) Available : 11.47 GB (11,472,896,000 Bytes)
Owners Enabled : Yes Used : 147.71 GB (147,709,231,104 Bytes)
Number of Folders : 139,540 Number of Files : 511,832
Activity Monitor(Disc Usage) shows something quite interesting. Mac HD and Ramanan (Main User) - My hard drive is only 160GB! Would the retired engineer gentleman please note as well. Many thanks. Rams -
how do I copy files onto a hard drive (device) from Mac 2 7 pc. I'm able to transfer files from device but cannot transfer files to device. Anyone had same problem or can help solve this problem? Help pls
Welcome to Apple Support Communities
When you try to copy data to the external drive, what happens? If you don't see any error, the external drive is formatted in NTFS, and OS X can't write in it.
To be able to write on this external drive, you have to use an app like Paragon NTFS. Another solution would be to format the external drive in FAT32 or exFAT with Disk Utility > http://pondini.org/OSX/DU1.html Make sure you copied all the files of the external disk to the internal disk before doing it -
Problem Please help me.....Let me know the area to look for it I am a DBA..Thanks in advance to let me know the cause and the area to look and fix it...
Server Error in '/' Application.
Problem with SAP/BAPI. SAP.Connector.RfcCommunicationException: Connect to message server failed Connect_PM MSHOST=prddb01.lamrc.com, R3NAME=PRD, GROUP=Prod HR PRD LOCATION CPIC (TCP/IP) on local host ERROR service 'sapmsPRD' unknown TIME Wed May 04 08:59:06 2005 RELEASE 620 COMPONENT NI (network interface) VERSION 36 RC -3 MODULE ninti.c LINE 428 DETAIL NiPServToNo SYSTEM CALL getservbyname COUNTER 1 at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode) at SAP.Connector.SAPConnection.Open() at SAP.Connector.SAPClient.RfcInvoke(String method, Object[] methodParamsIn) at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn) at SoftwareKeySAPG.SAPProxy1.Z_Bapi_Load_Kpi_Region(ZSOFT_KPI_REGIONS_MTable& Kpi_Regions, ZSOFT_PROD_TYPETable& Prod_Type) at SoftwareKeySAPG.SAPGSK.LoadKPIRegion(DataSet dsProduct)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Services.Protocols.SoapException: Problem with SAP/BAPI. SAP.Connector.RfcCommunicationException: Connect to message server failed Connect_PM MSHOST=prddb01.lamrc.com, R3NAME=PRD, GROUP=Prod HR PRD LOCATION CPIC (TCP/IP) on local host ERROR service 'sapmsPRD' unknown TIME Wed May 04 08:59:06 2005 RELEASE 620 COMPONENT NI (network interface) VERSION 36 RC -3 MODULE ninti.c LINE 428 DETAIL NiPServToNo SYSTEM CALL getservbyname COUNTER 1 at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode) at SAP.Connector.SAPConnection.Open() at SAP.Connector.SAPClient.RfcInvoke(String method, Object[] methodParamsIn) at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn) at SoftwareKeySAPG.SAPProxy1.Z_Bapi_Load_Kpi_Region(ZSOFT_KPI_REGIONS_MTable& Kpi_Regions, ZSOFT_PROD_TYPETable& Prod_Type) at SoftwareKeySAPG.SAPGSK.LoadKPIRegion(DataSet dsProduct)
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SoapException: Problem with SAP/BAPI.
SAP.Connector.RfcCommunicationException: Connect to message server failed
Connect_PM MSHOST=prddb01.lamrc.com, R3NAME=PRD, GROUP=Prod HR PRD
LOCATION CPIC (TCP/IP) on local host
ERROR service 'sapmsPRD' unknown
TIME Wed May 04 08:59:06 2005
RELEASE 620
COMPONENT NI (network interface)
VERSION 36
RC -3
MODULE ninti.c
LINE 428
DETAIL NiPServToNo
SYSTEM CALL getservbyname
COUNTER 1
at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode)
at SAP.Connector.SAPConnection.Open()
at SAP.Connector.SAPClient.RfcInvoke(String method, Object[] methodParamsIn)
at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn)
at SoftwareKeySAPG.SAPProxy1.Z_Bapi_Load_Kpi_Region(ZSOFT_KPI_REGIONS_MTable& Kpi_Regions, ZSOFT_PROD_TYPETable& Prod_Type)
at SoftwareKeySAPG.SAPGSK.LoadKPIRegion(DataSet dsProduct)]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1503
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +218
SoftwareKeyUI.InstalledBaseDataWS.InstalledBaseData.LoadKPIRegionMulti(DataSet products)
SoftwareKeyUI.InstalledBaseDataAccess.LoadKPIRegionMulti(DataSet products)
SoftwareKeyUI.InstalledBase.GetRegionDetails(Int32 userId, String product, String regionType)
SoftwareKeyUI.FilteredAccess.GetRegionDetails(Int32 userId, String product, String regionType)
SoftwareKeyUI.search.LoadRegionDetails()
SoftwareKeyUI.search.regionType_SelectedIndexChanged(Object sender, EventArgs e)
System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e) +108
System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() +26
System.Web.UI.Page.RaiseChangedEvents() +115
System.Web.UI.Page.ProcessRequestMain() +1099The error is a very basic one - the sapmsPRD service is not known. You will have to go to <NT_ROOT>\system32\drivers\etc and add the entry sapmsPRD 3600 to this file.
This is basically telling the requester at what port to look for the message server.
C -
Problem Please help me.....Let me know the area to look for it
Problem Please help me.....Let me know the area to look for it I am a DBA..Thanks in advance to let me know the cause and the area to look and fix it...
Server Error in '/' Application.
Problem with SAP/BAPI. SAP.Connector.RfcCommunicationException: Connect to message server failed Connect_PM MSHOST=prddb01.lamrc.com, R3NAME=PRD, GROUP=Prod HR PRD LOCATION CPIC (TCP/IP) on local host ERROR service 'sapmsPRD' unknown TIME Wed May 04 08:59:06 2005 RELEASE 620 COMPONENT NI (network interface) VERSION 36 RC -3 MODULE ninti.c LINE 428 DETAIL NiPServToNo SYSTEM CALL getservbyname COUNTER 1 at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode) at SAP.Connector.SAPConnection.Open() at SAP.Connector.SAPClient.RfcInvoke(String method, Object[] methodParamsIn) at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn) at SoftwareKeySAPG.SAPProxy1.Z_Bapi_Load_Kpi_Region(ZSOFT_KPI_REGIONS_MTable& Kpi_Regions, ZSOFT_PROD_TYPETable& Prod_Type) at SoftwareKeySAPG.SAPGSK.LoadKPIRegion(DataSet dsProduct)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Services.Protocols.SoapException: Problem with SAP/BAPI. SAP.Connector.RfcCommunicationException: Connect to message server failed Connect_PM MSHOST=prddb01.lamrc.com, R3NAME=PRD, GROUP=Prod HR PRD LOCATION CPIC (TCP/IP) on local host ERROR service 'sapmsPRD' unknown TIME Wed May 04 08:59:06 2005 RELEASE 620 COMPONENT NI (network interface) VERSION 36 RC -3 MODULE ninti.c LINE 428 DETAIL NiPServToNo SYSTEM CALL getservbyname COUNTER 1 at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode) at SAP.Connector.SAPConnection.Open() at SAP.Connector.SAPClient.RfcInvoke(String method, Object[] methodParamsIn) at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn) at SoftwareKeySAPG.SAPProxy1.Z_Bapi_Load_Kpi_Region(ZSOFT_KPI_REGIONS_MTable& Kpi_Regions, ZSOFT_PROD_TYPETable& Prod_Type) at SoftwareKeySAPG.SAPGSK.LoadKPIRegion(DataSet dsProduct)
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SoapException: Problem with SAP/BAPI.
SAP.Connector.RfcCommunicationException: Connect to message server failed
Connect_PM MSHOST=prddb01.lamrc.com, R3NAME=PRD, GROUP=Prod HR PRD
LOCATION CPIC (TCP/IP) on local host
ERROR service 'sapmsPRD' unknown
TIME Wed May 04 08:59:06 2005
RELEASE 620
COMPONENT NI (network interface)
VERSION 36
RC -3
MODULE ninti.c
LINE 428
DETAIL NiPServToNo
SYSTEM CALL getservbyname
COUNTER 1
at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode)
at SAP.Connector.SAPConnection.Open()
at SAP.Connector.SAPClient.RfcInvoke(String method, Object[] methodParamsIn)
at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn)
at SoftwareKeySAPG.SAPProxy1.Z_Bapi_Load_Kpi_Region(ZSOFT_KPI_REGIONS_MTable& Kpi_Regions, ZSOFT_PROD_TYPETable& Prod_Type)
at SoftwareKeySAPG.SAPGSK.LoadKPIRegion(DataSet dsProduct)]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1503
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +218
SoftwareKeyUI.InstalledBaseDataWS.InstalledBaseData.LoadKPIRegionMulti(DataSet products)
SoftwareKeyUI.InstalledBaseDataAccess.LoadKPIRegionMulti(DataSet products)
SoftwareKeyUI.InstalledBase.GetRegionDetails(Int32 userId, String product, String regionType)
SoftwareKeyUI.FilteredAccess.GetRegionDetails(Int32 userId, String product, String regionType)
SoftwareKeyUI.search.LoadRegionDetails()
SoftwareKeyUI.search.regionType_SelectedIndexChanged(Object sender, EventArgs e)
System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e) +108
System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() +26
System.Web.UI.Page.RaiseChangedEvents() +115
System.Web.UI.Page.ProcessRequestMain() +1099Hi
You should make a mapping for the service sapmsPRD in your /etc/services file (On Windows: C:WINDOWSSYSTEM32DRIVERSETCservices). If your instance number is 00 you will have to add the following entry:
sapmsPRD 3600/tcp
Good luck!
René van Es -
[TV@Master] Problem please help
I have Msi.mother board PT8-Neo -LSR , Model No.Ms-6799 , main board bios -Phonenix ,maind board version i updat it to 2.2 , cpu size 2.4 G celleron D/256/533 , memory size 256DDram (400),display card Nvidia Riva TNT2 model 64
the problem that i face it when i put my TV@nywhere -master card ,the pc stop at the main page that show the biso version and name of bios company and the letters do not bost well it look like a virus work , and when i take tha card off the pc go normally , i tried put it to other PCI the same problem
please helpi meany by fix the problem of getting the pc go on to windows with card on PCI salot but i still have the broblem of the driver
please read my reply again
my operating system is win me and i have also another pc have XP
when i log in to windows the system show that found my TV@nywhere card but it didnt took the installatin driver for it i tried to install the driver directly
but it give me this 2 mesages when i try to install the driver
MSI TV card is not found ,stop the installation
the other message is
MSI pvs driver installatin failed
i download the driver from msi page also give me the same messages
for known on Device Manager it show me that the driver there but do not have the driver and the ? mark beside them
what to do now
Maybe you are looking for
-
I saved my "users" folder to an external HD. I did erase and install on my imac. Now how do i get the accounts to open up on the fresh installation?
-
Dear Guru's I have a scenario in Excise return sales in Depot. When i Transfer Mater from Factory to Depot with price is Rs.14000., but when i sales to customer customer price is 13500 but duty will be calculate on Rs.14000. the invoice value will be
-
Playbook (no 3g) email set up thro another server help please
Hi Have just bought the Playbook (no 3g) & am trying to set up the email. I have several email addresses (some bought & others eg BT) On the laptop I route them all thro BT server & am trying to do the same on the Playbook. It will find the purchased
-
Outlook Express Address Book: Exporting to iMac
What is the best, and easiest, way to get the information in my OE Address book into my just-purchased iMac. The old PC is still running and the iMac is yet to be plugged in. If there is doubt in anyone's mind, my talents lie elsewhere. Any guidance
-
New weblogic instances goto unknown state
Hi , When i create a new weblogic server using Admin console , the server at time shows up in UNKNOWN State, where as normal behaviour is to show in SHUTDOWN state. have you seen or know about this kind of behaviour before? The problem with this unkn