A have a float and i would like to be an int because of one method
let be more detailed...
i would like to do this : int i= (int) k ,k= float
How can i do this without using convertion? there is method of that?
Another problem that i have is that my program takes an argument from the command line. i take this argument into the constructor and then i am using in all my methods this line of command:
float k= Float.valueOf(arg).floatValue();//i want float because of the problem.
is it right that?can i do something else? there is a method for this,too?
thanks
i am sorry for my formatting.
i mean that it can catch the error .I have a print command but it is not appear.But the previous print command has an output.is that ok?
try
float arg = Float.parseFloat( args );
if( args.length==0)
System.out.println("Close Window");//has an output
catch(ArrayIndexOutOfBoundsException e)
System.out.println("Caught ArrayIndexOutOfBounds Exception" + e);
//it is not appear,so it did not catch it the error
}
Similar Messages
-
My playlists on my computer have been deleted and I would like to restore them from my I Pod. How can I copy my music from my iPod to my computer?
Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
-
I have IPAD 1 and I would like to sharing the screen to monitor TV (video,photo,app). What are the options?
Unfortunately you do not have any options, the iPad one cannot be used for mirroring.
-
I have two fields and I would like the 2nd field to display the word "Error" if the number is smalle
I have two fields and I would like the 2nd field to display the word "Error" if the number is smaller than the number in field 1.
can any one help?The code for the field? Sure, it's simple.
You can use something like this as its custom calculation code:
var v1 = this.getField("Field 1").valueAsString;
var v2 = this.getField("Field 2").valueAsString;
if (v1 && v2 && Number(v2)<Number(v1)) event.value = "Error";
else event.value = "";
Edit: Fixed code -
I have a PC and I would like to know how does one obtain the icon and the program to keep my apple software up to date? Thank you.
Click here and install the software.
(70878) -
I have 2 iPads, and I would like to use FaceTime between this two iPads what should I do?
Yes use different email each iPad
on "you can be reached for video calls at" in Facetime setting on General Setting
If you have different apple id will be best -
My iPhone 4s and mini iPad have been stolen and i would like to block them
my iPhone 4s and mini iPad have been stolen and i would like to block them
Do you have Find My iPhone turned on in iCloud on them? If so:
Find My iPhone Basics - Apple Support
Click on the "Lock and Track your iPhone remotely" thumbnail, or on the "Erase your phone remotely" thumbnail for instructions. You can also find all of the information about using Find My iPhone by clicking on the thumbnails from left to right.
You should also follow the steps in this article:
What to do if your iOS device is lost or stolen
Best of luck,
GB -
TS1646 I am being charged for something i have not purchased and i would like to stop being charged
I have been charged for things that i have not purchased and i would actually like my money back from them or for you to figure out who is using my card to buy things.
thank youWe are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple.
You've checked your account's purchase history : http://support.apple.com/kb/HT2727 ?
And you haven't got any auto-renewing subscriptions : http://support.apple.com/kb/HT4098 ?
If they show on your accounts purchase history and you didn't make them, and nobody else has access to your account or devices and made them, then you can contact iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
If nothing shows on your account's purchase history then you may want to contact your card issuer. -
I have two homes in two different staes and I spend time between the two. I would like to keep my iPad2 in sync with my desktops (PCs) in each of the homes as I travel between the two. When I try to sync with the second PC ( with my iTunes ID) it threatens to wipe out my iPad2. I just want to keep the two desktops and my iPad in sync. Please help.
Put a copy of the most current iTunes Media library onto a USB hard drive. Replace the older library with the newer one. Repeat the process when you return to the other home.
Or you can sync everything to iCloud where it is accessible anywhere you can connect via your Apple ID.
iCloud Related:
MobileMe: About moving to iCloud
iCloud: Features that work with one account at a time on iOS 5 and OS X
iCloud: How to back up iCloud data
iCloud: Backup and restore overview
iCloud: About storage buffering
Using and troubleshooting Back to My Mac with your iCloud account on OS X Lion
iCloud: Troubleshooting Find My Friends
iCloud: Calendar Events, Reminders, To Dos, and Tasks behavior differs by application
iCloud: Distinguishing between Calendars and Reminders
iCloud: Troubleshooting iCloud Reminders and Tasks
iCloud: Manually importing data from iCal to iCloud Calendar
iCloud: Understanding where iCloud Calendars are displayed in iCal
iCloud: Reminders are called Tasks in Microsoft Outlook on Windows
iCloud: About the iCloud Web App Plugin for Internet Explorer
iCloud: Troubleshooting web browser issues with icloud.com
iCloud: Troubleshooting iCloud Bookmarks
iCloud: How spam is filtered
iCloud: Why was I spammed?
iCloud: Keeping the Junk folder consistent between webmail and OS X Mail
iCloud: How to get long email headers for iCloud accounts
iCloud: About email aliases -
My grandaughter has an IPAD and I have a Toshiba computer with Windows 7. My grandkids have moved away and I want to be able to see them by video but my daughter says that I have to download Apple and get facetime? I'm not real computer savvy but I desperately want to see my grandkids. Could you help me please?
Thanks
RitaGood morning.
FaceTime will not work on a Windows computer. But, I believe that SKYPE has an application that will run on the iPad. So, if you go to SKYPE.com you can see their offerings. You will need to create an account (there may be a fee) and you will need a web camera for your Toshiba ( a Logitech 5500 comes to mind, assuming it does not have one built in already).
Your grandkids will also need to set up a SKYPE account. After that, you should be able to video chat to your heart's content.
Hope this is helpful. -
In Final Cut Express I have two videos I'd like to merge parts of each video into a final film. What is the best way to do this in FCE?
Hi
I use a slightly different way than Alchroma.
Same
• One video on track 1 and the other on Video.track 2
• Resize to 25% and move one to the left and the other to the right
Diff
• I don't use the blade tool
• I use the Pen tool and change the transparency - then I get fast or slow transitions in same stroke and easy to fine-tune later if needed. (But this can be done with the Roll-tool if Blade is used - so it might be as easy)
Final
• Resize to 100% and Center
Video is done
Audio - very close to this by changing the level so that best audio will dominate
• Pen tool here too
But that's me - the Alchroma way is as good as this or may be better for some
Yours Bengt W -
I have two accounts and I would like to merge them info one
Hello!
I have a personal account and one for the company I run. I'm trying to keep them separate but share the portfolio pieces is that possible ?
I tried the team page but it doesn't seem to work properly.
Please advise.I suppose you mean, you want to merge both the Behance accounts for sharing the portfolios.
If so, similar query has been answered here. Two adobe accounts, can I merge them?
~ Arpit -
I have an ipad2 that has ios4.3.5 that I'm trying to update to iOS 6. I'm not able to update because of unidentifiable apps. I'm assuming that these are apps I tried to get but couldn't open because I needed iOS 5 or higher. These apps are still in my app store always needing updates, but I can't open or update because I don't have iOS 5. I can't delete them either because they can't be opened or aren't on my screen to hold/let wiggle/X. I need to remove these apps, but can't figure out how. Please someone tell me how
If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
iOS 4: Updating your device to iOS 5 or Later
http://support.apple.com/kb/HT4972
How to install iOS 6
http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
iOS: How to update your iPhone, iPad, or iPod touch
http://support.apple.com/kb/HT4623
If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily. Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
Tip 2 - If you are updating using wifi, locate your iPad close to your router so you don't get a wifi dropout (can cause update corruption).
Cheers, Tom -
My daughter's ipod touch and my iphone are are the same account. How do I set up adifferent account for her without losing everything she has purchased and downloaded?
To keep from losing purchases you will both need to continue sharing the Apple ID for purchases.
I would reccommend you both create new Apple IDs for iCloud, iMessage and FaceTime and keep the current one to share purchases in the iTunes & App Stores.
Use shared ID here:
Settings > iTunes & App Stores
Use individual IDs here:
Settings > iCloud
Settings > Messages
Settings > FaceTime
Settings > Game Center -
Thank you guys for a solution!
If it's prepaid it will simply run out if you don't refresh it. Otherwise there is nothing to cancel and there's no refunds on this.
Mylenium
Maybe you are looking for
-
LRM-00109: could not open parameter file
Hi, I have done clone using rman backup and change db name using DBNID utility Now i want to rename the pfile or spfile When i am trying to rename it occured below error.Tnsname and listener parameters have been changed. SQL> startup ORA-01078: failu
-
The update ios 6.01 killed my iphone 4s. How do I fix this
I started the update as suggested last night and things were fine and then all of a sudden my the only thing that would come up on my screen is the itunes logo and with the cord. I plugged into my computer and pulled up itunes to get the fix and then
-
Hi, through the search on otn, I found this url: http://otn.oracle.com/products/reports/htdocs/getstart/docs/Javadocs/index.html for the Java API docs for Reports. However, the frames in that page are empty. Has the documentation been relocated? Gree
-
Trouble with Integrating The Lists Service
I have managed to integrate the lists service but, I can't save anything I do and anytime I do anything with the lists service I get this message. An error occurred accessing the WebCenter repository. When I start up the app I get: Error code 942: ta
-
Question to SP_TransactionNotification
Hi I'd like to check a QryGroupN if a new Item has to be added and if it is ticked have it unticked automatically upon adding the Item. Reason: It can be ticked from the item the new item is duplicated from but should never be ticked on a newly creat