Please help to read parts of image.

I have an jpeg-image.
The size of the image is 8000*8000
How can I read only first 1000*1000 pixels from the image-file without loading the whole image into the memory?
If I now loaded this 1000*1000 in memory as a BufferedImage, how can I read only pixels in range
600-700
600-700
so, 100*100, start from 600,600
Thanks in advance.

Thanks for the answer.
I have faced a problem with ImageIO.
If I read Image from file and then display it later, I need the double size of RAM for the image in the memory. First to put it into the memory from a file and the second read some parts from the BufferedImage to display it.
Is there any posibility to reference to the parts of the image, that was loaded to Image object, after the file was readed?
If I do it like this, i need doubled RAM size.
private Image img;
img = ImageIO.read(new File("bigImage.jpg"));
protected void paintComponent(Graphics g) {
int[] rgb = new int[600*600];
img.getRGB(0, 0, 600, 600, rgb, 0, 600);
BufferedImage img1 = new BufferedImage(600,600,BufferedImage.TYPE_INT_RGB);
img1.setRGB(0, 0, 600, 600, rgb, 0, 600);
g2D.drawImage(img1, null, 0, 0);
}

Similar Messages

  • Please Help me, How to cut image ?

    I have a image (jpg file). The image is animal, and the image contain 2 basic colours (white is background, black describe animal). I want to cut background around animal
    Please Help me ???
    Please source code .??? Example??

    well it depends what you want to do with this- do you just want to use the black part without a whit contour?
    however if you want to have 2 colors PLEASE save as GIF or as PNG and not as JPG - JPG tends to blur the image a little so your mask will get screwed up with JPG
    the easiest way for me is to do this job in photoshop and save as Tiff then load it with Javax.ImageIO so transparency is kept

  • Please help! Reader X OCSP problem

    hi everybody:
    please help me, I meet a problem. when I open the PDF file with Adobe Reader X, there will be a windows popup and shows:
    "contacting http://ocsp.verisign.com for OCSP based revocation checking, press ESC to cancel". after that the program will be dead.
    If you know how to fix this prpblem, please help me! Thanks in advance!

    We are experiencing the same thing. That same window will pop up and lock up the Adobe. It doesn't matter if the PDF is signed, unsigned, has no signing function or just opening up Adobe itself. The popup will show up about 30 second-ish after opening a PDF or Adobe.
    When looking at task manager the CPU will stick at 50% most of the time the ram for the two processes will fluctuate slightly every minute or so sometimes a few minutes.
    Now I cannot confirm this yet but it seems it may be related to the 10.1.6 as the issue did not show up till that was pushed out to our network.
    The issue so far only appears to be on XP and not 7 however this issue appears to be a new thing so cannot confirm that as we have not recieved many calls...yet. However I have recieved 2 calls in 2 days for the same issue. First call the issue seemed to have resolved itself, however the second call (different person) with this issue, it is causing major problems with Adobe.
    **Update**
    So for us, uninstalling Adobe Reader X and removing all registry entries for Adobe Reader then installing it seems to have worked. It shows up in some instances for PDF's having digital signatures but acctually finishes in a second or two and doesn't show up in all digital signature instances.
    The important part is it seems to have fixed it from hanging at checking the OCSP list. If the issue returns ill make an update here. Figured I should let folks know what worked for us might work for them. If someone can come up with a quicker (like a specific registry edit or deletion) that would be great heh.
    Message was edited by: Cranky SvD Guy

  • Please help!!  No "still image" button option...  There last night - now GONE.  ?!?!

    Hello!
    Thank you in advance for anyone/everyone who answers this questions.  I need your help!
    (The most frustrating thing about this - is that it was working easily and perfectly last night with not even a hiccup.  argh.
    So:
    I am putting two movies in one iDVD project and then I'm going to burn on a DL DVD.
    The first movie is in and all of the Chapter Markers imported beautifully with the titles, etc..., BUT....last night I was able to select the Motion Button - Change it to a STILL IMAGE and then drop in my own Still Image.  It was looking great!
    Today, I can't.
    I select the Motion Button and the only "Button Info" Menu it gives me is one that has Font control, Size control, Label, and Transitions.  NO "Still Image" box to check...no box to click and drag my image into - nothing.  argh again!
    On the map page, if I select the "chapter/scene selection" - all it say is "Loop Movie" and gives me a box to check or uncheck.
    Help!  Help!  Help!
    I feel like I'm losing my mind.  I've gone thru and checked to see if there's anything I could've changed, but can't think of anything.
    Of course, I'm on a tight deadline, so please help.
    Thank you!  Thank you!!
    Jocelyn

    I figured it out!!!
    It seems to be a glitch in the "Center Stage" theme.
    I switched to the Revolution Theme, made all of my adjustments, then switched back to Center Stage and it worked!!
    Hilarious, too, because I've been looking for an answer for a couple of hours and right when I sat down at the computer again to try my "plan" - the NEXT post I opened - confirmed it for me!  Woooohoooo!

  • Please help to read the XML document with XMLTable

    Hi Gurus,
    I am not very familiar with XML parsing. It seems to me it should be very easy to get the data. For some reason, I am having a problem to get the data.
    SELECT *
    FROM util.hlsr_online_entries e,
    XMLTABLE(
      xmlnamespaces(
       'http://tempuri.org/'    as "dt",
       'urn:schemas-microsoft-com:xml-diffgram-v1' as "dg"),
      '/DataTable/dg:diffgram/DocumentElement/JrShowCustomerHeifers'
      PASSING XMLTYPE(e.entry_data)
      COLUMNS
      SeqNo  FOR ORDINALITY,
      DocumentID NUMBER  PATH 'DocumentID',
      ClubName VARCHAR2(100) PATH 'ClubName') as test
    WHERE e.ref_id = 33422
    The above query does not bring any data for me. My hunts is the problem with DocumentElement tab. I have been trying a different variation to handle.
    Please help me out to tune the query
    I have the following XML document from the DotNet developer
    <?xml version="1.0" encoding="utf-8"?>
    <DataTable xmlns="http://tempuri.org/">
      <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="JrShowCustomerHeifers" msdata:UseCurrentLocale="true">
          <xs:complexType>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:element name="JrShowCustomerHeifers">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="DocumentID" type="xs:int" minOccurs="0" />
                    <xs:element name="ClubName" type="xs:string" minOccurs="0" />
                    <xs:element name="LastName" type="xs:string" minOccurs="0" />
                    <xs:element name="FirstName" type="xs:string" minOccurs="0" />
                    <xs:element name="PreferredName" type="xs:string" minOccurs="0" />
                    <xs:element name="Email" type="xs:string" minOccurs="0" />
                    <xs:element name="Exhibitor" type="xs:string" minOccurs="0" />
                    <xs:element name="AnimalName" type="xs:string" minOccurs="0" />
                    <xs:element name="RegistryNo" type="xs:string" minOccurs="0" />
                    <xs:element name="DateofBirth" type="xs:string" minOccurs="0" />
                    <xs:element name="NameofSire" type="xs:string" minOccurs="0" />
                    <xs:element name="SireRegistryNo" type="xs:string" minOccurs="0" />
                    <xs:element name="NameofDam" type="xs:string" minOccurs="0" />
                    <xs:element name="DamRegistryNo" type="xs:string" minOccurs="0" />
                    <xs:element name="Tattoo" type="xs:string" minOccurs="0" />
                    <xs:element name="SecondaryTattoo" type="xs:string" minOccurs="0" />
                    <xs:element name="UniversalIDNumber" type="xs:string" minOccurs="0" />
                    <xs:element name="Tattoo_Location" type="xs:string" minOccurs="0" />
                    <xs:element name="Secondary_Tattoo_Location" type="xs:string" minOccurs="0" />
                    <xs:element name="OracleBreedID" type="xs:int" minOccurs="0" />
                    <xs:element name="JrValidationBreedName" type="xs:string" minOccurs="0" />
                    <xs:element name="ValidationDate" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="ValidatedBy" type="xs:string" minOccurs="0" />
                    <xs:element name="ValidationComment" type="xs:string" minOccurs="0" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:choice>
          </xs:complexType>
        </xs:element>
      </xs:schema>
      <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
        <DocumentElement xmlns="">
          <JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers1" msdata:rowOrder="0">
            <DocumentID>18442</DocumentID>
            <ClubName>Perrin FFA</ClubName>
            <LastName>Hamman</LastName>
            <FirstName>Kaily</FirstName>
            <Email>[email protected]</Email>
            <Exhibitor>Hamman, Kaily</Exhibitor>
            <AnimalName>113</AnimalName>
            <RegistryNo>C1026447</RegistryNo>
            <DateofBirth>01/14/2013</DateofBirth>
            <NameofSire>808 GAME DAY 808 LH</NameofSire>
            <SireRegistryNo>C961101</SireRegistryNo>
            <NameofDam>SADDIE 7/7 LE</NameofDam>
            <DamRegistryNo>C941067</DamRegistryNo>
            <Tattoo>113</Tattoo>
            <SecondaryTattoo />
            <UniversalIDNumber>1194F020</UniversalIDNumber>
            <Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
            <Secondary_Tattoo_Location />
            <OracleBreedID>6383</OracleBreedID>
            <JrValidationBreedName>Beefmaster</JrValidationBreedName>
            <ValidationDate>2014-11-25T08:39:00-06:00</ValidationDate>
            <ValidatedBy>laineyb</ValidatedBy>
            <ValidationComment />
          </JrShowCustomerHeifers>
          <JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers2" msdata:rowOrder="1">
            <DocumentID>18473</DocumentID>
            <ClubName>Perrin FFA</ClubName>
            <LastName>Hamman</LastName>
            <FirstName>Kaily</FirstName>
            <Email>[email protected]</Email>
            <Exhibitor>Hamman, Kaily</Exhibitor>
            <AnimalName>KPH PURPLE CORALEE 349</AnimalName>
            <RegistryNo>P43461953</RegistryNo>
            <DateofBirth>11/04/2013</DateofBirth>
            <NameofSire>PURPLE MOXY 22X ET</NameofSire>
            <SireRegistryNo>P43126458</SireRegistryNo>
            <NameofDam>TCC CORKY 6603</NameofDam>
            <DamRegistryNo>P42457119</DamRegistryNo>
            <Tattoo>349</Tattoo>
            <SecondaryTattoo>KPH</SecondaryTattoo>
            <UniversalIDNumber>1194F021</UniversalIDNumber>
            <Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
            <Secondary_Tattoo_Location>TATTOO - Right Ear</Secondary_Tattoo_Location>
            <OracleBreedID>6389</OracleBreedID>
            <JrValidationBreedName>Polled Hereford</JrValidationBreedName>
            <ValidationDate>2014-12-01T11:55:00-06:00</ValidationDate>
            <ValidatedBy>Hannah</ValidatedBy>
            <ValidationComment />
          </JrShowCustomerHeifers>
          <JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers3" msdata:rowOrder="2">
            <DocumentID>18474</DocumentID>
            <ClubName>Perrin FFA</ClubName>
            <LastName>Hamman</LastName>
            <FirstName>Kaily</FirstName>
            <Email>[email protected]</Email>
            <Exhibitor>Hamman, Kaily</Exhibitor>
            <AnimalName>LANGFORDS SWEET N SOUR 4107</AnimalName>
            <RegistryNo>43504761</RegistryNo>
            <DateofBirth>03/02/2014</DateofBirth>
            <NameofSire>LH TNT 1017</NameofSire>
            <SireRegistryNo>43199794</SireRegistryNo>
            <NameofDam>LANGFORDS LADY 2206 ET</NameofDam>
            <DamRegistryNo>43315143</DamRegistryNo>
            <Tattoo>4107</Tattoo>
            <SecondaryTattoo />
            <UniversalIDNumber>1194F018</UniversalIDNumber>
            <Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
            <Secondary_Tattoo_Location />
            <OracleBreedID>6398</OracleBreedID>
            <JrValidationBreedName>Hereford</JrValidationBreedName>
            <ValidationDate>2014-11-24T14:26:00-06:00</ValidationDate>
            <ValidatedBy>Validator</ValidatedBy>
            <ValidationComment />
          </JrShowCustomerHeifers>
          <JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers4" msdata:rowOrder="3">
            <DocumentID>18475</DocumentID>
            <ClubName>Perrin FFA</ClubName>
            <LastName>Hamman</LastName>
            <FirstName>Kaily</FirstName>
            <Email>[email protected]</Email>
            <Exhibitor>Hamman, Kaily</Exhibitor>
            <AnimalName>PURPLE CCC LYDIA 19A</AnimalName>
            <RegistryNo>P43406978</RegistryNo>
            <DateofBirth>02/05/2013</DateofBirth>
            <NameofSire>PURPLE MB WOMANIZER 14UET</NameofSire>
            <SireRegistryNo>P42945146</SireRegistryNo>
            <NameofDam>PURPLE CMCC NASTIA 9U</NameofDam>
            <DamRegistryNo>P42927201</DamRegistryNo>
            <Tattoo>19A</Tattoo>
            <SecondaryTattoo />
            <UniversalIDNumber>1194F017</UniversalIDNumber>
            <Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
            <Secondary_Tattoo_Location />
            <OracleBreedID>6389</OracleBreedID>
            <JrValidationBreedName>Polled Hereford</JrValidationBreedName>
            <ValidationDate>2014-12-01T11:55:00-06:00</ValidationDate>
            <ValidatedBy>Hannah</ValidatedBy>
            <ValidationComment />
          </JrShowCustomerHeifers>
          <JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers5" msdata:rowOrder="4">
            <DocumentID>18477</DocumentID>
            <ClubName>Perrin FFA</ClubName>
            <LastName>Hamman</LastName>
            <FirstName>Kaily</FirstName>
            <Email>[email protected]</Email>
            <Exhibitor>Hamman, Kaily</Exhibitor>
            <AnimalName>PURPLE SGW EDEN 12B</AnimalName>
            <RegistryNo>P43521932</RegistryNo>
            <DateofBirth>04/02/2014</DateofBirth>
            <NameofSire>RST TIME'S A WASTIN' 0124</NameofSire>
            <SireRegistryNo>43123163</SireRegistryNo>
            <NameofDam>PURPLE SM WONDER WOMAN 160Y</NameofDam>
            <DamRegistryNo>P43235169</DamRegistryNo>
            <Tattoo>12B</Tattoo>
            <SecondaryTattoo>12B</SecondaryTattoo>
            <UniversalIDNumber>1194F015</UniversalIDNumber>
            <Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
            <Secondary_Tattoo_Location>TATTOO - Right Ear</Secondary_Tattoo_Location>
            <OracleBreedID>6389</OracleBreedID>
            <JrValidationBreedName>Polled Hereford</JrValidationBreedName>
            <ValidationDate>2014-12-01T11:56:00-06:00</ValidationDate>
            <ValidatedBy>Hannah</ValidatedBy>
            <ValidationComment />
          </JrShowCustomerHeifers>
        </DocumentElement>
      </diffgr:diffgram>
    </DataTable>

    Hi odie_63,
    Good evening. I am not sure what you are suggesting. Please provide me the example how to solve the problem. I am very new to XML parsing.
    In the meantime, I am having another problem to get the data because .net developer changes the webservice format. To me it is supposed to work fine. May be my eyes are getting blurred so, I can't see where I am wrong.
    Thanks in advance. Please help me out.
    SELECT exh.docid,exh.clubname,exh.lname,exh.fname,exh.exhibitor,exh.animalname
    FROM util.hlsr_online_entries e,
    XMLTABLE(
      xmlnamespaces(
       'http://webservices.hlsr.net/JrShowOracleService/' as "dt",
       'urn:schemas-microsoft-com:xml-diffgram-v1'  as "dg"),
      '/dt:GetJrShowCustomerHeifersResponse/GetJrShowCustomerHeifersResult/dg:diffgram/DocumentElement/JrShowCustomerHeifers'
      PASSING XMLTYPE(e.entry_data)
      COLUMNS
      SeqNo  FOR ORDINALITY,
      DocID  NUMBER  PATH 'DocumentID',
      ClubName VARCHAR2(100) PATH 'ClubName',
      LName  VARCHAR2(100) PATH 'LastName',
      FName  VARCHAR2(100) PATH 'FirstName',
      Email  VARCHAR2(100) PATH 'Email',
      Exhibitor VARCHAR2(100) PATH 'Exhibitor',
      AnimalName VARCHAR2(100) PATH 'AnimalName', 
      RegNo  VARCHAR2(100) PATH 'RegistryNo',
      DOB  VARCHAR2(100) PATH 'DateofBirth',
      SireName VARCHAR2(100) PATH 'NameofSire',
      SireRegNo VARCHAR2(100) PATH 'SireRegistryNo',
      Dam  VARCHAR2(100) PATH 'NameofDam',
      DamRegNo VARCHAR2(100) PATH 'DamRegistryNo',
      Tattoo  VARCHAR2(100) PATH 'Tattoo',
      SecTattoo VARCHAR2(100) PATH 'SecondaryTattoo',
      UnivIDNum VARCHAR2(100) PATH 'UniversalIDNumber',
      TattooLoc VARCHAR2(100) PATH 'Tattoo_Location',
      OraBreedID NUMBER  PATH 'OracleBreedID',
      Breed  VARCHAR2(100) PATH 'JrValidationBreedName',
      ValDate  VARCHAR2(100) PATH 'ValidationDate'
      ) as exh
    WHERE e.ref_id = 33432
    <GetJrShowCustomerHeifersResponse xmlns="http://webservices.hlsr.net/JrShowOracleService/">
      <GetJrShowCustomerHeifersResult>
        <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
          <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="JrShowCustomerHeifers" msdata:UseCurrentLocale="true">
            <xs:complexType>
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                <xs:element name="JrShowCustomerHeifers">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="DocumentID" type="xs:int" minOccurs="0"/>
                      <xs:element name="ClubName" type="xs:string" minOccurs="0"/>
                      <xs:element name="LastName" type="xs:string" minOccurs="0"/>
                      <xs:element name="FirstName" type="xs:string" minOccurs="0"/>
                      <xs:element name="PreferredName" type="xs:string" minOccurs="0"/>
                      <xs:element name="Email" type="xs:string" minOccurs="0"/>
                      <xs:element name="Exhibitor" type="xs:string" minOccurs="0"/>
                      <xs:element name="AnimalName" type="xs:string" minOccurs="0"/>
                      <xs:element name="RegistryNo" type="xs:string" minOccurs="0"/>
                      <xs:element name="DateofBirth" type="xs:string" minOccurs="0"/>
                      <xs:element name="NameofSire" type="xs:string" minOccurs="0"/>
                      <xs:element name="SireRegistryNo" type="xs:string" minOccurs="0"/>
                      <xs:element name="NameofDam" type="xs:string" minOccurs="0"/>
                      <xs:element name="DamRegistryNo" type="xs:string" minOccurs="0"/>
                      <xs:element name="Tattoo" type="xs:string" minOccurs="0"/>
                      <xs:element name="SecondaryTattoo" type="xs:string" minOccurs="0"/>
                      <xs:element name="UniversalIDNumber" type="xs:string" minOccurs="0"/>
                      <xs:element name="Tattoo_Location" type="xs:string" minOccurs="0"/>
                      <xs:element name="Secondary_Tattoo_Location" type="xs:string" minOccurs="0"/>
                      <xs:element name="OracleBreedID" type="xs:int" minOccurs="0"/>
                      <xs:element name="JrValidationBreedName" type="xs:string" minOccurs="0"/>
                      <xs:element name="ValidationDate" type="xs:string" minOccurs="0"/>
                      <xs:element name="ValidatedBy" type="xs:string" minOccurs="0"/>
                      <xs:element name="ValidationComment" type="xs:string" minOccurs="0"/>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
              </xs:choice>
            </xs:complexType>
          </xs:element>
        </xs:schema>
        <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
          <DocumentElement xmlns="">
            <JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers1" msdata:rowOrder="0">
              <DocumentID>18442</DocumentID>
              <ClubName>Perrin FFA</ClubName>
              <LastName>Hamman</LastName>
              <FirstName>Kaily</FirstName>
              <Email>[email protected]</Email>
              <Exhibitor>Hamman, Kaily</Exhibitor>
              <AnimalName>113</AnimalName>
              <RegistryNo>C1026447</RegistryNo>
              <DateofBirth>01/14/2013</DateofBirth>
              <NameofSire>808 GAME DAY 808 LH</NameofSire>
              <SireRegistryNo>C961101</SireRegistryNo>
              <NameofDam>SADDIE 7/7 LE</NameofDam>
              <DamRegistryNo>C941067</DamRegistryNo>
              <Tattoo>113</Tattoo>
              <SecondaryTattoo/>
              <UniversalIDNumber>1194F020</UniversalIDNumber>
              <Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
              <Secondary_Tattoo_Location/>
              <OracleBreedID>6383</OracleBreedID>
              <JrValidationBreedName>Beefmaster</JrValidationBreedName>
              <ValidationDate>11/25/2014</ValidationDate>
              <ValidatedBy>laineyb</ValidatedBy>
              <ValidationComment/>
            </JrShowCustomerHeifers>
            <JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers2" msdata:rowOrder="1">
              <DocumentID>18473</DocumentID>
              <ClubName>Perrin FFA</ClubName>
              <LastName>Hamman</LastName>
              <FirstName>Kaily</FirstName>
              <Email>[email protected]</Email>
              <Exhibitor>Hamman, Kaily</Exhibitor>
              <AnimalName>KPH PURPLE CORALEE 349</AnimalName>
              <RegistryNo>P43461953</RegistryNo>
              <DateofBirth>11/04/2013</DateofBirth>
              <NameofSire>PURPLE MOXY 22X ET</NameofSire>
              <SireRegistryNo>P43126458</SireRegistryNo>
              <NameofDam>TCC CORKY 6603</NameofDam>
              <DamRegistryNo>P42457119</DamRegistryNo>
              <Tattoo>349</Tattoo>
              <SecondaryTattoo>KPH</SecondaryTattoo>
              <UniversalIDNumber>1194F021</UniversalIDNumber>
              <Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
              <Secondary_Tattoo_Location>TATTOO - Right Ear</Secondary_Tattoo_Location>
              <OracleBreedID>6389</OracleBreedID>
              <JrValidationBreedName>Polled Hereford</JrValidationBreedName>
              <ValidationDate>12/01/2014</ValidationDate>
              <ValidatedBy>Hannah</ValidatedBy>
              <ValidationComment/>
            </JrShowCustomerHeifers>
            <JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers3" msdata:rowOrder="2">
              <DocumentID>18474</DocumentID>
              <ClubName>Perrin FFA</ClubName>
              <LastName>Hamman</LastName>
              <FirstName>Kaily</FirstName>
              <Email>[email protected]</Email>
              <Exhibitor>Hamman, Kaily</Exhibitor>
              <AnimalName>LANGFORDS SWEET N SOUR 4107</AnimalName>
              <RegistryNo>43504761</RegistryNo>
              <DateofBirth>03/02/2014</DateofBirth>
              <NameofSire>LH TNT 1017</NameofSire>
              <SireRegistryNo>43199794</SireRegistryNo>
              <NameofDam>LANGFORDS LADY 2206 ET</NameofDam>
              <DamRegistryNo>43315143</DamRegistryNo>
              <Tattoo>4107</Tattoo>
              <SecondaryTattoo/>
              <UniversalIDNumber>1194F018</UniversalIDNumber>
              <Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
              <Secondary_Tattoo_Location/>
              <OracleBreedID>6398</OracleBreedID>
              <JrValidationBreedName>Hereford</JrValidationBreedName>
              <ValidationDate>11/24/2014</ValidationDate>
              <ValidatedBy>Validator</ValidatedBy>
              <ValidationComment/>
            </JrShowCustomerHeifers>
            <JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers4" msdata:rowOrder="3">
              <DocumentID>18475</DocumentID>
              <ClubName>Perrin FFA</ClubName>
              <LastName>Hamman</LastName>
              <FirstName>Kaily</FirstName>
              <Email>[email protected]</Email>
              <Exhibitor>Hamman, Kaily</Exhibitor>
              <AnimalName>PURPLE CCC LYDIA 19A</AnimalName>
              <RegistryNo>P43406978</RegistryNo>
              <DateofBirth>02/05/2013</DateofBirth>
              <NameofSire>PURPLE MB WOMANIZER 14UET</NameofSire>
              <SireRegistryNo>P42945146</SireRegistryNo>
              <NameofDam>PURPLE CMCC NASTIA 9U</NameofDam>
              <DamRegistryNo>P42927201</DamRegistryNo>
              <Tattoo>19A</Tattoo>
              <SecondaryTattoo/>
              <UniversalIDNumber>1194F017</UniversalIDNumber>
              <Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
              <Secondary_Tattoo_Location/>
              <OracleBreedID>6389</OracleBreedID>
              <JrValidationBreedName>Polled Hereford</JrValidationBreedName>
              <ValidationDate>12/01/2014</ValidationDate>
              <ValidatedBy>Hannah</ValidatedBy>
              <ValidationComment/>
            </JrShowCustomerHeifers>
            <JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers5" msdata:rowOrder="4">
              <DocumentID>18477</DocumentID>
              <ClubName>Perrin FFA</ClubName>
              <LastName>Hamman</LastName>
              <FirstName>Kaily</FirstName>
              <Email>[email protected]</Email>
              <Exhibitor>Hamman, Kaily</Exhibitor>
              <AnimalName>PURPLE SGW EDEN 12B</AnimalName>
              <RegistryNo>P43521932</RegistryNo>
              <DateofBirth>04/02/2014</DateofBirth>
              <NameofSire>RST TIME&apos;S A WASTIN&apos; 0124</NameofSire>
              <SireRegistryNo>43123163</SireRegistryNo>
              <NameofDam>PURPLE SM WONDER WOMAN 160Y</NameofDam>
              <DamRegistryNo>P43235169</DamRegistryNo>
              <Tattoo>12B</Tattoo>
              <SecondaryTattoo>12B</SecondaryTattoo>
              <UniversalIDNumber>1194F015</UniversalIDNumber>
              <Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
              <Secondary_Tattoo_Location>TATTOO - Right Ear</Secondary_Tattoo_Location>
              <OracleBreedID>6389</OracleBreedID>
              <JrValidationBreedName>Polled Hereford</JrValidationBreedName>
              <ValidationDate>12/01/2014</ValidationDate>
              <ValidatedBy>Hannah</ValidatedBy>
              <ValidationComment/>
            </JrShowCustomerHeifers>
          </DocumentElement>
        </diffgr:diffgram>
      </GetJrShowCustomerHeifersResult>
    </GetJrShowCustomerHeifersResponse>
    Thanks again.

  • Please help - Adobe reader

    I get a message that says Adobe Reader is 'not responding'
    Have tried everything
    Can you please help?

    Please give us some details, and we will be happy to help.

  • Please help with this part of error...

    Hi all,
    Please help me with this error. What i was trying to do is that when Server send a message to client, it print out on the screen what is sent to Client. For instance, if the Message is called FirstMessage sent to Client, the message FirstClient will display from server console with a specific message such as "First Message from server to client: first Message") and so on. I tried to implement the below code but when compiled it i got error message as follows :
    C:\Java\bin>javac QuoteServer.java
    QuoteServer.java:60: <identifier> expected
    out.close();
    ^
    QuoteServer.java:61: <identifier> expected
    in.close();
    ^
    QuoteServer.java:62: <identifier> expected
    clientSocket.close();
    ^
    QuoteServer.java:63: <identifier> expected
    myserverSocket.close();
    ^
    4 errors
    Her is the Server side socket...
    import java.net.*;
    import java.io.*;
    import java.util.*;
    class QuoteServer
    public static void main(String[] args) throws IOException
    ServerSocket myserverSocket = null;
    try
    myserverSocket = new ServerSocket(4998);
    } catch (IOException e)
                        System.err.println("Could not listen on port: 4998.");
                        System.exit(1);
    Socket clientSocket = null;
    try
    clientSocket = myserverSocket.accept();
    } catch (IOException e)
                        System.err.println("Accept failed.");
                        System.exit(1);
                   PrintWriter out = new PrintWriter(clientSocket.getOutputStream(), true);
                   BufferedReader in = new BufferedReader(
                   new InputStreamReader(
                   clientSocket.getInputStream()));
                   String inputLine, outputLine;
                   QuoteProtocol QP = new QuoteProtocol();
                   outputLine = QP.processInput(null);
                   Date current = new Date();
                   out.println(outputLine);
                   String ToClient;
                   while ((inputLine = in.readLine()) != null )
                             outputLine = QP.processInput(inputLine);
                             out.println(outputLine);
                             System.out.println(inputLine);
                             System.out.println(current.toString());
                             /* additional..if doesn't work delete this code*/
                             while ((ToClient = in.readLine()) != null)
                                  System.out.println("Server: " + ToClient);
                                  if (ToClient.equals("Bye."))
                                  break;
                   /* delete up to break*/
                        if (outputLine.equals("Bye."))
                             break;
    out.close();
    in.close();
    clientSocket.close();
    myserverSocket.close();
    Could someone with the expertise advise me what shall i do?
    Thank you very much.
    Audrea.

    Thanks for the quick reply...
    Here is the code with correct open/close braces...
    import java.net.*;
    import java.io.*;
    import java.util.*;
    class QuoteServer
    public static void main(String[] args) throws IOException
    ServerSocket myserverSocket = null;
    try
    myserverSocket = new ServerSocket(4998);
    } catch (IOException e)
                        System.err.println("Could not listen on port: 4998.");
                        System.exit(1);
    Socket clientSocket = null;
    try
    clientSocket = myserverSocket.accept();
    } catch (IOException e)
                        System.err.println("Accept failed.");
                        System.exit(1);
                   PrintWriter out = new PrintWriter(clientSocket.getOutputStream(), true);
                   BufferedReader in = new BufferedReader(
                   new InputStreamReader(
                   clientSocket.getInputStream()));
                   String inputLine, outputLine;
                   QuoteProtocol QP = new QuoteProtocol();
                   outputLine = QP.processInput(null);
                   Date current = new Date();
                   out.println(outputLine);
                   String ToClient;
                   while ((inputLine = in.readLine()) != null )
                             outputLine = QP.processInput(inputLine);
                             out.println(outputLine);
                             System.out.println(inputLine);
                             System.out.println(current.toString());
                             /* additional..if doesn't work delete this code*/
                             while ((ToClient = in.readLine()) != null)
                                  System.out.println("Server: " + ToClient);
                                  if (ToClient.equals("Bye."))
                                  break;
                   /* delete up to break*/
                        if (outputLine.equals("Bye."))
                             break;
    out.close();
    in.close();
    clientSocket.close();
    myserverSocket.close();
    Line 60 starting from out.close(); onwards.
    Please help..
    Thanks a lot.
    Audrea.

  • Please Help on Reading Binary file

    I'm trying to read a binary file and find a string like "DE F0 CA 01"
    i'm new for java and looked in the forum for solution without success
    please help
    best regards
    gebi

    now i can read the binary file, my problem is now to find the position of byte sequence in the file
    here is my code, may be it helps
    import java.io.*;
    public class ReadBinary
         public static void main(String f[])
              FileInputStream fis;
              DataInputStream dis;
              String value;
              char charIn;
              try
                   fis = new FileInputStream(f[0]);
                   dis = new DataInputStream(fis);
                   System.out.println("file " + f[0]);
                   while (dis.available() > 0)
                        value = Integer.toHexString(dis.read());
              catch (EOFException eof)
                   System.out.println("EOF reached");
              catch (IOException ioe)
                   System.out.println("IO Error " + ioe);
    }best regards
    gebi

  • D2445 Problem - Won't Align, Please help! Read for details..

    Hello all,
    thanks ahead of time for any suggestions/help. We have a D2445 Printer here at our dealership that we use to print out pictures (our designated photo printer). It's worked great for the past few years, seeing use about once or twice a week.
    We usually only use the standard 22/21 cartridges, but there was an ink sale at office depot and we sprung for the Tri-Color photo cartridge. The printer has printed about 70 images with the tri-color cartridge and it finally gave out. We went to replace it with a black 21 and now it will not align to save my life. And everything that prints out is WAYY OFF. The crazy thing is, it was working fine literally minutes before we replaced the tri-coor cartridge. I've tried re-aligning numerous times, doing all levels of cartidge cleaning, unhooking the printer from the computer, unhooking the power from the printer, restarting the computer, re-seating the cartridges, everything except re-installing the drivers (which I dont think would be the issue). I'm tempted to go purchase another tri-color cartridge and see if that works, but it was printing fine for years with the 22/21 setup! And I was literally printing out perfect photos with the tri-color cartridge up until it ran out of ink, with less than 10 minutes between printing the last good photo with the tri-color cartridge and installing the 21 and having all of these issues.
    Has this printer finally met its match?
    Thanks,
    BR
    If anyone can please point me in the right direction that would be excellent. Thanks!

    You have three choices:
    1.Go to Apple or Firedog (in Circit City) and pay to retreive your data and restore your iPod
    2.If the computer can read the iPod, get Aimersoft iPod Copy Manager and save your data to a folder then open Explorer or whatever you use in Mac to save other files
    3.Get a new iPod....
    I hope this helps! azureVinh.webs.com

  • Using Windows 7, I get an error message 4310 when trying to burn a CD from a playlist.  I ran diagnostics and everything was ok.  Please help.  Reading previous posts haven't helped.

    I have read all of the other postings and they haven't helped.
    When I ran diagnostics here is what I got:
    Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
    Dell Inc. Inspiron 5720
    iTunes 11.0.4.4
    QuickTime not available
    FairPlay 2.4.14
    Apple Application Support 2.3.4
    iPod Updater Library 10.0d2
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 6.1.0.13
    Apple Mobile Device Driver 1.64.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 0015B7001238F790
    Current user is not an administrator.
    The current local date and time is 2013-08-11 10:02:22.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    Intel Corporation, Intel(R) HD Graphics 4000
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: 2a1c5ee63a68f4be6bc96c5266eed869
    iPodService 11.0.4.4 (x64) is currently running.
    iTunesHelper 11.0.4.4 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** CD/DVD Drive Tests ****
    LowerFilters: iaStorF (11.5.0.183),
    UpperFilters: GEARAspiWDM (2.2.3.0),
    D:   PLDS DVD+/-RW DS, Rev 
    Audio CD in drive.
    Found 11 songs on CD, playing time 42:48 on Audio CD.
    Track 1, start time 00:02:00
    Track 2, start time 03:52:30
    Track 3, start time 06:59:54
    Track 4, start time 11:40:47
    Track 5, start time 15:15:38
    Track 6, start time 19:31:39
    Track 7, start time 22:52:55
    Track 8, start time 26:38:36
    Track 9, start time 30:28:61
    Track 10, start time 33:35:27
    Track 11, start time 38:20:39
    Audio CD reading succeeded.
    Get drive speed succeeded.
    The drive CDR speeds are:   8 16 24 32 40.
    The drive CDRW speeds are:   8.
    The drive DVDR speeds are:   8.
    The drive DVDRW speeds are:   8.
    The last failed audio CD burn had error code 4310(0x000010d6). It happened on drive D:   PLDS DVD+/-RW DS on CDR media at speed 24X.

    Hello Princess Lynne Anne,
    Thank you for using Apple Support Communities
    First I recommend taking a look at this article named iTunes: Music purchased from iTunes Store cannot be burned to MP3 format CD found http://support.apple.com/kb/TS1476.
    Songs purchased from the iTunes Store may either be in AAC format or AAC Protected format depending on when they were purchased (older songs used AAC Protected format). You can convert AAC songs to MP3 format allowing them to be burned to an MP3 format CD, however AAC Protected songs can not be converted. You can, however, back them up to a data CD or DVD, or you can burn them to an audio CD (which can be played in a CD player).
    And if your issue still persists after converting any of these purchases, then I would recommend this part of the article named Disc Burning Quick Assist found here http://support.apple.com/kb/HT1152#learn2:
    Top troubleshooting tips
    In addition to the following tips, check out these articles:
    Solving problems with burning discs
    If the disc burning options are dimmed or unavailable
    If a burn does not succeed, check the disc or try another disc
    Eject the disc from the drive and inspect it to see if the surface is dirty or scratched, or if it already has data written on it (the shiny surface is slightly darker where data has already been burned). If it's dirty, wipe it clean with a soft, damp cloth and try burning again. If the disc already contains data, try another disc. If you're using a rewritable disc that already contains data, be sure to erase it before burning data on it again. Small flaws or surface inconsistencies can cause an unsuccessful burn. Try burning your content to another disc or try a different brand of disc (if possible).
    Make sure that your optical drive can record discs
    If your drive is built into your Mac, make sure that you have at least a Combo Drive if you want to burn a CD or a SuperDrive if you're trying to burn a DVD (or CD). Consult your Mac manual or your third-party manufacturer's disc drive manual for more information.
    Check the disc type
    Make sure that your disc drive is capable of writing to your media at hand. For example, you won't be able to burn a DVD+RW disc with an older Apple SuperDrive. Consult your Apple or third-party product manual for your drive's supported media specifications. You should also use discs that are rated for the burn speed of your drive.
    Slow things down
    In the Burn dialog, specify a burn speed that is slower than the maximum speed rating for your disc drive (if you can) and try burning another disc.
    Free up some memory
    If you've got other applications open, quit the ones that you're not using (or quit them all except for the one from which you're burning your disc). Allow the disc to burn before doing other things on your computer.
    Check your hard drive's available space
    When you burn a disc, your Mac temporarily sets aside an amount of hard disk space equal to the amount of data being burned to the disc. If you're burning a large amount of data, you may run out of room on your hard disk if it's almost full, which may prevent a disc from burning. To free up space, throw out unwanted files or back up files to an external drive.
    Restart your computer
    Sometimes a simple restart can resolve issues. Once you've restarted your Mac, try burning another disc again.
    Update your software
    Use Software Update (from the Apple menu, choose Software Update) to check for, download, and install the latest versions of your Apple software. If you're using a third-party burner, visit the manufacturer's website for the latest software updates for your model.
    Check your connections
    If you're using an external disc writer, make sure that all of your cable connections are secure and that the optical drive is powered on.
    Cheers,
    Sterling

  • Please HELP me read this file....!

    I am having trouble reading the file input.dat using this code that I wrote. It compiles without errors but I get an ArrayIndexOutOfBounds Exception when i run my program.
    public void Read(String fileName) {
                    try {
                            String num;
                            String cells;
                            FileReader file = new FileReader(fileName);
                            BufferedReader in = new BufferedReader (file);
                            num = in.readLine();
                            number = Integer.valueOf(num).intValue();
                            co = new ClassObject[number];
                            pair = new PairObject[number * number];
                            System.out.println("There are " + number + " total classes");
                            int cno = 1;
                            int x =0;
                            int y =0;
                            while (in.readLine() != "*") {
                                for (int b=0; b<number; b++){
                                   co[b] = new ClassObject();
                                   co.className = in.readLine();
    co[b].classNumber = cno;
    while (in.readLine() != "$"){ //problem occurs here
    co[b].classAttribute[x] = in.readLine();
    x++;
    while (in.readLine() != "#"){
    co[b].classMethod[y] = in.readLine();
    y++;
    cno++;
    } catch (IOException e) {
    System.out.println("Warning: Cannot Read File");
    System.exit(0);
    }and here is my input file (input.dat): 5
    class1
    int someInt
    $
    getInt()
    class2
    String anyString
    $
    getString()
    class3
    int value
    $
    setValue()
    class4
    char someChar
    $
    getChar()
    class5
    float someFloat
    $
    getFloat()
    * thanks so much for any help!

    Hi, I changed some part of my code but I am still having the same problem. Here is my new code, hopefully somebody can help me figure this out String line = in.readLine();
    while (!"*".equals(line)) {
          for (int b=0; b<number; b++){
           co[b] = new ClassObject();
           co.className = line;
    co[b].classNumber = cno;
    while (!"$".equals(line)){
    co[b].classAttribute[x] = line;
    x++;
    while (!"#".equals(line)){
    co[b].classMethod[y] = line;
    y++;
    cno++;

  • PLEASE HELP ME to put an image over a background image !!

    Hello,
    I need help on my AWT program. I have a map being displayed, and would like an image of a car (car.gif) to be displayed over the image of the map.
    So my question is: How do I make this map a background image, and put the picture of the car right over it. I need my map loaded all the time, and the picture of the car will be reloaded many times over the same map, so a class method to load this map would be perfect. Any help, code, or suggestions would be great. Thanks so much!
    Here is what I currently have for my map.
    import java.awt.*;
    import java.awt.event.*;
    public class MyImage extends Panel {
        private Image im = null;
        Graphics g;
        public void getMap(){
          im = Toolkit.getDefaultToolkit().getImage("C:\\test_map.gif");
             MediaTracker tracker = new MediaTracker(this);
             tracker.addImage(im,0);
             try {
                 tracker.waitForID(0);
             }catch (InterruptedException e){}
                 repaint();
       public void paint(Graphics g){
            this.g = g;
             if (im != null)     {
                g.drawImage(im,0,0,this.getWidth(),this.getHeight(),this);  //706,397
        }

    Look at this sample, the car will start when the button will be pressed, and stop on the next press.
    import java.awt.event.*;
    import java.awt.*;
    public class UsaTrip extends Frame 
         mapPanel map   = new mapPanel();
         Button   move  = new Button("Move");
         TheMover mover = null;
    public UsaTrip()
         addWindowListener(new WindowAdapter()
        {     public void windowClosing(WindowEvent ev)
              {     dispose();
                   System.exit(0);}});
         setBounds(10,10,500,400);
         setLayout(new BorderLayout());
         add(map,BorderLayout.CENTER);
         add(move,BorderLayout.SOUTH);
         move.addActionListener(new ActionListener()
         {     public void actionPerformed( ActionEvent e )
                   if (mover == null)
                        mover = new TheMover(map);     
                        move.setLabel("Stop");          
                   else
                        mover.end();
                        mover = null;     
                        move.setLabel("Move");          
         setVisible(true);
    public class TheMover extends Thread
         mapPanel map;
         boolean  go   = true;
         int      spin = 0;
    public TheMover(mapPanel m)
         map = m;
         start();
    public void end()
         go        = false;
    public synchronized void run()
         while (go)
              map.moveCar();
              try     {sleep(100);}
              catch(InterruptedException i){}
    public class mapPanel extends Panel
         Image map;
         Image car;
         int   x=10,y=30;   
    public mapPanel()
         map = getToolkit().getImage("usa.gif");
         car = getToolkit().getImage("home24.gif");
         MediaTracker tracker = new MediaTracker(this);
         tracker.addImage(map,0);
         tracker.addImage(car,0);
         try   {tracker.waitForID(0);}
         catch (InterruptedException e){}
    public void moveCar()
         repaint(x,y,25,25);
         x++;
         repaint(x,y,25,25);
    public void update(Graphics g)
         paint(g);
    public void paint(Graphics g)
         Rectangle r = g.getClipBounds();
         g.drawImage(map,r.x,r.y,r.x+r.width,r.y+r.height,
                              r.x,r.y,r.x+r.width,r.y+r.height,this);
         g.drawImage(car,x,y,this);
    public static void main(String[] args )
         new UsaTrip();
    Noah
    import java.awt.event.*;
    import java.awt.*;
    public class UsaTrip extends Frame
         mapPanel map = new mapPanel();
         Button move = new Button("Move");
         TheMover mover = null;
    public UsaTrip()
         addWindowListener(new WindowAdapter()
    {     public void windowClosing(WindowEvent ev)
              {     dispose();
                   System.exit(0);}});
         setBounds(10,10,500,400);
         setLayout(new BorderLayout());
         add(map,BorderLayout.CENTER);
         add(move,BorderLayout.SOUTH);
         move.addActionListener(new ActionListener()
         {     public void actionPerformed( ActionEvent e )
                   if (mover == null)
                        mover = new TheMover(map);     
                        move.setLabel("Stop");          
                   else
                        mover.end();
                        mover = null;     
                        move.setLabel("Move");          
         setVisible(true);
    public class TheMover extends Thread
         mapPanel map;
         boolean go = true;
         int spin = 0;
    public TheMover(mapPanel m)
         map = m;
         start();
    public void end()
         go = false;
    public synchronized void run()
         while (go)
              map.moveCar();
              try     {sleep(100);}
              catch(InterruptedException i){}
    public class mapPanel extends Panel
         Image map;
         Image car;
         int x=10,y=30;
    public mapPanel()
         map = getToolkit().getImage("usa.gif");
         car = getToolkit().getImage("home24.gif");
         MediaTracker tracker = new MediaTracker(this);
         tracker.addImage(map,0);
         tracker.addImage(car,0);
         try {tracker.waitForID(0);}
         catch (InterruptedException e){}
    public void moveCar()
         repaint(x,y,25,25);
         x++;
         repaint(x,y,25,25);
    public void update(Graphics g)
         paint(g);
    public void paint(Graphics g)
         Rectangle r = g.getClipBounds();
         g.drawImage(map,r.x,r.y,r.x+r.width,r.y+r.height,
                   r.x,r.y,r.x+r.width,r.y+r.height,this);
         g.drawImage(car,x,y,this);
    public static void main(String[] args )
         new UsaTrip();

  • Please help beginner with CSS background-image

    I'm using Dreamweaver CS4. I set up a local site  on my computer. D:Data\Local_sites\Gravity_Works. Under this directory using Dreamweaver I created 3 folders -  css, images and Templates. In the images folder I have an image -  bg_body_winter.jpg. In the Templates folder I have Gravity-Works-Home01.dwt . I created a new page form the template file and named it index-test01.html and saved it directly in the Gravity_Works folder
    I have this css code in a linked css file in the css folder :
    body {
        background: url(/images/bg_body_winter.jpg) no-repeat scroll center top #C1CAD6;
    body  {
        font: 100% Verdana, Arial, Helvetica, sans-serif;
        margin: 0;
    I uploaded the site to a test folder on my server at fatcow.com. You can see the page using the link below.
    http://www.openrangeimaging.com/Test/Gravity-Test/index-test01.html
    The image appears as it should in Dreamweaver Live View. It does not appear in Design view. It also does not appear when previewing the local file in a browser. The image does not appear when looking at the index-test01.html file thats on the server using the link above. The background-color I specified shows up but not the image.
    I'm confused about how I should name the path to the image. I beleive  it should be site root relative so that no matter where I upload the site,  the image can be found. Can anyone tell me how I should name the path to the image correctly.
    I feel like I should know how to do this and have searched around in the online help and the tutorial books I have but I'm just not getting it.
    TIA for any help.

    body {
        background: url(/images/bg_body_winter.jpg) no-repeat scroll center top #C1CAD6;
    Using a site root relative path, means the server will look for the images folder at
    http://www.openrangeimaging.com/images
    Try using a doc relative path while you're testing (remove the leading / from the path).

  • Please help with reading fixed-length file

    I am reading a fixed-length file from a batch program and I need to read through each line, parsing out records in each, and replacing the first character in each line after I finish processing. I am using a RandomAccessFile, but I am not sure if this is best for my needs.
    Here is essentially the code that I am using:
    RandomAccessFile raf = new RandomAccessFile(File, "rw");
    int pointer = 0;
    int recordLength = 65;
    int counter = 0;
    string test = "X";
    pointer = raf.getFilePointer();
    while ((line = raf.readLine()) != null) {
    //set file pointer
    seek(counter * recordLength);
    counter ++;
    if (line.substring(0, 1).equals(test)) {
    continue;
    var1 = line.substring(7, 22);
    var2 = line.substring(23, 41);
    var3 = line.substring(42, 52);
    var4 = line.substring(53, 53);
    //PROCESSING
    raf.writeChar(test);

    Thanks for the suggestion. I think that the
    BufferedReader is the way that I will go. Do you
    happen to know the best way to update the 1st Char of
    each line as I'm reading each line using Buffered
    Writer?Hi,
    To update the first char of each line, you could read each line of the file into a StringBuffer, modify the value, and then write the value back out to the file.
    I had to do something similar.
    eg.
    StringBuffer buf = new StringBuffer();
    BufferedReader in = new BufferedReader(
        // data file source
    new FileReader(db_location));
    String s;
    // while there are still items to read
    while ((s = in.readLine()) != null)
        System.out.println("reading file");
        // split into component parts so we can modify
        StringTokenizer t = new StringTokenizer(s,",");
        int id = Integer.parseInt(t.nextToken());
        String code = t.nextToken();
        int quantity = Integer.parseInt(t.nextToken());
        // copy component parts into StringBuffer
        buf.append(id+",");
        buf.append(code+",");
        buf.append("\n");
         // use StringBuffer methods here to isolate first character
         // use StringBuffer methods to replace first value of input in buffer
         // eg.
              buf.replace(index,length,","+ new_code);
    // print out the StringBuffer to rewrite updated file
    PrintWriter output = new PrintWriter(
        new BufferedWriter(
        new FileWriter(db_location, false)));
    output.println(buf.toString());
    output.close();As always, there is more than one way to skin a cat. But this is my way.
    I think that JDK 1.4 has some new methods, but not 100% sure of that.
    //Daniel.

  • Please help, why if fade on images so sloow

    Hi all,
    I'm sorry for crossposting but javafx is too slow for simplest fade in effect, and no one is here to help me :( :( :(
    the original post is here: http://forums.sun.com/thread.jspa?threadID=5365155
    it even has points if anyone is willing to help.
    I reall think that such a simple effect should'nt be slow (especialy with d3d).

    The code is in the original post
    http://forums.sun.com/thread.jspa?threadID=5365155
    I've made this one because there were no answers there,

Maybe you are looking for

  • How do i update iphone 4 without losing my apps or music

    how do i update my iphone 4 without losing apps data music

  • Combine Files Crashes on Adobe Acrobat 10

    Hello, I am running Windows 7 x64 and when I attempt to combine files I get the error "Adobe Acrobat has stopped working". Below are the Problem details. Problem signature:   Problem Event Name: APPCRASH   Application Name: Acrobat.exe   Application

  • Server 2.2 and AD Profile Manager issues

    The Server 2.2 update lets you use AD users inside of AD groups (YAY!)  My problm is after the update the web interface in Profile Manager will not list groups or users anymore, it slows down to a crawl and errors out.  I also can't add "network user

  • How to define mapping from multiple files to Oracle Tables in 9i

    Around 100-200 Flat files are created every 30 minutes and each filename is different - Filename has datetime Stamp as part of the file name apart from the product code as first 12 characters. Can anyone guide me in How to define mappings to these fi

  • CK40N - Cost estimates with errors - Error message roll-up

    Good morning, i need to roll-up error messages from components to top-level codes. Now if a component is costed with errors (status KF) it happens that its top-level code is costed without errors (status KA). We lose time using CS15 to check componen