Blank space before numbers 1-9

Hello, I want my numbers justified so that 1-9 have a blank space in front of them and then they will line up with the other numbers with 2 digits on a lottery ticket I am creating. Any suggestions how I can do this. I am on messenger at [email protected] if this is easier.
Thank you.
Lucy.

You could use the DecimalFormat class:
http://java.sun.com/j2se/1.5.0/docs/api/java/text/DecimalFormat.html
Also, it is not usually a good idea to post your e-mail address in a forum. E-mail is not usually how questions are answered here � no one else would get to see the answer. And, it is a good way to get a whole bunch of spam � automated programs look for e-mail address in Web pages

Similar Messages

  • Bunch of blank spaces before my contacts--can't delete

    After I added all of my contacts the first time they disappeared for some reason... then I resynched with google but somehow the blank spaces are all still there...and I have to scroll through them all before I can get to my contacts.  I can't delete them.  Thanks for your help.

    So you are seeing blank contacts, not just blank spaces IN several contacts?
    Try a simple reboot:  With the BlackBerry device powered ON, remove the battery a few seconds and then reinsert the battery to reboot.
    Why can't you delete them? No options to do delete?
    Can you delete them from your google web page?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Need a second of blank space before video in timeline starts

    I have several clips that appear to have the first 1/2 second or so cut when played from the DVD. The clips are of people talking. When you select the clip from the DVD menu the video starts a tad bit late. Again not by much. But, in some cases enough so that you miss the first word or so.
    Is there a way to pre-roll black space for 1 second before the video starts? I tried to move the video down the timeline by 1 second. However, when played back I get the one second of black and the first 1 second of video repeats (like a skip) then the video plays normally.
    Any thoughts?
    Thanks
    JR

    Jeff is quite correct in his comment here.
    However this is only a part of the story. Another thing I have noticed with certain players - and Denon are definitely amongst the offenders here - is that with both the 2910 & 3910 players, you automatically lose the first 18 frames of any video accessed from a chapter playlist menu as it takes the player this long to lock down on the streams.
    There are 2 symptoms:
    1 - Video cuts in too soon,
    2 - noticeable click in audio, or missing audio/video.
    The only solution I am aware of is to either
    A - edit in the necessary videoblack in your NLE
    i before importing the asset into Encore
    or
    B - Import a second or two of videoblack as MPEG-2 footage (created in your NLE lie Premiere, where it is a simple preset) and place this into the Encore timeline first, then add the main footage
    i after
    the videoblack.
    The ability to stack multiple clips in a project timeline really comes in handy for things like this.

  • Lots of blank space when printing array with only last element printed

    I have a slight problem I have been trying to figure it out for days but can't see where my problem is, its probably staring me in the face but just can't seem to see it.
    I am trying to print out my 2 dimensional array outdie my try block. Inside the trying block I have two for loops in for the arrays. Within the second for loop I have a while to put token from Stringtokeniser into my 2 arrays. When I print my arrays in this while bit it prints fine however when I print outside the try block it only print the last element and lots of blank space before the element.
    Below is the code, hope you guys can see the problem. Thank you in advance
       import java.io.*;
       import java.net.*;
       import java.lang.*;
       import java.util.*;
       import javax.swing.*;
       public class javaflights4
          public static final String MESSAGE_SEPERATOR  = "#";
          public static final String MESSAGE_SEPERATOR1  = "*";
          public static void main(String[] args) throws IOException
             String data = null;
             File file;
             BufferedReader reader = null;
             file = new File("datafile.txt");
             String flights[] [];
                   //String flightdata[];
             flights = new String[21][7];
             int x = 0;
                   //flightdata = new String[7];
             int y = 0;
             try
                reader = new BufferedReader(new FileReader(file));   
                //data = reader.readLine();   
                while((data = reader.readLine())!= null)   
                   data.trim();
                   StringTokenizer tokenised = new StringTokenizer(data, MESSAGE_SEPERATOR1);
                   for(x = 0; x<=flights.length; x++)
                      for(y = 0; y<=flights.length; y++)
                         while(tokenised.hasMoreTokens())
                            //System.out.println(tokenised.nextToken());
                            flights [x] [y] = tokenised.nextToken();
                            //System.out.print("*"+ flights [x] [y]+"&");
                   System.out.println();
                catch(ArrayIndexOutOfBoundsException e1)
                   System.out.println("error at " + e1);
                catch(Exception e)
                finally
                   try
                      reader.close();
                      catch(Exception e)
             int i = 0;
             int j = 0;
             System.out.print(flights [j]);
    //System.out.println();

    A number of problems.
    First, I bet you see a lot of "error at" messages, don't you? You create a 21x7 array, then go through the first array up to 21, going through the second one all the way to 21 as well.
    your second for loop should go to flights[x].length, not flights.length. That will eliminate the need for ArrayIndexOutOfBounds checking, which should have been an indication that you were doing something wrong.
    Second, when you get to flights[0][0] (the very first iteration of the inner loop) you are taking every element from the StringTokenizer and setting flights[0][0] to each, thereby overwriting the previous one. There will be nothing in the StringTokenizer left for any of the other (21x7)-1=146 array elements. At the end of all the loops, the very first element in the array (flights[0][0]) should contain the last token in the file.
    At the end, you only print the first element (i=0, j=0, println(flight[ i][j])) which explains why you see the last element from the file.
    I'm assuming you have a file with 21 lines, each of which has 7 items on the line. Here is some pseudo-code to help you out:
    count the lines
    reset the file
    create a 2d array with the first dimension set to the number of lines.
    int i = 0;
    while (read a line) {
      Tokenize the line;
      count the tokens;
      create an array whose size is the number of tokens;
      stuff the tokens into the array;
      set flights[i++] to this array;
    }

  • How can I change a string to a numeric when the numbers are separated by blank spaces?

    I would like to change a list of numbers in string to a list of number in numeric like in the attached vi. Unfortunately, the numbers are not separated by commas but by blank spaces. Which character can I use for the blank space?
    Ninskaya
    Attachments:
    readcommdelim.vi ‏19 KB

    Why don't you just use the Spreadsheet String to Array function instead. You can specify any delimiter you want. See the attached picture.
    Attachments:
    string_to_array.jpg ‏6 KB

  • Before header pl/sql process creates blank space at top of page

    Hi,
    I'm finding that w/v 1.6.1 I get a blank space at the top of my page that appears to be somewhat proportional to the amount of code and/or # processes on that page that are before header. moving to after header and before regions also shows this behavior.
    There are no blank line outputs happening in the pl/sql processes, so I've got no idea why htmldb is putting blank space there.
    Anyone seen anything like this? Oracle 9.2.0.7, winxp pro
    Thanks
    matt

    Hi,
    I've had the same problem. I'm assuming that you have a region in the "After Header" position?
    If so, you could add the following in the region's Region Header:
    &lt;div style="display:none"&gt;
    and put this in the Region Footer:
    &lt;/div&gt;
    The region is defined in a table, which by definition is a block object. Block objects always begin on a new line and end with a new line - the above will put the region into a div and then hide the div.
    Regards
    Andy

  • How come when I use "Space before" in a paragraph style, it will only put the space in if i have a blank line above it. Shouldn't it do this regardless?

    Maybe I'm missing something, but it seems to me that if I have a style with a "space before" setting of, for example, 21p, i should be able to put text into a new text box and have that text with the style  applied pop down the page. It doesn't do this. I can make it work by just hitting "enter" and having a blank line in front of it, but in my mind this shouldn't be necessary. What am I doing wrong?

    That's expected behavior. If the text spans columns or pages you wouldn't want a space above if a new column started with a paragraph at the top. Like this where you want the 2nd column to align with the others:

  • How do I get rid of the blank space after one paragraph and before the next paragraph startsin Pages '09?  I understand that I should not have a page break mid paragraph but that is what I want.

    How do I get rid of the blank space after one paragraph and before the next paragraph startsin Pages '09?  I understand that I should not have a page break mid paragraph but that is what I want.

    Hi stephanie,
    These are unrelated questions/statements.
    Space before and space after a paragraph are controled in the Text Inspector, as you've found out.
    Pages will create a page break whenever there is no room for another line on the page. That break can come anywhere in a paragraph.
    You may be thinking of Widow and Orphan prevention, and the other Pagination controls, found under the More button in the Text Inspector. (If that's what you found, then thanks for the refresher! I hadn't been to that pane for awhile, and had forgotten the variety of pagination controls available.
    Regards,
    Barry

  • Pages and numbers will not take dictation and iOS 8. Very frustrating screen goes blank no keypad. I have to close the document In order to get rid of the big blank space where the keyboard should ber

    Pages and Numbers will not take dictation in iOS 8 on my iPad 4 and iPad mini.
    Very frustrating -screen goes blank where keyboard should be when I touch the microphone- no keypad & dictation does not record. I have to close the document In order to get rid of the big blank space where the keyboard should be. When is this going to be fixed?it's making recordkeeping Pages and Numbers,  which I use heavily, almost impossible.
    also dictation in other locations such as Mail put capitals in the middle of sentences and sometimes don't capitalize first letter in a sentence (see first letter of this sentence!) and other instances like the months of the year or the days of the week. Is anyone else having these problems?

    Pages and Numbers will not take dictation in iOS 8 on my iPad 4 and iPad mini.
    Very frustrating -screen goes blank where keyboard should be when I touch the microphone- no keypad & dictation does not record. I have to close the document In order to get rid of the big blank space where the keyboard should be. When is this going to be fixed?it's making recordkeeping Pages and Numbers,  which I use heavily, almost impossible.
    also dictation in other locations such as Mail put capitals in the middle of sentences and sometimes don't capitalize first letter in a sentence (see first letter of this sentence!) and other instances like the months of the year or the days of the week. Is anyone else having these problems?

  • Backspace deletes blank spaces

    I notice a strange and irritating behaviour in Pages 1.7.2, Numbers 1.7.3 and Keynote 1.7.2:
    If I delete characters with backspace and delete the last character of a word, that space before the character is deleted as well.
    Example:
    Text: "hello wo". Press Backspace, text: "hello w". Press backspace again, text: "hello" ('w' and space deleted in one step).
    if you use the onscreen keyboard, that might help. If you use an external bluetooth keyboard, the deletion of the space is pretty annoing. The behaviour is pretty new. Can it be switched off?
    Please help. I am writing a novel on my iPad and *hate* to insert the missing blank again and again.
    Thanx,
    Goetz
    P.S.: In other apps (such as iCal, Mail etc.) backspace works normal. It must be an iWork-thing

    My ID version is CS6 for my Mac OS X 10.8.4. In a multi-column story, one column might run all the way to the bottom of the text box, while the next is four lines short and the next is two lines short. Screen shots are provided

  • How to use blank space replace NULL on discoverer viewer

    Hi,
    There is a report that has a varchar field should show text values, and if NULL, I need it show blank space, and does in disco desktop, but on viewer, the same worksheet shows NULL.
    Even I changed in the Tools - Options - Format menu(desktop), it still show NULL on viewer.
    why?
    please help! thanks!
    sammy

    Hi Sammy,
    Unfortunately ‘some’ of the settings set in Desktop do not carry over to Viewer. These options need to be defined for Viewer itself.
    A temporary way to set the Viewer settings is to click on ‘Options’ when logged in Viewer itself. You’ll have to open a responsibility or report before this option becomes available to select. Within here you’ll be able to change the way NULL values are seen. However this method only makes the change for the User you logged in with.
    To make the change for all users, it’s best to edit the PREF.TXT file on the Discoverer Server. Please view the documentation below for more information on how to configure Viewer. For windows platform click here : http://download-uk.oracle.com/docs/html/A90287_01/toc.htm,
    For Unix platform click here : http://download-uk.oracle.com/docs/html/A90288_01/toc.htm. Once you’ve run the applypreference script, these settings will be forced down to all users of Discoverer.
    Hopefully this will help ;-)
    Lance

  • I recently deleted a partition on my mac that was intended to install windows. Now it is just blank space. I attempt to resize my Macintosh HD partition to cover entire hard drive space and hit apply but nothing happens (disk utility). Any ideas?

    I have a few problems...
    I wanted to make a partition to install windows, I tried to use bootcamp 5 where it wanted to partition and install windows at the same time. I do not have a cd of windows but instead had it on a flash drive. Bootcamp couldn't find it. Instead I was reading forums and found that there was another way to install windows by partioning your harddrive using the disk utility, downloading the bootcamp drivers, and installing rEFIt (an app that when starting the compouter a menu would come up to boot windows from the flashdrive). I try that and the windows install screen gets me to the point where I pick a partition. I attempt to pick the partitioned drive but a message comes up telling me that "this is of the GPT partition style" and windows cannot be installed on the drive.
    So now I went back to disk utility and deleted the partition but there is still blank space. I wanted to retry and install windows through bootcamp (somehow) but a message comes up that there cannot be any partitions or that a partition must be created using bootcamp. SO i keep trying to drag the partition over the blank space and hit apply but nothing happens.
    By the way I was trying to install windows 8 pro, some forums would say that you cant install win8 however I found others that said you could. How do I fix my partition and how do I use bootcamp to install windows (preferrably 8)?

    Csound1 What Ive been trying to explain is that I have been running bootcamp, I open the app where the first screen is the introduction, i hit continue, the first time I select "download the latest windows support software fromm Apple" then I return and instead select "Install Windows 7." Then hit continue. The third screen is where I "Create a Partition for Windows" I set Windows to 80 gigs then hit INSTALL. As stated before Bootcamp cannot find the install drivers saying "The installer disc could not be found." My windows software is on a USB drive not a disc, I tried using a virtual disc reader to make it appear that the windows software was running on a disc, still no luck. What I would like to know is how to install windows on bootcamp.

  • RTF Template Blank Spaces Issue

    Hi,
    I have one issue in the RTF File. I have developed templates for the dunning letter report.
    If i have only one line in the main body table and below this table i have some contents information for the customer to print in the report. The issue is there is blank spaces between the table and the contents when i am printing one or two invoices in the report.
    I want to remove this blank spaces and bring the contents information to print just below the table even it is sinle report or many records in the report.
    please guide me if any one come accross with this issue.
    with regards
    Ram

    Hi,
    Make sure there are no spaces before/after your form fields - put them on their own line with no spaces in between. On their own line they don't generate an extra line.
    If you are still having problems email me the xml and rtf ggr888 [AT] gmail [D0T] com
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • How do I get rid of the blank space at the bottom of the new Firefox menu?

    The new firefox 4 has a different menu system. IT has blank space at the bottom wiht just a plus sign that opens new tabs. I can get that from the + sign by the tabs and don't want it or the rest of the blank space on the bar. I need all the space in the main window I can get. How do I get rid of this?
    Found my own answer, disable Conduit Engine toolbar, whatever the heck that is. Why it's enabled to start with is beyond me.

    Hi stephanie,
    These are unrelated questions/statements.
    Space before and space after a paragraph are controled in the Text Inspector, as you've found out.
    Pages will create a page break whenever there is no room for another line on the page. That break can come anywhere in a paragraph.
    You may be thinking of Widow and Orphan prevention, and the other Pagination controls, found under the More button in the Text Inspector. (If that's what you found, then thanks for the refresher! I hadn't been to that pane for awhile, and had forgotten the variety of pagination controls available.
    Regards,
    Barry

  • How can I print a selection in Firefox 11 without it wasting paper and printing blank space in place of the non-selected material?

    In Firefox 10 and before, I could select a small portion of a web page and it would print the selected portion on a single page. In Firefox 11, it prints blank space for the portion above my selection before printing my selection. This blank space could span several pages, and my printer prints those several blank pages with only headers and footers.

    Still happens with Firefox 12. I wish they'd just fix it, the way it used to be in Firefox 10, without the complicated workaround suggested above.

Maybe you are looking for

  • External Unique ID VS Contact ID (Row ID)

    We're using Web Services to load contacts and opportunities into CRM. Contacts have an External Unique ID. We also create new contacts / opportunities from the user interface as well. I first noticed while testing in Analytics I get a different behav

  • Transaction VT04 in ECC6.0 and 4.6c

    Hi all ,         The transaction VT04 in ECC6.0 does not have Delivery type as selection criteria . SAP R/3  4.6C was having this selection criteria . We were using this to differentiate between Sales Order Shipment Documents and STO shipment documen

  • Fine white lines going across screen Horz.

    I was working a iDVD project lastnight and left it working on it as I was sleeping. When I checked on it this morning my DVD had burnt fine. However I noticed that my display had 2 fine white lines going across the screen Horz. down about 2 inches fr

  • How can i get my ringtones back on my iphone

    How can i retrive my ringtones back on my iphone ,since i updated my iphone everything was deleted on my iphone

  • One message two attributes

    I have a date range that must be populated (From before To Date).  I would like to highlight both date fields when reporting the message.  HOw do I do this? Right now my code is.... if (compareResult > 0)     // From Date is After To Date - INVALID