Need some help quickly, please!

I'm not exactly sure where to post the following, so I'm sorry if it's in the wrong place!
So I helped my sister order an iBook and an iPod nano thinking the nano qualified for the Free iPod promotion. Anyways, it's not qualified so I want to cancel it.
So here's where I'm unsure about some stuff:
After I realized it wasn't part of the promotion, I went to my order status (my sister's actually, I made her an account) to try to cancel the nano. There was no button to review or change it.
I noticed the status of the iBook said 'shipped' and the nano was 'processing order'. I'm guessing there was no change/review button because the iBook was shipped already? The Apple Customer Service closed and the order status on the nano changed to 'preparing shipment'.
Ok, so, I'm gonna need to call Apple Customer Service in the morning and would like to know:
What are my chances of being able to cancel it? By the way, the nano needs to be custom engraved so I'm hoping I can get it canceled before it does. Also, do you think I will be able to change the nano to the mini and still qualify for the promotion?
Oh, one more thing: I am calling on behalf of my sister, so am I still able to cancel it for her? I do have all of the neccessary information.
Any replies would help! the anxiety is getting to me!

I ordered an iBook with extra 20Gb and an engraved iPod on 4th September. From the second after I ordered it until it was "shipped" the tracking system said it was "processing order". It was "shipped" 4 days later on 8th September. There was no in between such as "sent to manufacturing" or anything like that and believe me I was checking every hour of every day almost!! The tracking showed that my iBook was ready before my iPod and was shipped on its own to Europe without the iPod. The iPod significantly held the order up (I'm assuming it was cos it was engraved) so chances are you can still cancel it. Only thing is, even if you can cancel it, you may not qualify for the £100 rebate unless you can get them to actually change it to an iPod mini as you have to have them both appear on the same invoice in order to qualify. So if they say you can cancel it and then suggest you place another order for the mini separately that will be no good.
My book and pod eventually arrives on 19 Sep, 15 days after I placed the order in case you're interested.

Similar Messages

  • Array to grid works but need some help. Please help the beginner...

    Hi,
    I'm very green at this...
    I've been trying to display a two-dimmensional array on a dataGrid and finally found some code that I was able to modify to my needs.
    However couple things I don't understand.
    1. Do I need the <s:itemRenderer>...</s:itemRenderer> section to display the data? Can this be simplified?
       I don't need to change the default look of the columns etc. However it looks like the grid will not populate without that prepare() function.
       Why isn't this sufficient to populate the grid? -> dataGrid.dataProvider = new ArrayCollection(dataArray);
    2. The number of columns is hardcoded (3) and their headings are as well (N1, N2, N3).
       Can I show/hide columns at runtime based on number of columns in my array?
       Can I rename the column's headings at runtime?
    Thanks,
    Tom
    here's the code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
        <fx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import spark.components.gridClasses.CellPosition;
                import spark.components.gridClasses.CellRegion;
                // Create a dataProvider whose items are arrays of 6 random numbers. 
                // The DataGrid's item renderer will display item[columnIndex].
                private function initializeDataProvider():void
                    const nRows:int = 10;
                    const nCols:int = 3;
                    const dataArray:Array = new Array(nRows);
                    for (var row:int = 0; row < dataArray.length; row++)
                        var values:Array = new Array(nCols);
                        for (var col:int = 0; col < values.length; col++)
                            values[col] = Math.round(Math.random() * 10);
                        dataArray[row] = values;
                    dataGrid.dataProvider = new ArrayCollection(dataArray);
            ]]>
        </fx:Script>
        <s:DataGrid id="dataGrid" selectionMode="singleRow" initialize="initializeDataProvider()">
            <s:itemRenderer>
                <fx:Component>
                    <s:DefaultGridItemRenderer>
                        <fx:Script>
                            <![CDATA[
                                   override public function prepare(hasBeenRecycled:Boolean):void
                                   label = data[columnIndex];
                            ]]>
                        </fx:Script>
                    </s:DefaultGridItemRenderer>
                </fx:Component>
            </s:itemRenderer>
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn headerText="N1" width="50"/>
                    <s:GridColumn headerText="N2" width="50"/>   
                    <s:GridColumn headerText="N3" width="50"/>   
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
        <s:Button id="cmd" x="128" y="502" width="122" label="Button" click="initializeDataProvider()"/>
    </s:View>

    Hi fouriron,
    Does this help?
    Formula in E2 (and Fill Down)
    =IF(D2<10,10, D2)
    If a value in column D is less than 10, then insert 10, else insert the value from column D
    The "correct" value (SUM) is in  column D
    The "required" Answer is in column E
    Regards,
    Ian.

  • Fried RAM slot?  Really need some help quick.

    Hi guys. I have a major problem on my hands, that I hope you may be able to help me solve...
    I have been working on a deadline for the production of a DVD that will be used as part of a mental health outreach program, and all had seemingly been going well, albeit slow with my OEM 512MB of RAM. I therefore decided to upgrade my RAM, first buying two 512MB DIMMS from macsolutuons, but these DIMMS produced crashes almost religiously after 5 or so minutes of uptime. After receiving a new shipment, ensuring they were from the same batch, all seemed to be well. The computer stayed up for days without crash - but when I put a load on it, namely video encoding to DV stream and to MPEG-2, poof - hard crashes.
    I decided the RAM from macsolutions looked generic and suspected if I bought some real RAM I'd be safe. I purchased Viking RAM form macmall, three 512MB DIMMS, overnighted so I can make this deadline.
    Here's the catch...
    If I use all three DIMMS, the computer crashes in less than 5 minutes of uptime religiously. If I use two of them, the computer seems to stay up without problems, but when it sees a load like video conversion places on the system, it locks up. When I remove all RAM, so only one 512MB DIMM is present, I can encode video, and I don't seem to get crashes.
    When I bought the machine from Apple some two years ago, it came with one 512MB DIMM. I'm only hypothesizing here, but is there a chance that I received a machine that has a RAM slot 1 that's fine, but there's something wrong with slot 2 (or even 2, 3, 4)? In theory, when just surfing or using standard apps, the first slot meets the RAM need, but when more RAM allocation is needed under hard processes, and the system feeds off of slots beyond #1, then I crash. MenuMeters is installed so I can monitor RAM use, and sure enough, I mainly get crashes as my used RAM approaches 480-500MB.
    It's really urgent that I get to the bottom of this issue sooner than later, so I can finish this project to meet my deadline. Assuming slot 2 and so forth are bad, could I use a single 1GB DIMM module?
    Any advice is greatly appreciated. If i can repay the favor in any way, I'd be glad to.

    I suspected the RAM as well, however when I use only one DIMM I get zero crashes. I have used each of the three DIMMS for one day each now, and no crashes, but the second I add another ino the configuration crashes occur. While I agree that cheap RAM is often the culprit, to me all signs point to a faulty slot 2.
    I think I'll try getting a 1G RAM DIMM and only use slot 1 and see how that goes. Too bad, because I could really use more than 1G.

  • I need some help here please!

    i am working on a website thats going to be a friend loop
    such as facebook myspace classmate etc. im in the proccess of
    making the site now and i was wondering what i need to to to enable
    useres to be able to login and create a profile page on my site?
    how can i do this using DW2004 what am i looking at here? also
    anyone who would be interested in helping e-mail
    [email protected] we have the site up on a server but we are
    far from done

    > such as facebook
    > myspace classmate etc. im in the proccess of making the
    site now and i was
    > wondering what i need to to to enable useres to be able
    to login and create a
    > profile page on my site?
    hire a team of skilled programmers, put them in a cage and
    toss money at
    them.
    or spend a lot of time learning how to do it yourself.
    or try a free or commercial pre-written application
    http://www.hotscripts.com/search/?q=myspace&cat=All&page=1&sort=&license_typ
    e=free
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • I am Student and having a huge problem need some help quick!!!

    Hello I am student in college and i am developing a file share portal for my final year project using Flex 3 on the client side, java on the server side, hibernate for ORM, Sping MVC and My Sql 5. I am having a bit of a problem parsing this:
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4
    Content-Disposition: form-data; name="Filename"
    Flex3.txt
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4
    Content-Disposition: form-data; name="action"
    upload
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4
    Content-Disposition: form-data; name="file"; filename="Flex3.txt"
    Content-Type: application/octet-stream
    Flex 3 can be a pain in the arse!!!!!!
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4
    Content-Disposition: form-data; name="Upload"
    Submit Query
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4--
    This is my Java code:
    package com.file.exchange.service;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.InputSource;
    import java.io.*;
    import java.sql.Blob;
    import com.file.exchange.vo.Files;
    import java.util.Date;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.File;
    import org.apache.commons.fileupload.*;
    import org.apache.commons.fileupload.disk.*;
    import org.apache.commons.io.*;
    import org.apache.commons.fileupload.servlet.*;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.ListIterator;
    import javax.imageio.ImageIO;
    import javax.imageio.ImageReader;
    import javax.imageio.stream.ImageInputStream;
    import org.apache.commons.fileupload.util.FileItemHeadersImpl;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class FileUpload extends FileBaseService
         InputStream in = null;
         OutputStream out = null;
         ByteArrayOutputStream bout = null;
         @SuppressWarnings("unchecked")
         @Override
         protected String getXmlFromOperation(HttpServletRequest request,HttpServletResponse response) throws Exception
              int readBytes = -1;
    int length = request.getContentLength();
    in = request.getInputStream();
    byte[] buffer = new byte[length];
    bout = new ByteArrayOutputStream(length);
    while((readBytes = in.read(buffer, 0, length)) != -1) {
    bout.write(buffer, 0, readBytes);
    byte[] inData = bout.toByteArray();
    FileOutputStream fos = new FileOutputStream("C:/Documents and Settings/Andrew Hobbs/Desktop/helloworld.txt");
    for(int i=0; i<inData.length; i++)
    fos.write(inData);
    fos.close();
              DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
              Date date = new Date();
              String data = "Hello";
              String id = "1";//getCharacterDataFromElement(vID);
              String name = "meh";//getCharacterDataFromElement(vname);
              String type = "1";//getCharacterDataFromElement(vtype);
              String size = "5555";//Long.toString(fileObject.length());//getCharacterDataFromElement(vsize);
              Blob content = org.hibernate.Hibernate.createBlob(data.getBytes());//fisFile);//data.getbytes[]
              String date_uploaded = dateFormat.format(date);
              Files file = getFileDao().uploadFile(Integer.parseInt(id), name, type, Integer.parseInt(size), content, date_uploaded);
              return file.toXml();
    I will so grateful if somebody could point me in the right direction with this or point me to possible examples of parsing this!
    Thanks

    Let me warn you up front: never mark your questions as urgent. People really don't care how urgent it is to you, and will likely only irritate them enough to not want to help you. Lucky for you, I couldn't care less ;)
    you seem to want to get an uploaded file using FileUpload. Did you see the user guide on how to do this? You seem to be going about it in completely the wrong way.
    [FileUpload user guide|http://commons.apache.org/fileupload/using.html]
    Also:
    FileOutputStream fos = new FileOutputStream("C:/Documents and Settings/Andrew Hobbs/Desktop/helloworld.txt");Hardcoded paths in your code? Not very portable is it. I would define paths in a properties file. Read this:
    [smartly loading properties|http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html]

  • Need some help/advice please

    Hi,
    I am trying to fix a friends computer. She has a MS-6385 m/b but the keyboard does not work. When trying to boot to ME. you just hear clicks when pressing a key.
    If I boot from a W98 disk, I get a beep on each keypress. The CPU seems fine as it will load the W98 boot disk OS.
    I was going to try a PS2 to USB converter, but the manual implies that the USB keyboard is disabled by default and I cannot get into the the BIOS to change it.
    So I am asking for any advice as to how and try to fix this, or should I just bin the m/b and try and get another socket 423 m/b with rambus slots.
    TIA

    Using my keyboard though a KVM switch, which works fine on my network, so its not the kbd. I reckon the ps2 connection has gone belly up, so I'm stuffed for a fix.
    Looks like I will need to get another board, I have found a 6339 board, which I might use or get the Asus P4t board.

  • ITunes Match is driving me nuts! I need some help here please!

    iTunes Match hast been stuck in the Step 2 forever, 17286 out of 17287 Songs Checked, it will always get stuck there, and this is everything I've tried so far to solve the issue:
    1) Stopping the process, and turning it back on again.
    2) Updating iTunes Match in the Store Menu.
    3) Signing out of the iTunes Store and signing back in.
    4) Quiting iTunes and restaring the application.
    5) Restarting the Mac.
    6) Converting all the "Waiting" iCloud Status songs to ACC 256 VRB kbps Version, deleting the originals, keeping just the converted ones.
    But nothing seems to work, it will just stay there and do nothing.
    I've managed to Match 13193 songs and Upload another 2964 songs, but once it has stopped uploading and here I am.
    Guys, if something similar has happened to you, and you've figured it out by doing something I haven't tried yet, please let me know, it will be much appreciated.

    Try the dedicated iTunes Match forum: https://discussions.apple.com/community/itunes/itunes_match

  • Need some help publishing please!

    Does anyone know how to fix this error?
    iweb/site/welcomefiles/navbar-separator1.png
    It pops up when trying to publish.
    I understand that it has something to do with my welcome page nav bar but I have no idea the details.
    Thanks!!
    belizegal

    If your error message is always the same, and always listing the same file as the problem, this is what I would try:
    Create a new page using the same template as the problem page.
    Use copy and paste to move all your personalized items (Pictures, text frames, etc) to the new page. Don't copy anything on the navbar.
    Once you have done this, delete the problem page.
    Try publishing.
    I would wait to change the new page's name to that of the old page until you have published once.
    I can't guarantee that it will work, but that is how I fixed a similar publishing error many months ago.
    Kabing

  • Need some help here please

    My computer was sent away for repairs and among other things (it was a very sick computer) it was reformatted. When I got my computer back I downloaded iTunes and plugged my iphone in. It recognised that i had a iphone and an account but I cannot do anything with it on itunes - I cant move the apps around, I cant put music on - nothing. If anyone knows how to fix this little it would be greatly appreciated.
    P.S I am about as far from computer savvy as you can get so step by step instructions would be a bonus lol

    By design, the iphone will sync itunes content with one computer at a time. Any attempt to sync such content with a second computer will result in ALL itunes content being first erased from your phone & then replaced with the content from the second computer. This is a design feature and cannot be overridden. The itunes content sync is one way: computer to phone. If you have photos that were synced to your phone or music ripped on your own that were not backed up, you will first have to extract them from your phone using third party software:
    http://www.wideanglesoftware.com/touchcopy/index.php
    Once you've done that, do the following in the order specified:
    1. Disable auto sync when an ipod/iphone is connected under preferences in itunes, which in windows is under the edit menu.
    2. Make sure you have one contact & one event in whatever programs you use for that purpose on your computer. The entries can be fake, doesn't matter, the important point is that these programs not be empty.
    3. Connect your phone, itunes running, do not sync at this point.
    4. Store>Authorize this computer.
    5. File>Transfer Purchases(To make sure all purchased content on your phone will be in your itunes library).
    6. Right click in the device pane & select reset warnings.
    7. Right click again and select backup.
    8. Right click again & select restore from backup, select the backup you just made. When prompted to create another backup, decline.
    9. This MUST be followed by a sync to restore your itunes content, which you select from the various tabs, You'll get a popup regarding your contacts & calendars asking to merge or replace, select merge.
    That's as good as it gets without a backup of your itunes library.

  • Remote App on iPad connects but drops after about  20 mins. Need to turn  off wait about 1 minute then turn on wifi on iMac before it can reconnect. Need some help please.

    Remote App on iPad connects but drops after about  20 mins. Need to turn  off wait about 1 minute, then turn on wifi on iMac before it can reconnect. Need some help please.
    Already gone through troubleshooting guide a zillion times. Thanks.

    This worked for me... A little time consuming but once you get rolling it goes GREAT... Thanks....
    I got my artwork and saved it to my Desktop
    Opened up Microsoft Paint and clicked on "File" and "Open" and found it to get it on the screen to resize it
    Clicked "resize" and a box for changing it opened up
    Checked the box "Pixels" and "Unchecked maintain aspect ratio"
    Set Horizontal for 640 and Vertical for 480
    Clicked on "OK" and went back to "File" and did a "Save As" and chose JPEG Picture
    It came up "File Already Existed" and clicked "OK" (really did not care about the original artwork I found because wrong size)
    Went to iTunes and on the movie right clicked on "Get Info", clicked on "Details", then "Artwork"
    Go to the little box on the top left that shows your old artwork and click on it to get the little blue border to appear around it and hit "Delete" to make it gone
    Click on "Add Artwork" and find it where you put the one from above on your Desktop and hit "Open" and OK and your new artwork is now there and all good.
    Sounds like a lot of steps to follow but after around 5 or so you will fly through it. This worked perfect on my iPhone 6 Plus and I have artwork on my Home Videos now.

  • Hi! I got movies on my external hard drive that are AVI kind and won't play on my macbook pro? need some help please!!

    Hi! I got Movies on my external hard drive that are AVI kind and won't play on my macbook pro? When I start playing the movie a message pops up and says "a required codec is not available". I tried flip4mac, xvid, divx already and still not playing my video. need some help please!! thanks.

    Although vlc mentioned above is a much more powerful and better player you could try installing Perian if you insist on using the quicktime player.  It may supply the codec it needs.
    Not sure why you wouldn't be able to play straight avi files though in quicktime.

  • Please I need some help with a table

    Hi All
    I need some help with a table.
    My table needs to hold prices that the user can update.
    Also has a total of the column.
    my question is if the user adds in a new price how can i pick up the value they have just entered and then add it to the total which will be the last row in the table?
    I have a loop that gets all the values of the column, so I can get the total but it is when the user adds in a new value that I need some help with.
    I have tried using but as I need to set the toal with something like total
        totalTable.setValueAt(total, totalTable.getRowCount()-1,1); I end up with an infinite loop.
    Can any one please advise on some way I can get this to work ?
    Thanks for reading
    Craig

    Hi there camickr
    thanks for the help the other day
    this is my full code....
    package printing;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.print.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import java.text.DecimalFormat;
    public class tablePanel
        extends JDialog  implements Printable {
      BorderLayout borderLayout1 = new BorderLayout();
      private boolean printing = false;
      private Dialog1 dialog;
      JPanel jPanel = new JPanel();
      JTable table;
      JScrollPane scrollPane1 = new JScrollPane();
      DefaultTableModel model;
      private String[] columnNames = {
      private Object[][] data;
      private String selectTotal;
      private double total;
      public tablePanel(Dialog1 dp) {
        dp = dialog;
        try {
          jbInit();
        catch (Exception exception) {
          exception.printStackTrace();
      public tablePanel() {
        try {
          jbInit();
        catch (Exception exception) {
          exception.printStackTrace();
      private void jbInit() throws Exception {
        jPanel.setLayout(borderLayout1);
        scrollPane1.setBounds(new Rectangle(260, 168, 0, 0));
        this.add(jPanel);
        jPanel.add(scrollPane1, java.awt.BorderLayout.CENTER);
        scrollPane1.getViewport().add(table);
        jPanel.setOpaque(true);
        newTable();
        addToModel();
        addRows();
        setTotal();
    public static void main(String[] args) {
      tablePanel tablePanel = new  tablePanel();
      tablePanel.pack();
      tablePanel.setVisible(true);
    public void setTotal() {
      total = 0;
      int i = table.getRowCount();
      for (i = 0; i < table.getRowCount(); i++) {
        String name = (String) table.getValueAt(i, 1);
        if (!"".equals(name)) {
          if (i != table.getRowCount() - 1) {
            double dt = Double.parseDouble(name);
            total = total + dt;
      String str = Double.toString(total);
      table.setValueAt(str, table.getRowCount() - 1, 1);
      super.repaint();
      public void newTable() {
        model = new DefaultTableModel(data, columnNames) {
        table = new JTable() {
          public Component prepareRenderer(TableCellRenderer renderer,
                                           int row, int col) {
            Component c = super.prepareRenderer(renderer, row, col);
            if (printing) {
              c.setBackground(getBackground());
            else {
              if (row % 2 == 1 && !isCellSelected(row, col)) {
                c.setBackground(getBackground());
              else {
                c.setBackground(new Color(227, 239, 250));
              if (isCellSelected(row, col)) {
                c.setBackground(new Color(190, 220, 250));
            return c;
        table.addMouseListener(new MouseAdapter() {
          public void mouseClicked(MouseEvent e) {
            if (e.getClickCount() == 2) {
            if (e.getClickCount() == 1) {
              if (table.getSelectedColumn() == 1) {
       table.setTableHeader(null);
        table.setModel(model);
        scrollPane1.getViewport().add(table);
        table.getColumnModel().getColumn(1).setCellRenderer(new TableRenderDollar());
      public void addToModel() {
        Object[] data = {
            "Price", "5800"};
        model.addRow(data);
      public void addRows() {
        int rows = 20;
        for (int i = 0; i < rows; i++) {
          Object[] data = {
          model.addRow(data);
      public void printOut() {
        PrinterJob pj = PrinterJob.getPrinterJob();
        pj.setPrintable(tablePanel.this);
        pj.printDialog();
        try {
          pj.print();
        catch (Exception PrintException) {}
      public int print(Graphics g, PageFormat pageFormat, int pageIndex) throws PrinterException {
        Graphics2D g2 = (Graphics2D) g;
        g2.setColor(Color.black);
        int fontHeight = g2.getFontMetrics().getHeight();
        int fontDesent = g2.getFontMetrics().getDescent();
        //leave room for page number
        double pageHeight = pageFormat.getImageableHeight() - fontHeight;
        double pageWidth =  pageFormat.getImageableWidth();
        double tableWidth = (double) table.getColumnModel().getTotalColumnWidth();
        double scale = 1;
        if (tableWidth >= pageWidth) {
          scale = pageWidth / tableWidth;
        double headerHeightOnPage = 16.0;
        //double headerHeightOnPage = table.getTableHeader().getHeight() * scale;
        //System.out.println("this is the hedder heigth   " + headerHeightOnPage);
        double tableWidthOnPage = tableWidth * scale;
        double oneRowHeight = (table.getRowHeight() +  table.getRowMargin()) * scale;
        int numRowsOnAPage = (int) ( (pageHeight - headerHeightOnPage) / oneRowHeight);
        double pageHeightForTable = oneRowHeight *numRowsOnAPage;
        int totalNumPages = (int) Math.ceil( ( (double) table.getRowCount()) / numRowsOnAPage);
        if (pageIndex >= totalNumPages) {
          return NO_SUCH_PAGE;
        g2.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
    //bottom center
        g2.drawString("Page: " + (pageIndex + 1 + " of " + totalNumPages),  (int) pageWidth / 2 - 35, (int) (pageHeight + fontHeight - fontDesent));
        g2.translate(0f, headerHeightOnPage);
        g2.translate(0f, -pageIndex * pageHeightForTable);
        //If this piece of the table is smaller
        //than the size available,
        //clip to the appropriate bounds.
        if (pageIndex + 1 == totalNumPages) {
          int lastRowPrinted =
              numRowsOnAPage * pageIndex;
          int numRowsLeft =
              table.getRowCount()
              - lastRowPrinted;
          g2.setClip(0,
                     (int) (pageHeightForTable * pageIndex),
                     (int) Math.ceil(tableWidthOnPage),
                     (int) Math.ceil(oneRowHeight *
                                     numRowsLeft));
        //else clip to the entire area available.
        else {
          g2.setClip(0,
                     (int) (pageHeightForTable * pageIndex),
                     (int) Math.ceil(tableWidthOnPage),
                     (int) Math.ceil(pageHeightForTable));
        g2.scale(scale, scale);
        printing = true;
        try {
        table.paint(g2);
        finally {
          printing = false;
        //tableView.paint(g2);
        g2.scale(1 / scale, 1 / scale);
        g2.translate(0f, pageIndex * pageHeightForTable);
        g2.translate(0f, -headerHeightOnPage);
        g2.setClip(0, 0,
                   (int) Math.ceil(tableWidthOnPage),
                   (int) Math.ceil(headerHeightOnPage));
        g2.scale(scale, scale);
        //table.getTableHeader().paint(g2);
        //paint header at top
        return Printable.PAGE_EXISTS;
    class TableRenderDollar extends DefaultTableCellRenderer{
        public Component getTableCellRendererComponent(
          JTable table,
          Object value,
          boolean isSelected,
          boolean isFocused,
          int row, int column) {
            setHorizontalAlignment(SwingConstants.RIGHT);
          Component component = super.getTableCellRendererComponent(
            table,
            value,
            isSelected,
            isFocused,
            row,
            column);
            if( value == null || value .equals("")){
              ( (JLabel) component).setText("");
            }else{
              double number = 0.0;
              number = new Double(value.toString()).doubleValue();
              DecimalFormat df = new DecimalFormat(",##0.00");
              ( (JLabel) component).setText(df.format(number));
          return component;
    }

  • TS2634 Please People I need some help.My iPod is disabled and when I connect it to iTunes it says: Itunes could not connect to the ipod because it is locked with a passcode...

    Please People I need some help.My iPod is disabled and when I connect it to iTunes it says: Itunes could not connect to the ipod because it is locked with a passcode...how can I do it?

    Place the iPod in Recovery mode and then restore.

  • I need help quick please sold the iPod and before handing it over wanted to clear out info so pushed erase now there is only a plug icon for iTunes but it won't now recognize my computer what can I do??

    I need help quick please sold the iPod and before handing it over wanted to clear out info so pushed erase now there is only a plug icon for iTunes but it won't now recognize my computer what can I do??

    Try
    iOS: Device not recognized in iTunes for Windows
    or
    iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X

  • This website make problem for me, he open by it self everytime i try to open another websites  Please i need some help

    this website make problem for me, he open by it self everytime i try to open another websites
    Please i need some help
    http://yandex.ru/yandsearch?text=ццц&lr=1004

    Dude, I don't think there's a user on this forum that would click on that link.

Maybe you are looking for

  • Problem with VF04

    Hello everyone, I have a problem. We created a delivery with two items category different: LZN(Stndard Itm w/o Ord) TATX (Text Item) We created the flow: u2022     Delivery - Status: being processed u2022     HU u2013 Status: u2022     Picking Reques

  • Color Picker in Flash CS6 Changing My Picked Color

    Program: Flash CS6 OS: Mountain Lion Hardware: Intel MacBook Pro 2012 Steps to recreate issue: 1. Paint a color on the stage (brown seems to have the most dramatic results) 2. Use the color picker to sample the (brown) color from the stage 3. Use the

  • Can 2 Ipods have the exact same Itunes files?

    I have 2 30GB Video Ipods (5th gen I think). I would like to sync them to the same Itunes account on the same computer (including all the same folders). I have read the tutorial, but it sounds like they assume each Ipod would have different folders.

  • Problem with buyer case

    hello recently i sold an item (statue) with costly shipping costs  about 70$ to usa to a client,the buyer recieved the item broken so i recent one to him with charge,(i paid the shipping cost) the second one too went bent so i asked the buyer to retu

  • Display Black/Freezing after short time (Cinema 20")

    I have a Mac Pro (1GB Ram) with a 20" Cinema Display Occasionally the display will go black or freeze. This usually happens when running a full screen game, or the iTunes Visualizer, or the Screen Saver, nit always.. once this happens, the keyboard a