New and in need of help....

Dear all,
I am new to Java and am currently trying to program my first application. As it is my first 'real' project I have decided to keep it as simple as possible. The purpose of the project is to allow a user to view information about a particular person i.e. name, age, address, d.o.b etc... in different text fields. The information about each person is stored in a text file and read into several arrays for the program to use...
So far the program is displaying all the information in seperate text fields, each with an appropriate label. There is also a choice box which contains the name of the person. When a different name is selected in the choice box the other text fields are updated with the relevant, corresponding information for that person. So far so good..
However, I am now at the stage where I want to be able to edit the various text fields (and choice box..?) to allow information about people to be changed and updated. I would also like to be able to create new people and some way add them to the data storage text file. I would also like to be able to delete people entirely from the data file. This is where I am stuck, creating, updating, and deleting information, via the user interface, to be stsored back in the original data text file..,phew!
Does anyone have any good ideas?...before I go nuts..
FK

The information in the data text file looks like this:
Name (tab) Age (tab) Address (tab) dob (tab) sex
Name (tab) Age (tab) Address (tab) dob (tab) sex
Name (tab) Age (tab) Address (tab) dob (tab) sex
Name (tab) Age (tab) Address (tab) dob (tab) sex
and so on....
where each Name, Age etc.. is an actual name.
The (tab) is just a tab space, which appears blank in the string. It is being used to seperate the string into each part i.e. name, age etc.. Each thing is then got from the data file. I was going to use String Tokenizer but this method is working so I dont really want to change it now.
Hope this helps.
FK

