Need some beginner help on formatting and images

Just getting started with ID so am going through the learning process and could use a little help getting past some of the road bumps.
Are ID character and paragraph styles similar in use and effect as those in Word? In other words, are there important differences in when to use text styles and paragraph styles? Do they cascade? Did I make a mistake by setting up two styles, one character and one paragraph, and applying them to a paragraph? Is there a good practice anywhere where you don't use a paragraph style to set character styling but instead use a character style and a paragraph style together?
Get the idea? I'm looking for sort of an ID styling 101.
Thanks in advance
Tom

No Style is not a style. It is a lack of style. It exists in the list of
styles because there has to be something there to choose from when you
choose to base a style on nothing, or when you want to *not* apply a
paragraph style to a paragraph. When you don't want any style, you want
no style (hence the name). The only time I deliberately apply No Style
to a paragraph is when I want to "lock down" the formatting so that it
won't change if I change a style (because No Style has no definition to
change).
Basic Paragraph is a special style that can't be deleted from the list
of styles. For my books, I like to make a text style, give it a name
like "text", and then base everything on that. As far as I can tell, the
danger in basing everything on Basic Paragraph is simply that you may
have it defined differently in another document and if you copy material
from one document to another, everything will change (because everything
is based on Basic Paragraph and Basic Paragraph is defined differently).
Again, as far as I can tell, this is no different than having two
documents, both basing everything on a style called "text" and defining
"text" differently in those two documents. Either way, if you copy
styled text from one document to another, you may see changes if the
style exists in both documents and is defined differently.
Your particular workflow depends mostly on the people you're working
with. It's certainly possible to set up a Word template containing all
the styles your writers will need and then tell them to use them. Then
you won't have to do anything except Place the Word file. My experience,
though, is that 99% of Word users don't even know styles exist, so this
may require some education...
In my workflow, I almost always get Word files after they've been
written (and usually formatted to death). I Place Word files, keeping
formatting, and then search and replace the formatting that I want to
keep for styles and then select all and Clear Overrides. This way I get
to keep the author's hard work but dump all the garbage the author
introduced.
Kenneth Benson
Pegasus Type, Inc.
www.pegtype.com

