Is there a way of calling out all values in a String to name an object?

Is the above possible?
As in the generic statement below,
[class name] [objectname] = new [constructor];
to be able to make the value of a String to be the objectname? such that if this instance
String s = "Peter";
Then the objectname will be Peter, as in
[class name] [Peter] = new [constructor];

you could do something like this:
String str[] = new String[10];
then you could get the value of a string from a user and place it in a String variable.
TextField text1 = new TextField ();
String nameofObject = text1.getText();
now you can do something like:
create a button to submit the new name and then check to see if the button was pressed. If the button was pressed, iterate through the loop and set the str array object equal to the value of nameofObject string. Do it something like:
str[0] = nameofObject;
now you should be able to refer to the newly created object as the string name entered into the TextField you retrieved.
That is just off the top of my head. I am sure what you are trying to do can be done.
Hope that helps,
Kent

Similar Messages

  • Is there a way to LIST OUT all of the active images that are currently being used on a page in Dreamweaver?

    Is there a way to LIST OUT all of the active images that are currently being used on a page in Dreamweaver?  Or do I have to click each one and write down the image name by hand?
    Thanks!
    LJ

    Alternatively use a browser:
    Use the Firefox Web Developer Toolbar
    https://addons.mozilla.org/en-US/firefox/addon/60
    Images > View Image Information
    or the List All Images Add On for Firefox
    https://addons.mozilla.org/en-US/firefox/addon/3688
    or the Web Developer tools in IE8 (or earlier), F12 > Image > View Image Report

  • Is there a way to find out all the apps that I've deleted on my iPhone? If so how?

    Is there a way to find out all the apps that I have deleted on my iPhone ? If so how?
    And all so if I have cleared my history on safari but not in the settings is there a way to retrieve the last sites visited? If so how?
    Thanks.

    What is iOS 5 ?
    http://support.apple.com/kb/dl1521
    And does my iPhone 4 as that?
    Settings>>General>>About>>Version
    (Used my iTouch as example)
    And if it deos how can I see the apps that I've deleted ?
    App Store>>Updates>>Purchased
    Scroll through the list of apps that your purchased, and if you remember the apps that you delete, the search will be a lot easier.
    If you don't have iOS 5, you can update your iPhone and since you have an iPhone 4, you can only go up to iOS 6.1.3
    iOS: How to update your iPhone, iPad, or iPod touch
    Hope all this helps.
    Message was edited by: keeferaf

  • Is there a way to sort by all ticked and THEN by album name?

    If I sort by all ticked, the tracks are listed in alphabetical order by track name. Is there any way of doing this so they are sorted by album name instead?
    Thanks

    No. Make a smart playlist with the rule Media Kind is Music and the option to Match only checked tracks. You can sort this list any which way that works for you.
    tt2

  • Is there a way to find out ALL the files an FCP project uses?

    Okay. Firstly, I'm an idiot. I don't know why, but at the START of the project, I didn't think I'd end up with so many little tiny bits and pieces... so I didn't really plan the organization of this thing. (My next project will be meticulously organized, I can assure you.)
    But, here I am, and here's my problem.
    I've got a pretty big project I've been working on for six months that's probably taking up 250 GB of space on my computer (spread over two 350 GB hard drives). It includes 125 GB of source footage, hundreds of little Motion projects (including various "drafts" of each one), PSD images, LiveType files, an assortment of Soundtrack Pro files, AIFFs, exported clips from all the various cuts of the project, etc etc etc. Stupidly, I always saved things in different folders, using a system and thought process that "seemed like a good idea at the time".
    Problem is, now that I'm (nearly) finished with the thing, I need to archive the "final cut", and all it's many source files (such as Motion projects, which may need to be edited later if this project gets sold into foreign markets, etc).
    Suddenly, I realize how important Organizational Skills really are.
    But is there a way (simple or not-so-simple) to find out EVERY SINGLE FILE that's referenced on a timeline? (I have lots of stuff imported into the project that I know isn't used on any timeline, but I'm afraid of moving or deleting things for fear of never finding it again.)
    I'd love to get some sort of "printout" (a list or something) of every single file.
    The idea is, I would then move ONLY those files to a newly-organized filing system, which could be easily archived/backed-up. It would also be great to keep the RENDER files, too, so that I won't have to re-render everything when I pull it out of cold storage.
    Am I dreaming an impossible dream?
    Any ideas?
    Thanks!
    OZ

    But is there a way (simple or not-so-simple) to find
    out EVERY SINGLE FILE that's referenced on a
    timeline? (I have lots of stuff imported into the
    project that I know isn't used on any timeline, but
    I'm afraid of moving or deleting things for fear of
    never finding it again.)
    I'd love to get some sort of "printout" (a list or
    something) of every single file.
    There is, go to browser and cntrl click on any one of the columns,
    and select - show/source. A new column named "source" will pop up and will show where everything "lives". Click on the header at the top and it will justify the column as well. You'll notice this won't show anything for your seq.'s. of course, but will show stills/audio/motion files...
    Once you have the new column, you can drag it next to the "name" column and get a grab of it and print it if you like, or whatever.
    If you want to do this for just 1 seq., then can create a new bin and double click it to open it. Cntrl-A (select all) in your main seq. and just drag all into the new bin. You will see only what's in that seq. with the "source" column right next to it.
    From what I've read, you seem to get the MM thing and it's obviously what you'll need to do to archive as the guys said. But what your missing is a file path system to where everything resides.
    Hope this helps and that I've read you properly,
    Peace
    P-Book 1.5, 17" 2gsRAM   Mac OS X (10.4.4)   FCStudio

  • Is there any way to find out all songs that I purchased from the iTunes Store?

    I have purchased many songs from iTunes Store, and I was wondering if there was a way to find which songs I would need to authorize, so I don't bother copying them to my work computer.   I can tell if I do this one at a time, but I have over 10,000 songs to go through.do
    Thanks!
    Erik Jurado

    If they're in your iTunes library, try this AppleScript, courtesy of the incredibly-useful Doug's AppleScripts for iTunes:
    http://dougscripts.com/itunes/scripts/ss.php?sp=trackdownpurchases
    Regards.

  • Is there a way to find out whether all of my music files have been imported to iTunes?

    Is there a way to find  out whether all of my music files on the computer have been imported to iTunes?
    I want to consolidate my music files to tidy it all up into one place, and then delete the originals. I don't want to delete any music until I know that it's all been imported.
    Thanks.

    Try iTunes Folder Watch and point it all the places you store media. When you're happy everything has been imported you can consolidate.
    See also this post on Duplicates which includes a link to a backup tip.
    tt2

  • I don't want to do the recovery thing to my iPhone4, but my iPhone is at the stage in the update where it says to plug it into iTunes, is there some way to get out of this or save all of my data somehow?

    i don't want to do the recovery thing to my iPhone4, but my iPhone is at the stage in the update where it says to plug it into iTunes, is there some way to get out of this or save all of my data somehow?

    What do you mean the "update" says plug it into iTunes? If you have the iTunes logo/USB cord on the screen, it's in recovery mode or needs to be activated. Anything that was on the phone is already gone. You have no choice but to plug it into the computer. Hopefully, you backed it up before you started the update.
    If that's not what you mean, then please explain.
    Apple may or may not be able to fix the lock button for you without replacing the phone entirely. You'll have to take it in and ask.

  • I have 2 Apple IDs, 1 associated with all the family devices and the other which has no devices associated with it.  Is there a way to split out the devices between the 2 IDs without losing apps(iPhone) and music (ipod classic)?

    I have 2 Apple IDs.  1 associated with all the family's devices and the other with no devices associated with it.  Is there a way to split out the devices between the 2 IDs without losing Apps (iPhone 4s) or music (iPod classic)?

    i'd be inclined to leave things as they are. Managing app updates over more than one account in the same library or device requires you to sign in and out of each account in turn. You cannot transfer content from one account to another.
    tt2

  • Is there any way to call 'Action' in web.xml ?

    Dear All,
    My requirement is like, in my Deployement descriptior (web.xml) I would like to call "action" instead of calling welcome page(*.jsp).
    Iam using JBOSS with Jetty5.0 Servlet Container.Is there any way to call action in my deployment descriptor?
    Thanx in advance

    You can, but you have change your server configuration file. I am using Sun App server where we have a default-web.xml file in the config directory where it specifies which default file will be loaded, instead of calling the welcome.jsp. In Sun App server there is a parameter called <welcome-file-list> where you can specifiy which one to be loaded. I strongly believe there must be something like that in JBoss. Check out all the xml files in the JBoss config directory where you can find a solution to it.

  • Is there a way of finding out what has been accessed on my MacBook Pro whilst in the possession of an apple authorised service centre?

    Hi Guys,
    I'm a bit new to this discussion group thing although I've been using Macintosh computers for many years (showing my age).
    I handed my MacBook Pro to be repaired at an authorised apple service centre. When I handed it in they said they needed to keep hold of it to run some diagnostics and requested my password. I've owned various models of mac for the the past 17 years and this is the first hardware problem I have encountered, hence I have never bothered to set up user accounts. 
    As I live in quite a remote part of Sweden I am paranoid that some untrusted technician is going to make a copy of my music (11,000 tracks) or share some of my personal information (scanned copies of my birth certificate, passport, certificates, photos, etc.) on the web. Is there a way of finding out what activity has taken place whilst they've had it in their possession?
    I appreciate any advice you guys can offer.
    Thanks!
    PS: I've already thought about the 'recently opened' menu and The machine in question is a MacBook Pro 17" (2011) running OS X 10.6.8 (need Rosetta).

    I am paranoid that some untrusted technician is going to make a copy of my music (11,000 tracks) or share some of my personal information (scanned copies of my birth certificate, passport, certificates, photos, etc.) on the web.
    If you put your info into the computer and hand it to another, you have to assume they will copy everything.
    Why are you putting scanned copies of valuable identity information into a computer than can be hacked, stolen, lost or compromised by a dirty tech?
    Have you lost your mind?
    Is there a way of finding out what activity has taken place whilst they've had it in their possession?
    No. The tech would just deny it if he did, or tell the truth which the answer would be "NO" in either case.
    The employer won't ask that sort of questions without solid proof, less they make a enemy of the employee and/or risk being sued for defamation of character.
    It's not like they bother to have a team of people watching over his shoulder that he doesn't stick a USB thumb drive of your data into his pocket to take home.
    I am paranoid that some untrusted technician is going to make a copy of my music (11,000 tracks)
    If it's iTunes music, it has your personal ID embedded into the song files. Most IT techs know this though.
    I appreciate any advice you guys can offer.
    Too late now, all you can do is not worry about it.
    Take your personal info out of the machine and if you need it, burn cd/dvd copies, a few USB thumb drives, Iron Keys or self encrypting external storage drives with key and/or keypad.

  • HT5787 What do I do if my iPod was stolen and I checked my support profile and when I entered the serial # I got a message saying it has been registered to another Apple ID? Is there a way to find out that Apple ID so that we can locate the iPod?

    What should I do if my iPod has been stolen and when I checked my support profile and entered my serial # and I received a message that the serial # had been registered to another Apple ID account? Is there a way to find out the Apple ID that it was registered to? I have already checked find my iPod and it shows my iPod is offline. I have already filed a police report.

    No, sorry, there is no way you can get that information. The police perhaps could, but it would probably require a court order and it's unlikely the police will go to those lengths unless they have reason to believe that this theft was not an isolated instance and hence worth more of their time than the single theft of an iPod.
    Even if they got the ID, it may well just be yours. Apple's registration database often contains such errors; I get the same message for some of my devices when I know I registered them to my Apple ID and the devices are all still right here.
    Regards.

  • Is there a way to restore the All Contacts app on my iPad 1.  it seems  the data and cannot turn a page or add more contacts

    Is there a way to restore the All Contacts app on my gen 1 ipad?  I seem to have lost the data and can't turn a page or add new contacts.  I did try to reload the contacts (and I guess everything else) from my itunes computer backup but nothing happens to the All Contacts app. everything else seems to work fine on the ipad so I'm not sure what happened to the data or why.  not sure i want to try and reset the whole ipad just for this one little app or feature...thanks in advance to any replies.

    Sorry, had to sep out.  I see the contacts "page" but I can't use the letters on the left margin or a finger touch to change location.  Nor does anything happen when I touch the plus sign to allow me to add a new contact.  So maybe he actual old contact data is still there I just can't get to it.  Rick

  • Is there a way of finding out how many active hours you've worked on a Premiere project?

    If not, it'd be a very cool addition for Adobe to implement... so you know exactly how many hours a project is taking (and how much to charge clients etc.) Obviously we're all prone to leaving Premiere on and wandering away, so I guess it would need to be able to differentiate between active and non-active time...

    Is there a way of finding out how many active hours you've worked on a Premiere project?
    There are two things a client get's billed for, my time, and my computer's time.  If either one of us are working on a project, the client get's billed.  Even if Adobe spent (wasted?) time on adding such a feature, they'd never be able to include any time I've spent working on the project with PP closed, so this feature would have very, very, VERY limited usefulness.
    The method suggested by the images is still the best way.

  • HT2905 My entire song list duplicated for some reason  Do i have to delete individually (take forever), or is there a way to do it all at once?

    My entire song list duplicated for some reason. Do I have to delete songs individually (take forever), or is there a way to do it all at once?

    I had the same problem.  Had at least 3 of each song in my library...  Here's how I fixed it.
    Go on iTunes to your library
    Hit Shift and click on View
    Scroll down to "show exact duplicate items"
    the list will give you all your duplicated songs
    Click at the top of the "date added" Column to sort by date added.
    Even if it all happened the same day it will group your whole library by date and time added. 
    The time is the key...
    You can start at the begining of you list and scroll to the last song that was added that day and time frame.
    Everything after your last song is duplicates.
    Highlight the first song hold down shift and scroll down to the last song... 
    Once they are all highlighted you can hit delete and send them all to the recycle bin.
    It took me a while to figure it out but it works

Maybe you are looking for

  • Bang and Olufsen BeoSound 2 - incompatible?

    Hi there, My Bang and Olufsen BeoSound 2 mp3 player used to get along really well with my old OSX, now I've upgraded to Tiger it won't talk to iTunes any more. The dock is all lit up as it should be, it makes all the right noises, but no joy. iTunes

  • File open

    this is in c++, CFile File; File.Open(FileName, CFile::modeRead|CFile::typeBinary|CFile::shareDenyNone) similarly i want to use in java. I tried using FileInputStream but reading data is different what should i use for typeBinary mode file?

  • I want to share address books between different users on same PC

    Hi We have a PC with two different Users but there is one email address shared between them. We have a copy of Thunderbird installed one each User and one User has multiple accounts for privacy reasons. It would be really helpful to have a shared add

  • Why is my Mac Pro G5 not working

    So I have my mac pro and I was using it, then I Shut it down for a while, next time I try to use it a red light comes on inside and the power light flashes twice about every five seconds. I have tried re-seating the ram and pushing the reset switch a

  • Problems while using Adobe Interactive Forms

    Hi Experts, When I execute my adobe interactive forms application that uses a BAPI to access backend I am facing the following problem: When I enter valid values and click on submit all the browser windows close without any warning or error message.