Similar Messages

  • HT4623 Hi there , I have ipone3GS it is locked and I need your help to unlocke it as soon as possible .

    Hi there ,
    I have ipone3GS it is locked and I need your help to unlocke it as soon as possible .
    IMEI :  01 299500 378415 1
    I am waiting for your help for unlocke it to use it soon .
    Thank you for understanding my situation .
    Regards
    Sultan Alsharari

    Could you please give me their email to contact them.
    I am waiting for your replay .
    Thank you
    Sultan Alsharari

  • New and in need of a lot of help

    Hi guys I think i have G3 i don't really know what all that means but i still need your help. I have never even touched an apple computer before so bear with me please. I have a linksys SRX 200 wireless router and I need to know if I can get the apple to work with it. I really don't want to have run wires through the house just to get internet. So any help will be greatly appreciated. Thank you in advance:)

    Use these resources to identify your iMac:
    Apple History.
    Low End Mac.
    Apple iMac identification..
    Compare this information to that which you'll find in Apple Menu > About this Mac > More Info.
    Airport cards are expensive as they are in limited supply and USB dongles are unreliable (and if you are still using OS 9 probably impossible to find a driver).
    I'd look at alternative technology like the Ethernet over Mains (much faster than even Airport Extreme and then you've got Ethernet supplied to every room in the house).
    mrtotes

  • New to flex, need some help

    Hello, I am a new user of Flex 4 and have recently gone thru the training courses available here (Flex in a week).  I have been tasked with moving some of our firm's webpages that use jsp and spring to connect to a mysql database to a flex frontend. 
    I've been looking over the BlazeDS tutorial (http://www.adobe.com/devnet/flex/articles/spring_blazeds_testdrive.html) and it seems rather helpful, but I could use some help in how to make a connection to a mysql database on an external server-- where does the connection info go, user name, password, etc. 
    In a nutshell, the application I am to design would need to be able to go out to a database to first verify user credentials, then to upload csv files and store the data into a database, and finally allow users to retrieve the data in datagirds and display in basic bar charts.  Thanks to the training, I have a good understanding on using the datagrid, but the connecting to an external database is where I'm having trouble. 
    Also, I have seen a flex webpage where data is displayed in a chart and the user can export the chart as a jpg or export the input data to a csv file.  Is anyone familiar with this capability?
    Thanks for your help-- I am excited to learn all there is to know about Flex!

    I would you should read the following link completely.
    http://www.adobe.com/devnet/flex/articles/flex_hibernate.html
    You need to create an Client/Server-application with 3-tiers client, application server (Java/Hibernate/Spring) and database server (MySQL for example).
    Just buy a book over Flex and Java and read it.

  • IPhoto lost after leopard installation- new Mac user needs your help!!

    First, let me state: BRAND NEW MAC USER- BEWARE!
    Just got a new mac for Christmas (refurbished). It came with iPhoto. My first call was to technical support about issues installing Leopard. After we resolved those problems, iPhoto was gone (as well as several other less essential things like checkers, etc). Since I installed Leopard, do I now need to repurchase iLife or iPhoto? iPhoto was the real reason we bought the system- I'm dying to use it but it has vanished. I know so many people have posted questions about similar issues but they all seemed to have existing libraries that aren't working correctly. So forgive me if this is a repeat questions but I'd really appreciate the help. Take pity on a very new and very lost user... Thank you!

    You need to re-install iPhoto from the system restore disks that came with your Mac. Choose to install the bundled applications only.
    Regards
    TD

  • My new K7N2-Delta need some help here!

    Recently i bought a brand new k7n2 delta L and i need some advice on how to overclock with this new mobo, with the km2m it was piece of cake but this is a little bit more complete. I will appreciate the help and tips in this matter more over because my first attempt resulted on a non responsive system :P no post to be more clear.
    Thanks in advance.
    By the way my cpu is an athlon xp 2000+ tbred (i don't know if it is unlocked)

    read all this first
    https://forum-en.msi.com/index.php?threadid=40413&sid=
    https://forum-en.msi.com/index.php?threadid=32088&sid=
    https://forum-en.msi.com/index.php?threadid=38822&sid=

  • IIOP and firewalls - need urgend help!!!

    Hello there,
    we have problems connecting with a Java applet to BC4J deployed as EJBs in an OracleJVM (Oracle9i AS 1.0.2) over IIOP throu a firewall. Is anyone out there who can help us? We need urgent help!!!
    Thanks in advance!
    Stefan

    Are ports 1521 (for JDBC) and 2481 (for IIOP) open on your firewall? That's what my problem turned out to be.

  • Need to do a remote wipe of my iphone - stolen 24 hrs ago and . Need urgent help on this. Thanks - Pinaki

    Need to do a remote wipe of my iphone - stolen 24 hrs ago  Need urgent help on this. Thanks - Pinaki
    < Personal Information Edited By Host >

    Follow the steps in this article:
    iCloud: Erase your device
    Sign in to icloud.com/#find with your Apple ID (the one you use with iCloud), then click Find My iPhone.If you’re using another iCloud app, click the app’s name at the top of the iCloud.com window, then click Find My iPhone.If you don’t see Find My iPhone on iCloud.com, your account just has access to iCloud web-only features. To gain access to other iCloud features, set up iCloud on your iOS device or Mac.
    Click All Devices, then select the device you want to erase.If you have Family Sharing set up, your family members’ devices appear below their names.
    In the device’s Info window, click Erase [device].
    To erase:
    An iOS device: Enter your Apple ID password. If the device you’re erasing has iOS 7 or later, enter a phone number and message. The number and message will be displayed on the screen after the device is erased.

  • Hi  I'm having trouble in question No. secret and secret answer and I need to help

    Hi
    I'm having trouble in question No. secret and secret answer and I need to help

    Hello alamri 2014,
    Thanks for the question. It sounds like you wish to reset your security questions. The following resources may assist you in doing so:
    Apple ID: All about Apple ID security questions
    http://support.apple.com/kb/HT5665
    What should I do if I don't remember the answers to my Apple ID security questions?
    Try answering them at least once to see if you can get them right, even if you are not sure you remember the answers to your security questions.
    If you are confident you can't remember them, try one of the following:
    If you have three security questions and a rescue email address
         - sign in to My Apple ID and select the Password and Security tab to send an email to your rescue email address to reset your security questions and answers.
    If you have one security question and you know your Apple ID password
         - sign in to My Apple ID and select the Password and Security tab to reset your security question.
    If you have one security question, but don't remember your Apple ID password
         - contact Apple Support for assistance. Learn more about creating a temporary support PIN to help Apple confirm your identity when you contact Apple Support.
    If you do not see the option for resetting your questions with a rescue email address, see this excerpt:
    Note: The option to send an email to reset your security questions and answers will not be available if a rescue email address is not provided. You will need to contact iTunes Store support in order to do so.
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Additional Information:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Thanks,
    Matt M.

  • I'm not that good with computers and I need some help....

    I downloaded Adobe Reader 9.3.3 for windows 7 so I could print out sheet music (pdf file). When I try to open it using Adobe Reader, this pops up:
    "This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association for this program in the Default Programs control panel"
    and I need to know what to do, to fix it. It might be a small problem, but I have no idea what to do. so could someone tell me in detail, how I'm supposed to fix this?                                                                     thanks,

    Felix2000 wrote:
     Actually, when I open Adobe Reader (just by itself) the same message appears, and if I close the pop-up, adobe reader closes.
    That is very unusual - it appears that the Reader is not installed correctly.  Can you open Control Panel, then Add/Remove Programs, and uninstall Adobe Reader.  Then reinstall it from http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.3.3/enu/AdbeRdr933_en_US.exe

  • Hello, im new to mac and I need some help with a java problem.

    Hello, im new to mac. I just need someone who can help with a problem ive come across when playing online games that run java. The game is arcanists. its on the funorb website. really fun game and i love it, but i cant play it without my screen keep scrolling or my character not responding at all. please get back at me ASAP. thx apple friends!

    FF has an extention that can be used to increase the conection speed. Its called Tweak Network 1.1 I see a difference on my iMac G5. Its not huge but it may be a big difference on yours.
    http://www.bitstorm.org/extensions/tweak/

  • Just got a new printer and i,m new to all this and i need some help please

    Hello everyone since i,m new here and i,m trying to fined out how to fined how to get the printer claim code for my new printer as this is my first time useing 1 please could someone help me fined it as its doing my head in.
    My printer is a HP Deskjet 1510 All-in-one series . Thank you

    Hi,
    Is this the one ?
        http://h10025.www1.hp.com/ewfrf/wc/document?cc=au&​lc=en&docname=c03775352#N132
    No, it doesn't have claim code. Only printers with ePrint enable/ready have claim codes.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • I'm a very new user and I need some help!

    I have recently started a new job and our website is managed through Dreamweaver, which I know nothing about. I was getting along until I was given a new computer. We installed a new version of Dreamweaver and when I launched it for the first time I was expecting to be able to see the local and remote sites, the way I could on the old computer. However, the remote site was not available. Please forgive my ignorance, and I did hunt for this info in the tutorials etc, but if I am communicating with the remote site, shouldn't all those files be listed without me having to put them there?

    I did try. Alot of what I found dealt with creating pages and templates, which I will need soon, but not yet. I found the link below. It looked promising, but didn't end up relating to any option I could see for myself to try. I have tested my connection already so I believe I entered all the ftp information correctly.
    Open and edit existing documentsYou can open an existing web page or text-based document, whether or not it was created in Dreamweaver, and edit it in either Design view or Code view.'

  • New Mac User and I need some help please!

    Hello, I just bought a MacBook, and it was an open box item that didn't come with any manuals or restore discs. I'd like to get a copy of restore discs to re-format everything since the computer was a display. Does anybody know how to go about getting them? I know the discs are very specific to what model MacBook you have. Thanks in advance for your help...

    The manuals you can get online but the restore disks you will need to call the store. If that fails call apple support and tell them what has happened and they will advise you on what to do. If this fails you could by a copy of lepard and you can reformat the HD and reinstall lepard.

  • I am a new egyption oracle user and i need some help....plz

    plz when i mack 2 windows in the developer i can exit the form but can't exit any window ..
    for example :- i macked 2 blocks and but each block in difrent window the 1st window called (zz) and the 2nd called (ww) now i can exit the form at all but can't exit (zz) or (ww) alone ..........
    plz help me thanks
    a.sherif

    You sound like you are using Oracle developer tools - the forums you need are on technet.oracle.com
    I am sure that if you post the query there you will get a response on a developers forum

Maybe you are looking for

  • The Next Version of Premiere Pro CC - Warp Stabilizer

    With the recent post of what's coming in the next version of PPro CC, I was sad to see no mention of Warp Stabilizer. As amazing of an effect as it is, it needs a bit of help. I know there are improvements and fixes that probably weren't mentioned in

  • Webdynpro doc

    Hi Everybody , I am working in SAP NetWeaver CE 7.1 ,I am new 2 webdynpro have some problem in navigating between the views kindly provide me some doc. which provides me a sample application. Can someone guide me

  • I can't see the files on my USB disk

    I know there are about 250 million threads about airport USB disk problems, but I can't see one with my specific drama. I can connect, see the drive (its a LaCie 250GB) and move stuff to it via the airport. The problem is that I cant see the files on

  • [Java XML]

    I'M TRYING TO REALIZE A DOM PARSER WITH "XERCES V 2.8.1"(I HAVE UNZIPPED THE FOLDER "ORG" OF THE XERCES IN THE SAME DIR OF THE PROGRAM) BUT WHEN I RUN THE PROGRAM I HAVE MANY ERRORS..WHY?THANKS Exception in thread "main" org.apache.xerces.parsers.Obj

  • 5.1 surround in vi

    I have a SB Li've 5. card but cannot get surround sound in version 5536 of Vista, any ideas.