Similar Messages

  • I need some advanced help regarding AE and PPRO workflow

    Hi all.
    I have a problem and require a solution. I am creating a video that has cellphone/IM chat graphics, animated in After Effects. The problem is the layering.
    In PPRO, the layers are as follows on the timeline.
    Top layer: Chat Graphics
    Middle Layer: Adjustment layer with colour grade effects
    Bottom Layer: Footage
    Now the issue I am having is that I need the chat graphics to cast a Gaussian Blur underneath them (the graphics are at 80% opacity) - and I have successfully done this using the AE Adjustment Layer switch, however since the graphics are in AE, and the footage is in Premiere, they blur does not appear. In other words, the graphics in AE are set to blur the layer below itself IN AE, but the footage layer below is IN PPRO.
    So... one might think that the obvious solution is to layer it all in AE, using the Replace with AE Composition option in PPRO. However, this means that the adjustment layer for the grade will affect the chat graphics which need to be consistent.
    Help...

    Just to report back - The Track Matte Key effect worked like a charm.
    Just had to create two extra layers in PPro.
    One duplicate layer of blurred footage. One duplicate layer of graphics to become the matte, on top of the footage layer.
    The effect of Gaussian Blur and Track Matte Key was applied on the footage layer.
    Thanks again Richard

  • Need some urgent help // Streaming windows and Mac Pro

    HI ,
    I have a nice "issue" here.
    At present I am in a project.
    We save the video images and sound by capture in FCP PRO with Mac Intel. Ans next to that using a Windows PC to stream live to internet.
    We send the video by using a converter from analog to digital using S-video in and out Firewire. (from the converter).
    After the converter we send the the firewire signal to a belkin hub to distribute to Mac and PC.
    Evenrything goes fine. But the MAc responds to the PC and the Mac to the PC . When the PC blocks (the image for streaming) the Mac stops capturing. When I (the Mac) cancel capturing the PC stops streaming
    PLease assist if you can .. how to handle. we guess that the hub creates the issues ...
    Should we use a more link switch ? like a network switch ?

    Our video runs through a video switcher which then outputs the signal to a PC (live streaming) and into a DRS-11 DV deck for recording as well as converting to FW which goes into the Mac for a live capture (redundancy) as well.
    <
    Yar, you want deal with the VIDEO, not the data stream, which is what you get on FW.
    Use a video/audio distribution amplifier to send duplicate versions of your program video and audio content to two or more different encoding/processing systems.
    Your boss/clients are not going to understand the technical requirements if they're Web geeks. Try this: If you want two copies of the same book, you don't use a copier. You buy two copies from the printer. You can't use a copier to distribute copies of a book in real time; each page has to be scanned and copied, one at a time, and they have to be collated separately. Anything that interrupts the process, like pulling out the stacks to staple them into, say, chapters (or insert your own metaphor here), causes the copier to stop since it can no longer knows the collation is correct.
    bogiesan

  • Need some basic help with Acrobat and LiveCycle

    This is my first time using Acrobat and LiveCycle to design a form. Basically all I need is a title that is uneditable and underneath that I want to insert a text box so people can type in the box then print off the whole page with their comments. I can do all of that except the problem is when I insert the text box, the cursor is left justified but appears in the middle of the textbox. So when people start typing, there is a huge gap between the title and what they've typed. I want their typing to appear directly under the title. What am I doing wrong? See attached for a visual explanation. Thanks.

    You can have the text in the field top jusitied. This is controlled on the Font palette. Turn on the Font palette under the window menu. It usually will appear in the bottom right corner of the screen. Now highlight the field you want to adjust. Make usre the paragraph tab is slected. Click on the small dropdown arrow indictaed in yellow in the screen shot and select "Edit Value". Now click the top justification as indicated by the arroe in the csreen shot.
    Paul

  • I need some serios help on matching and merging!

    I'm sorry for the inconvience of my caps lock being on. here is the same message in normal caps:
    I have to write a program to implement the match and merge algorithm. My program is to read in two file of strings, called list1 and list2, and create files called match and merge. The match file should contain the intersection of the two lists and the merge file should contain their union.
    I have to use the following to test my program:
    list1: Andy, Bob, Carl, Dan, Ed
    list2: Archie, Bob, Bill, Carl, Charles

    Yes! could somebody please supply me with the code
    for this programming assinment. I would greatly
    appreciate it.Nope......not a chance.
    You've oviously mistaken this forum for the magic Homework-Doing-Machine.
    Do your own homework and don't dare ask that again.

  • Need some quick help - fairly urgent!

    I've just taken over a new job and have been the task of finishing the new brochure for Christmas, there's not a lot to do but a lot of the measurements need changing
    This is the layout I'm dealing with..
    All the boxes have been made in Illustrator
    The text has been done in In'Design and it seems every piece of text is it's own box if that makes sense
    My question is, if I select the whole specification box - copy, paste it into Adobe Illustrator and change the text there, then paste the edited box back into In-Design, will I lose quality when it gets printed?
    I'm worried if I do it this way it may come out blurred? Or am I just worrying about nothing?

    I couldn't find an Illy file in the end and have ended up creating tables in ID to replicate what was already there!
    Didn't take very long and I guess if I didn't do it now, I'd come across the same situation next time!
    Date: Wed, 30 Nov 2011 08:48:07 -0700
    From: [email protected]
    To: [email protected]
    Subject: Need some quick help - fairly urgent!
        Re: Need some quick help - fairly urgent!
        created by Peter Spier in InDesign - View the full discussion
    There certainly are viable "quick fix" solutions proposed here, and if the dealine is looming and this file never needs to be touched again I might be tempted, but they are only postponing the pain for a file that needs periodic updates, and I wouldn't waste effort on them, myself, when that time can be put toward a proper rebuild now if that's the ultimate goal.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4054725#4054725
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4054725#4054725. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in InDesign by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Some advice on audio formats and converting tracks

    _*Some thoughts about audio formats and conversions. These are all supported by iTunes unless stated otherwise.*_
    General principles : there is no point in converting an already compressed track into a higher bit rate - it may seem as if this would give an improved quality, but once information has been lost through compression, there is no recovering it. The sound MAY be improved subjectively through the use of an appropriate EQ setting.
    This is not a definitive list : other formats, for example the one used by Real Player, and the ATRAC minidisc codec used by Sony, are not listed : many of the following can be used in iTunes, or are reasonably well-known.
    To use one of the available formats, they should be set in the Importing tag in *iTunes Preferences* (Advanced prior to iTunes 8, now in General). Once set, the format is used for importing CDs, but can also be used to convert tracks already in iTunes (using the Advanced menu : +Convert Selection to xxx+ ). It is not used when dropping files onto iTunes, or using Add To Library.
    1. _Lossless formats_
    Certain high-quality audio formats are "Lossless". This means that if the track is re-converted into the same format (after editing, for example), it will not degrade no matter how many times that is done.
    .AIFF - a format (common in Macs) representing full CD quality. Bit-rates are over 1400 kbps; +1 minute of music is approx 10MB.+
    .WAV - more or less the same as .AIFF but a Windows format.
    *Apple Lossless* - a 'once-only compression', applied to .AIFF or .WAV tracks to retain quality but reduce file sizes. A little (totally inaudible) information is lost, but also a more efficient 'codec' (compression algorithm) is involved. +1 minute = approx 5MB.+
    .FLAC - similar to Apple Lossless, but less proprietary (a more open standard). Not supported by iTunes.
    2. _'Lossy' formats_
    These formats are so-called because each time the conversion is done, the track is re-compressed, and more information is lost even if the file size remains the same. Various quality settings can be chosen, from around 320 kbps (high) down to below 128 kbps, though 128 is reckoned to be the lowest acceptable bit rate to listen to music in stereo.
    In general, the higher the input quality, the higher the output quality when 'stepping down'. Therefore an .AIFF track converted directly to 128kbps 'lossy' will sound better than a 256kbps track re-compressed to the same 128kbps.
    .MP3 - a standard audio compression format that has been around for many years. Common everywhere, and supported by virtually all contemporary music players. The codec has been improved so that modern MP3s sound markedly better than earlier versions. +1 minute @ 128 kbps = approx 1MB.+
    .AAC - a superior codec to MP3 (though the quality gap has narrowed), which has been chosen by Apple as the iTunes format of choice. Nowadays, a track at 128 kbps .AAC will sound around the same quality as the same track at 160 kbps MP3. +1 minute @ 128 kbps = approx 1MB.+
    .WMA - Windows' own proprietary lossy codec. It seems to have a bright and sparkly sound compared to MP3, but lacks a decent 'bottom end', i.e. the bass tones are somewhat lacking. Not supported by iTunes. (Can be played using VLC).
    .OGG - the open standard Ogg Vorbis format, often held to be superior to MP3 but little-used and therefore not supported in many platforms and players, including iTunes.
    When considering which format to use, the most important things to remember are
    1. how will these tracks be played back? (on a hi-fi? an iPod? expensive earphones?)
    2. the quality will depend finally on the judgement of the listener (some ears are better at telling small differences in quality than others)
    3. how much space is available to store (and expand) the music library?
    As for quality, a good way to decide is to "audition" different formats. Using one CD track known to you, try importing it at several different formats and bit rates (using iTunes Preferences). Then just play them, see which sounds best to you. In this way I came to decide for myself that AAC @ 256kbps was the best for me +(1 minute = approx 2MB).+

    The Windows version of iTunes supports importing of WMA files, converting them to one of the other formats. Mac iTunes offers now support of WMA files at all.
    Good point - and if I knew more about iTunes on Windows I would amend that and post a different version of the article in their forum.
    I accept the point about .WAV files being used also for compressed formats but didn't want to make it too complicated; the most common use for .WAV I believe, is full quality audio.
    On the subject of Lossless compressed audio (FLAC and AL), Wikipedia has this :
    _*Difficulties in lossless compression of audio data*_
    +It is difficult to maintain all the data in an audio stream and achieve substantial compression.+ +First, the vast majority of sound recordings are highly complex, recorded from the real world. As one of the key methods of compression is to find patterns and repetition, more chaotic data such as audio doesn't compress well. In a similar manner, photographs compress less efficiently with lossless methods than simpler computer-generated images do. But interestingly, even computer generated sounds can contain very complicated waveforms that present a challenge to many compression algorithms. This is due to the nature of audio waveforms, which are generally difficult to simplify without a (necessarily lossy) conversion to frequency information, as performed by the human ear.+
    +The second reason is that values of audio samples change very quickly, so generic data compression algorithms don't work well for audio, and strings of consecutive bytes don't generally appear very often. However, convolution with the filter [-1 1] (that is, taking the first difference) tends to slightly whiten (decorrelate, make flat) the spectrum, thereby allowing traditional lossless compression at the encoder to do its job; integration at the decoder restores the original signal.+
    +Codecs such as FLAC, Shorten and TTA use linear prediction to estimate the spectrum of the signal. At the encoder, the estimator's inverse is used to whiten the signal by removing spectral peaks while the estimator is used to reconstruct the original signal at the decoder.+
    This seems to imply that even Lossless codecs make changes, but it IS a very complex subject. If I could still edit the main article I would remove that bit about AL losing information.

  • Why has paste stopped including formatting and images?

    I am pasting text and images from a PDF or Web pages and when I paste into Word or Evernote, etc my Macbook no longer does the default paste with formatting and loses the images too. I've tried cmd-v, edit>paste, all forms of paste but nothing gives me the old default of paste with formatting and images. I'm getting text with some formatting like bold etc, but all the layout it lost, line breaks, etc. it'a juat one block of tect. This used to work properly before upgrading to Mountain Lion. Is there a fix? I just want to paste WITH FORMATTING AND IMAGES.

    From which Web Browser?
    Appears to work correctly from Safari:
    Copy and pasted into Word:
    MtD
    Message was edited by: Meg The Dog to fix typo

  • I am making a multiple page document and need some pages to be landscape and others to be portrait.  How can I do this?

    I am making a multiple page document and need some pages to be landscape and others to be portrait.  How can I do this?

    In pages you can only have one orientation of the Page. You have to rotate the content on the pages that you want horizontal. Save the document in Pages format so you'll have a original version to work on. Then Export to or Print to PDF and open the document in Preview. Here you can rotate the pages to horizontal viewing.

  • I need some help adding music to my slideshow in iPhoto.  When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

    When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

    When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

  • Replaced zd8000 motherboard and need some troubleshooting help please............

    Hello All,
     I just replaced the motherboard on our HP zd8000 (pentium 4, 3.0ghz, 2gb ram, Win XP) with a used but tested good MB and need some help with the following.
    1) I now cannot play DVD movies as the error no "dvd decoder" present which was not an issue before?  Where can I go to get a free decoder that will work, as Windows only shows paid versions?  We have the dvd burner/reader with lightscribe. SOLVED! CNET HAD DECODER.
    2) The internal temperature, according to SpeedFan, is running around 140 degrees with just some Internet browsing.  Is that a normal temperature because I only have one of three fans running on the laptop?  Is there anyway of making all three fans run to be sure there are no issues?  I am positive I hooked up everything but again only one fan seems to be running?
    3) I discovered some of the pins were damaged in the card reader.  I may get the Seller to give me a discount, no intention of tearing it apart simply for that, but is there any concern of short or otherwise?
    4) Our battery stopped charging years ago, these were notorious for such, but I purchased a new one last year and hoped the replacement MB would allow charging again.  No such luck though.  Is there anything I can do, BIOS update etc, to make the battery charge?
    5) Anything you folks can think of for me to test to insure the new motherboard is working properly?
    Thanks, Ralph 
    P.S. This was a correct replacement board according to MB serial numbers.  Everything else seems to be functioning properly other than mentioned.  Our graphics went out on the original MB.
    This question was solved.
    View Solution.

    Some of the wires had pushed out of the harness that connected the other two fans.  I double checked and re-attached those so now the laptop is running quite a bit cooler.
    EVERYTHING IS GOOD TO GO!

  • My ipod is majorly screwed up and i need some serious help

    k well lets see
    error states 'can't mount ipod'
    so i tried checking all the wires, restoring the ipod (which didnt work because it couldnt find it) and i scanned all my files for viruses.
    my ipod also makes funny clicking noises when i dont even touch it...
    im just a kid guys.. i need some serious ipod whizz to help me out.. im desperate! ive tried everything

    Hi,
    Firstly please try to deal with "can't mount iPod" issue
    http://docs.info.apple.com/article.html?artnum=93499

  • Need help with Elements and image size on my web site.

    I have edited my photos in elements and loaded them on my website but when I click on them on the site to enlarge, some get really really big and others are fine. I don't know what Im doing wrong.
    Any suggestions

    Go to File>save for web. This brings up a dialog. Enter 800px or so for the longest side, check "constrain proportions" , and for your purpose you will no doubt want to save as JPEG - look under presets. I usually select high quality.

  • Need some URGENT help with 3 DVD mastering issues PLEASE! :

    Hi there,
    Firstly, I am running DVD SP 3.0.2 on Mac OS 10.4.7 on a G5 Dual 2 GHz 3Gb Ram plenty of HD space...
    I am creating a DVD with: An intro sequence, a main menu, 4 sub menus, and 4 sections with around 12 chapters each.
    I am having some big problems, and a pretty stuck. I will lest them separately below, numbered. If you are able to help, please refer clearly to which number you are helping with. Any help is MUCH appreciated! Many thanks!!
    1. Each of the 5 menus (1 main, 4 sub) have a background video, and a separate audio track. I added the background videos by simply dragging them to the assests panel, then from there onto the menu editor window. They are created in FCP and are properly encoded. However, when I click the motion button, or use the simulator, the videos do not show up. The music plays, but all i see is plain black.
    What is going on?!?!?!
    2. I am really struggling with rollover buttons. I have custom created buttons, and I wand them to have a soft red glow around them when hovered over. HOW ON EARTH DO I ACTUALLY DO THIS??
    The buttons are in photoshop so can be exported with/without background/glow in any format.
    3. Is it possible, once I have got the above rollover working, to have an image to the right hand side of my buttons which changes with the the button rollover. i.e. hover over button 1, see image 1. hover over button 2, image changes to image 2.
    PLEASE PLEASE give any help you can, I have a deadline coming up and am quite stumped. Thanks again!!

    I am still having problems regarding issue Number 1. PLEASE ANYONE HELP?!
    Sorry, I'm not sure about the motion menus. I avoid those whenever possible. But you might click on the menu in the storyline tab (whatever it's called -- the hierarchical view with the disc, tracks, slideshows, etc.) and look at the properties and see if there's anything you have to enable specifically for motion. And be sure the motion button is on on the main display/preview area, but it sounds like you already know how that works.
    For your information, here is a screen grab of the menu I am trying to create:
    http://www.redhavoc.co.uk/stuff/menu.jpg
    I think it is obvious that when a button is hovered over, I want it to glow red, and the image to the right will change to match the respective button.
    IS THIS GOING TO BE POSSIBLE????
    Yes.
    First, your menus have to be layered menus. Unfortunately, there's no way to convert non-layered menus to layered menus, so if you already have non-layered, you'll have to just delete them and create new layered menus. The button (and menu item) to create a layered menu should be right by the normal new-menu item.
    Next, the graphical work is all in Photoshop.
    Side tip: You may already know this, but I found it's best to use 640x480 for the Photoshop document. When I do text and leave it as a text object in the Photoshop file, it resizes poorly in DVDSP. So this ends up being another 720x480 vs. 640x480 square/rectangular pixel conversion thing. DVDSP plays in the 640x480 world, at least as far as the designer can see. So I keep my images at 640x480, and it doesn't have to resize, and everything looks right.
    Moving on... Set up your basic background, the part that won't change (or will have other things covering it, like for your square image).
    Then put in all the buttons and images you'll be using, each part in a separate layer. This could have fifteen buttons (you have five buttons, and there can be three versions for each -- inactive, selected, and activated versions) and five or six square images (you said one for each button, and you might want a blank default if, say, you want to add a "back" button on the menu and want some blank or default image for the square when they're on the "back" button).
    Sometimes people don't bother with a separate "active" button state, but you usually want some visual feedback that they clicked the button. Also, I usually just build the default (unselected) button into the background; that's less hassle later on, and it will just draw the selected or activated buttons over that when the user is on that button.
    Line up all your buttons and images. All the square images lined up perfectly on top of each other, all the buttons in the right places (so you'll have three buttons stacked on top of each other in each spot). Give each layer a short but quickly recognizable name, and line them up in a consistent order. (button1-default, button1-selected, button1-active, button1-squarepicture, then button2-default, ... etc.) Photoshop and DVDSP don't care, but it makes it easier for you later.
    Note that earlier versions of DVDSP won't show Photoshop layer effects. (They handle layers, just not the effects, like inner glow, outer bezel, etc.) I don't remember when they changed this, but I think it was version 4.something. So if you're using that method to make your buttons glow, you may have to flatten each selected or active button layer, and you may even need to create a dummy blank layer underneath it first to give it something to flatten onto.
    Save the file as a standard Photoshop file (.psd). Drag the file onto your DVDSP layered menu and set it as the background.
    Now, in DVDSP, create all your buttons. Just drag boxes over/around the button pictures you have. Feel free to make them extra-big; users won't see the actual area you've selected, and bigger areas makes it easier for people to hit them if they're using a mouse on a computer to watch the DVD. You can point the buttons to their targets now if you want, and set the end jumps on the tracks if you want. (I tend to set the end jumps on the tracks so they automatically select the button for the next track.)
    Now's the fun part, since it will actually hook everything up and should be easy if your naming layer order were consistent. Click on the layered menu (in that hierarchical view) and look at the properties window. (Sorry I can't remember the technical names for all these windows; I'm doing this all from memory. So feel free to ask more questions if you can't find what I'm talking about.) One of the properties tabs should have a grid of checkboxes with a list of your layers. Make sure the background is checked for all of the states. Then check the layers you want to show for each button state, as well as the corresponding square image to show for each.
    Again, I'm doing this from memory, and I can't remember exactly how things are listed in that grid. But I remember it keeps your layers in the same order you put them in the Photoshop file and shows you those names, so it should make it easy to go down the list and check the right boxes.
    And another side tip: You can update the Photoshop file, but once you've put it in DVDSP, if you change the layer order, it will screw up the check boxes you checked. It always shows you the layer names correctly, but it keeps the checkboxes in DVDSP simply assigned to the layer number, so the fifth layer will keep the same checkboxes even if you juggle them so some other layer is now the fifth layer. So if you do juggle the layers in Photoshop, go back and fix the checkbox list in DVDSP.
    I put a sample Photoshop file based on yours in
    http://dan.black.org/layered-menu-sample.psd
    It's quick and dirty, but shows the layer layout, and you should be able to drop it on DVDSP to play with. (I also won't leave it there forever, maybe a few weeks, so anybody reading this in a month or more probably will get a 404 for that url.)
    Again, doing this from memory, so feel free to ask if anything doesn't work or doesn't make sense.
    G4/dual867   Mac OS X (10.4.5)   2GB/0.8TB

  • Remember me.....well i need some real help now....:)

    Hello guys,i hope that u remember me...if not i hope that u ll help me anyway....
    well,i had an assignment for my university...i posted it and u told to start reading several books and try to write some code....
    i came up with the following code:
    import java.util.Random;
    import java.util.*;
    import java.text.DateFormat;
    class Account {
         double initbal;
         double deposit;
         double withdraw;
    //Account constructor
    Account() {
         initbal=0;
         deposit=0;
         withdraw=0;
    //method for calculating the balance
    double balance() {
         return (initbal+deposit)-withdraw;
    class BankAccount {     
         double initbal;
         private double deposit;
         private double withdraw;
         public static void main(String args[]) {
         Account Dimitris=new Account();               //call the constructor
         CurrentAccount Over=new CurrentAccount();
    try {     //exception added for fault parameters
         Dimitris.initbal=Double.parseDouble(args[0]);     //string parsing into a double
         Dimitris.deposit=Double.parseDouble(args[1]);     //string parsing into a double
         Dimitris.withdraw=Double.parseDouble(args[2]);     //string parsing into a double
         } catch (ArrayIndexOutOfBoundsException e) {
              System.out.println("You must enter three values!!");
         } catch (NumberFormatException e) {
              System.out.println("Only numbers are allowed!!");
         double AvlOvr;
         double bal;
         bal=Dimitris.balance();          //method called
         System.out.println("Initial balance is: "+Dimitris.initbal);
         System.out.println("Deposit Amount is: "+Dimitris.deposit);
         System.out.println("Withdraw amount is: "+Dimitris.withdraw);
         System.out.println("Overdraft limit is: "+Over.AvlOvr);
    if (withdraw>(initbal+deposit)) {
         System.out.println("Insufficient Funds");
    else
         System.out.println("Balance is: "+bal);
         System.out.println("Available Funds is: "+(bal+Over.AvlOvr));
         //display the date and time for the current locale     
         Date date=new Date();
         DateFormat dateFormatter=DateFormat.getDateTimeInstance(DateFormat.SHORT,DateFormat.SHORT);
         System.out.println(dateFormatter.format(date));
    class CurrentAccount extends BankAccount {
    private float accId;
    double AvlOvr;
    CurrentAccount() {
    double ovdr;
    ovdr=100;
    AvlOvr=ovdr;
    interface Personal {
    void Deposit ();
    void Withdraw ();
    the thing is that i need some help cause i cant find some sollutions....
    i d like to give to the user a random id....
    then at the CurrentAccount subclass i d like to add a Username to the user.Then Level 2 worries me as well.....I ll post u my assignment so u can have a look....If u could help me with Level 2 sollution and the thing that i told u before i d be grateful.......
    by the way..i hope that u all guys have nice holidays!!!
    Here is the assignment:
    JAVA LAB ASSIGNMENT � B241
    Bank Account
    Level 1
    Create a bank account that reads in the following information about a single customer
    account:
    Initial balance
    Deposit amount
    Withdraw amount
    Current Date
    Give the account holder a random account id number.
    Display error messages if the number of parameters is incorrect or negative parameters are
    entered.
    Verify that the amount being withdrawn is available (i.e. make sure that the initial balance +
    deposit amount is greater than or equal to the amount being withdrawn).
    Calculate the balance amount in the account after the transaction has been completed.
    Tasks:
    - Create a BankAccount class, which defines a bank account
    - Use command line arguments to read in the account information
    - The customer account values are private and accessible only through the
    BankAccount class
    - Use the file, InsufficientFundsException.java given to you (Location:
    /global_ro/rekha/B241/assignment) to create an Exception class called
    InsufficientFundsException.class that throws an exception if an
    InsufficientFundsException occurs in your BankAccount class. Make the necessary
    changes to the file if you feel the need to do so.
    - Print out the following information:
    2
    account holder�s id
    balance amount
    amount being withdrawn
    the current date and time
    (Hint: this will occur when the amount withdrawn is more than the total amount in the
    account. Your withdraw method throws the InsufficientFundsException exception which
    should be caught in your main program from where you are calling the withdraw method).
    Subclass the BankAccount class for the specifics of a CurrentAccount class that adds an
    additional field to the already existing information:
    User name
    The account balance and account id values should still be private and now accessible only
    through the CurrentAccount subclass.
    Allow the CurrentAccount class to provide overdraft protection of up to �100.
    Task:
    - Incorporate the additional functionalities into your initial program and print out the
    values as before.
    ********************************END OF LEVEL 1 **************************
    Level 2
    Add the following functionalities to your Level 1 program.
    Define an interface named Personal, consisting of two methods:
    Deposit
    Withdraw
    Read in the account information specified in Level 1 for more than one user through the
    command line parameters and display appropriate error messages as before.
    Calculate the balance amount in each account after the transaction has been completed.
    Tasks:
    - Increment the account id each time a customer is added (For instance, if the first
    customer id is 100, the next id should be 101 and so on).
    - Implement the Personal interface in the BankAccount class.
    - Print out the customer information for all customers as you did in Level 1.
    *****************************END OF LEVEL 2*****************************
    Level 3
    Extend the above features to add some more personal information about the customer such
    as:
    a. Name: surname first name
    b. Date of birth: day/month/year
    c. Address: street
    Town
    Postcode
    d. Phone: home number work number
    e. E-mail: e-mail address
    Customer�s data is stored in a file. It is retrieved from the file when the bank is opened and
    stored in a memory buffer. The memory buffer is updated after every transaction. The
    contents of the memory buffer are written into the file when the bank is closed.
    Design a data management structure of the bank with several customers. The bank performs
    �deposit� and �withdraw� transactions by using Java I/O streams.
    Use the SimpleClient.java and SimpleServer.java files (Location:
    /global_ro/rekha/B241/assignment) as a base for creating your own Client and Server
    windows. Make the necessary changes to the files for them to work within your programs.
    Tasks:
    - Create a non-graphical user interface to be able to
    o enter customer�s data
    o display customer�s personal and account data after every transaction
    - Write a JAVA program to read and write customers data from/to a file.
    - Create a client � server networking environment using Java�s networking capabilities
    such that data is entered through the server window and displayed by the client in the
    client window.

    Ela re si k eimaste k sinonomatoi...anyway...could you pleaze help me with my assignment...my other problem is that i've writen some more code for the 3rd part where it says add some more fields for the customers.I save them in a file and i restore them but i dont know how can i call them when the bank is opened....here's the rest of the code....
    import java.io.*;
    public class UserInfo {
    public static void main(String[] args)
    throws IOException {
         String k,l,m,n,o,p,q,r;
    BufferedReader stdin = new BufferedReader(
    new InputStreamReader(System.in));
    System.out.print("First name:");
         k=stdin.readLine();
         System.out.print("Last name:");
         l=stdin.readLine();
         System.out.print("D.O.B:");
         m=stdin.readLine();
         System.out.print("Address:");
         n=stdin.readLine();
         System.out.print("Town:");
         o=stdin.readLine();
         System.out.print("Postcode:");
         p=stdin.readLine();
         System.out.print("Phone:");
         q=stdin.readLine();
         System.out.print("E-Mail:");
         r=stdin.readLine();
         try {
    DataOutputStream out = new DataOutputStream(
    new BufferedOutputStream(
    new FileOutputStream("Data.txt")));
         out.writeUTF(k);
         out.writeUTF(l);
         out.writeUTF(m);
         out.writeUTF(n);
         out.writeUTF(o);
         out.writeUTF(p);
         out.writeUTF(q);
         out.writeUTF(r);
         out.close();
         DataInputStream in = new DataInputStream(
    new BufferedInputStream(
    new FileInputStream("Data.txt")));
         System.out.println(in.readUTF());
    System.out.println(in.readUTF());
         System.out.println(in.readUTF());
         System.out.println(in.readUTF());
         System.out.println(in.readUTF());
         System.out.println(in.readUTF());
         System.out.println(in.readUTF());
         System.out.println(in.readUTF());
         } catch (NumberFormatException e) {
         System.out.println(e);
    }

Maybe you are looking for

  • How to peg sales order to stock

    Hi, Can anyone tell me how to use BAPI_PPDSSRVAPS_CHANPEGMULTI. It will help a lot if you can send me sample codes. I am trying to repeg sales order from purchase requisition to stock. Thanks!

  • E 63 FACEBOOK

    I am having a problem with the Facebook application.Whenever I type the username and password and then try to log in,I get a message that they don't match.What could be the cause? Nokia E63-1, RM-437, 510.21.010 Nokia C5-00.2,RM-745,091.002

  • OpenGL 3D touch detection

    Hey, so I might be completely stupid and missing something big, or I just suck at googling. I've built a 3d interface on the iphone where you can move in the world like a 1st person shooter. I've been wanting to implement a feature where the user can

  • How can I create a camera profile in LR4 from my camera

    I have a 5d mark 2, and I created a custom camera profile that is ideal for me, however when I shoot raw it only gives me the adobe, and camera standards etc. Is there a way that I can take my user setting on my 5d and transfer it into lightroom??

  • How can I run netflix on PowerMac G5?

    Netflix is telling it requires a Mac to be Intel based. Say it's not so?