Need QT help/ questions

I've been using macs for a while, but need some help with qt7pro. These are really basic questions I'm sure, but I haven't used QT in a long time, other than watching a trailer or clicking on something a friend has sent.
Whenever I try to open a QT mov, or doc, iTunes opens to play whatever trailer, slideshow, etc. is this a settings problem for me or is QT no longer a stand alone app?
I have installed the QT Pro 7 key, but QT player opens.
Often when I click on someone else's posted QT link, I get a page in my browser - Safari, CAmino, with the QT Q with a ?.
It seems like in QT6, I always had the independent QT app launch, and I haven't seen that with QT7.
TIA,
Les Owens
Bath, NC

Many of the new trailers and the new iPod (.m4v) format are designed to use iTunes instead of the QuickTime Player.
If the file is on your computer you can use the Get Info window to change the default "Open With" app. If you Control-Click (right click) on the file you can choose QuickTime from the Open With pop-up menu.
Can you post a link to a page that gives you the QuickTime logo with the ?

Similar Messages

  • Need some help. questions inside

    I want my page to be bigger but i am stuck with this grey area that is roughly 10" x10"
    then there is a large dark frame around it that changes size.
    how do i make the area i want to work in larger?
    Also how do i make the areas where i want to put advertising. like skyscraper adds and stuff.
    and is there a way to edit the look a them has? like if i wanted to change the background.
    any help appreciated

    perhaps I can help with a few things...
    1) To make your work space bigger, you can enlarge the page (I once did this to add an advdrtising skyscraper on the right hand side) by clicking on the second from left tab on the inspector called "Page." Then go to Content Width and Height to enlarge or extend it.
    2) Now I am not working with the new iWeb and I hear inserting html code can be done directly in iWeb. Anyways, Make a text box with the same dimensions as your skyscraper, like lets say 120x600.
    You check the dimension of the text box by click and holding on the little white box that you use to change the size of the text box (you know the little white things that border the text box and you can click and drag to make it bigger or thinner or whatever). By clicking and holding one of these, it will tell you the dimensions. Now, in the text box write something like AD CODE HERE . Then, once published, open up the html page in a text editing prgram (I use Text Edit)...make sure to select the "Ignore Rich Text Commands" box when opening it. Then replace the AD CODE HERE with the real ad code and save and voila your ads should appear.
    3)As for the background, you can do that manually by adding a picture or colored box to fill the whole background.

  • I forgot secret questions to enter the account I need to help me put back on the questions and answers them  Your brother Mohammed Al-Ghamdi

    I forgot secret questions to enter the account But I know the PIN number to my account I need to help me put back on the questions and answers them
    Your brother Mohammed Al-Ghamdi

    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
      Or Email Here  >  Apple  Support  iTunes Store  Contact
    NOTE:
    It is not wise to post personal information on a Public forum. I have asked the Hosts to remove your Account Details and Phone Number.

  • Some question about 9iAs R1.2.2 & R2, need your help:

    Some question about 9iAs R1.2.2 & R2, need your help:
    Since 2000, we has used 9iAS Core (R1.2.2) to publish our website. The platform is Suns Solaris (SPARC). The database is Oracle 8i. But there are so many questions:
    1.     The Web Cache cant be installed well
    2.     The web pages use JSP to query database with SQL show errors when we refresh the page a few times. The error will disappear after restarting the 9iAS or refreshing the page again. On the other hand, the same pages dont show error on resin. The error is java.sql.SQLException : Closed Connection: next. I supposed that the connection of database has some hidden troubles, but I can find it, could you give me some advice.
    Now I have installed 9iAS R2, But when I visited the manage page, I found that a password is needed to visit the web cache manage page. I dont think I have set the password, and then I cant control the web cache. I want to know is a default password occurred? If not, what is the password.

    The default password for Web Cache is: administrator
    See walkthrough on the sample code page: http://otn.oracle.com/sample_code/products/ias/content.html
    HTH,
    Ashesh Parekh
    Oracle9iAS product management

  • HT5312 Hi I forgot my security question how I can rest becouse I was going APP this massage pop of in the app page I benn buying app in this iPod may time they are say for first time you are buying apps in iPod pls I need your help to resist my security q

    Hi I forgot my security question how I can rest becouse I was going APP this massage pop of in the app page I benn buying app in this iPod may time they are say for first time you are buying apps in iPod pls I need your help to resist my security question

    The Three Best Alternatives for Security Questions and Rescue Mail
         1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • Hello Apple-Support, i need your help to reset my Security Questions

    Hello Apple-Support, i need your help to reset my Security Questions.
    Thanks for Helping

    The people on these boards aren't Apple Support. You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (99496)

  • Hi. I am reinstalling Macbook Pro OS X from the "question mark icon". During process, there is a question "select the disk where to install Mac OS X" but there is no option/selection in the box. I really need your help guys. I need it badly. :'(

    Hi. I am reinstalling Macbook Pro OS X from the "question mark icon". During process, there is a question "select the disk where to install Mac OS X" but there is no option/selection in the box. I really need your help guys. I need it badly. :'(

    If you got the question mark and you do not see any partition to install OS X to, it is not good.
    Close the OS X installer by pressing the red button at the top left corner of the Install OS X window, and open Disk Utility. Then, look at the left sidebar and tell me if you see your hard drive. You should see something like this:
    Do not worry if you do not see Macintosh HD or if the option with an arrow shows a different name. This is normal.
    If you see it, choose it, go to the Erase tab and erase the drive. Finally, close Disk Utility and reinstall OS X. You will lose everything if you do not have a backup.
    If you do not see the drive, it is damaged and it has to be replaced. You can replace the hard drive of a MacBook Pro without voiding the warranty, and any 2'5" SATA hard drive is valid. If you are not an experienced user or you do not want to go inside the MacBook, take it to an Apple Store or reseller.

  • HT1918 i need to security questions please help me

    i need to security questions please help me
    <Email Edited by Host>

    Read this about how to change the security questions: http://support.apple.com/kb/HT5312
    If you can't use these procedures because you don't have a rescue email address you will have to contact Apple. See http://support.apple.com/kb/HT5699

  • Desperately in need of help!! apache webserver question!

    Guys,
    I need ur help!! I am on the verge of breakdown!! what the funny part is i have done the tough part fairly easily but the easy part is annoying me. here is my problem:
    I have setup virtualhosts defnition for my webserver. post configuration i have now Apache 2.0 + tomcat 5.5 and mod_jk running successfully on my machine.
    The files that i have modified are
    httpd.conf
    workers.properties and
    server.xml
    what i want is:
    when i give url: as http://www.mydomain.com
    this has to bring up the tomcat web application which can otherwise be invoked by url: http://www.mydomain.com:8080/myapplication
    what i am able to achieve is i can load the application via apache withou having to specify the port number like this:
    http://www.mydomain.com/myapplication
    but i want 'myapplication' to be automatically loaded when given just the servername itself!!
    please this must be a simple thing..help me!
    i have modified jkMount /myapplication/*.jsp
    I have to get this working by today evening i am sick and tired of this...
    -Sri

    httpd.conf
    <VirtualHost xxx.xx.xx.xx:8080>
    ServerName xyz.domain.edu
    ServerAlias xyz.domain.edu* www.domain.org domain.org
    DocumentRoot /usr/tomcat/apache-tomcat-5.5.15/webapps
    ServerPath /neuroMor
    ErrorLog logs/xyz.domain.edu-error_log
    CustomLog logs/xyz.domain.edu-access_log common
    </VirtualHost>
    <VirtualHost xxx.xx.xx.xx:8080>
    ServerName www.domain.org
    ServerPath /neuroMor
    DocumentRoot /usr/tomcat/apache-tomcat-5.5.15/webapps
    ErrorLog logs/www.domain.org-error_log
    CustomLog logs/www.domain.org-access_log common
    </VirtualHost>
    #To be added at the end of your httpd.conf tomcat auto-configure
    Include /usr/tomcat/apache-tomcat-5.5.15/conf/auto/mod_jk.conf
    # Load mod_jk module
    LoadModule jk_module libexec/mod_jk.so
    # Where to find workers.properties
    JkWorkersFile /usr/local/apache/workers.properties
    # Where to put jk logs
    JkLogFile /var/log/httpd/mod_jk.log
    # Set the jk log level [debug/error/info]
    JkLogLevel info
    # Select the log format
    JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    # JkOptions indicate to send SSL KEY SIZE,
    JkOptions ForwardKeySize ForwardURICompat ForwardDirectories
    # JkRequestLogFormat set the request format
    JkRequestLogFormat "%w %V %T"
    # Static files in the neuroMor webapp are served by apache
    Alias /neuroMor /usr/tomcat/apache-tomcat-5.5.15/webapps/neuroMor
    # The following line prohibits users from directly access WEB-INF
    <Location "/neuroMor/WEB-INF/">
    AllowOverride None
    deny from all
    </Location>
    #JkAutoAlias /usr/tomcat/apache-tomcat-5.5.15/webapps
    # Send servlet for context /examples to worker named worker1
    JkMount /index.jsp ajp13
    # Send JSPs for conext /examples to worker named worker1
    JkMount /* ajp13
    I want to show neuroMor/index.jsp page when i give the url for
    http://xyz.domain.edu without specifying any relative path name.
    workers.properties
    workers.tomcat_home=$CATALINA_HOME
    workers.java_home=$JAVA_HOME
    ps=/
    worker.list=ajp13
    worker.ajp13.port=8009
    worker.ajp13.host=localhost
    worker.ajp13.type=ajp13
    worker.ajp13.lbfactor=1
    worker.loadbalancer.type=lb
    worker.loadbalancer.balanced_workers=ajp13
    worker.inprocess.type=jni
    worker.inprocess.class_path=$(workers.tomcat_home)$(ps)server$(ps)lib
    worker.inprocess.cmd_line=start
    worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)
    i386$(ps)server$(ps)libjvm.so
    worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
    worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
    Everything is working just fine..all i want is to show my default page as my application index.jsp page.
    -Many thanks for any kind of help
    Sri

  • I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980's and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my

    I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980’s and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my own folder and file naming conventions. I currently have over 23,000 images of which around 60% are scans going back 75 years.  Since I keep a copy of the originals, the storage requirements for over 46,000 images is huge.  180GB plus.
    I now have a Macbook Pro and will add an iMac when the new models arrive.  For my photos, I want to stay with Photoshop which also gives me the Bridge.  The only obvious reason to use iPhoto is to take advantage of Faces and the link to iMovie to make slideshows.  What am I missing and is using iPhoto worth the effort?
    If I choose to use iPhoto, I am not certain whether I need to load the originals and the edited versions. I suspect that just the latter is sufficient.  If I set PhotoShop as my external editor, I presume that iPhoto will keep track of all changes moving forward.  However, over 23,000 images in iPhoto makes me twitchy and they are appear hidden within iPhoto.  In the past, I have experienced syncing problems with, and database errors in, large databases.  If I break up the images into a number of projects, I loose the value of Faces reaching back over time.
    Some guidance and insight would be appreciated.  I have a number of Faces questions which I will save for later. 

    Bridge and Photoshop is a common file-based management system. (Not sure why you'd have used ACDSEE as well as Bridge.) In any event, it's on the way out. You won't be using it in 5 years time.
    Up to this the lack of processing power on your computer left no choice but to organise this way. But file based organisation is as sensible as organising a Shoe Warehouse based on the colour of the boxes. It's also ultimately data-destructive.
    Modern systems are Database driven. Files are managed, Images imported, virtual versions, lossless processing and unlimited editing are the way forward.
    For a Photographer Photoshop is overkill. It's an enormously powerful app, a staple of the Graphic Designers' trade. A Photographer uses maybe 15% to 20% of its capability.
    Apps like iPhoto, Lightroom, Aperture are the way forward - for photographers. There's the 20% of Photoshop that shooters actually use, coupled with management and lossless processing. Pop over to the Aperture or Lightroom forums (on the Adobe site) and one comment shows up over and over again... "Since I started using Aperture/ Lightroom I hardly ever use Photoshop any more..." and if there is a job that these apps can do, then the (much) cheaper Elements will do it.
    The change is not easy though, especially if you have a long-standing and well thought out filing system of your own. The first thing I would strongly advise is that you experiment before making any decisions. So I would create a Library, import 300 or 400 shots and play. You might as well do this in iPhoto to begin with - though if you’re a serious hobbyist or a Pro then you'll find yourself looking further afield pretty soon. iPhoto is good for the family snapper, taking shots at birthdays and sharing them with friends and family.
    Next: If you're going to successfully use these apps you need to make a leap: Your files are not your Photos.
    The illustration I use is as follows: In my iTunes Library I have a file called 'Let_it_Be_The_Beatles.mp3'. So what is that, exactly? It's not the song. The Beatles never wrote an mp3. They wrote a tune and lyrics. They recorded it and a copy of that recording is stored in the mp3 file. So the file is just a container for the recording. That container is designed in a specific way attuned to the characteristics and requirements of the data. Hence, mp3.
    Similarly, that Jpeg is not your photo, it's a container designed to hold that kind of data. iPhoto is all about the data and not about the container. So, regardless of where you choose to store the file, iPhoto will manage the photo, edit the photo, add metadata to the Photo but never touch the file. If you choose to export - unless you specifically choose to export the original - iPhoto will export the Photo into a new container - a new file containing the photo.
    When you process an image in iPhoto the file is never touched, instead your decisions are recorded in the database. When you view the image then the Master is presented with these decisions applied to it. That's why it's lossless. You can also have multiple versions and waste no disk space because they are all just listings in the database.
    These apps replace the Finder (File Browser) for managing your Photos. They become the Go-To app for anything to do with your photos. They replace Bridge too as they become a front-end for Photoshop.
    So, want to use a photo for something - Export it. Choose the format, size and quality you want and there it is. If you're emailing, uploading to websites then these apps have a "good enough for most things" version called the Preview - this will be missing some metadata.
    So it's a big change from a file-based to Photo-based management, from editing files to processing Photos and it's worth thinking it through before you decide.

  • How do i change my security questions because I tried changing them through manage account password but to get in i need the security question answers :|

    I did as people said to go the apple iD manage account and password and security and to get in i have to answer the security questions but i dont know what they are please help because im trying to purchases something on this computer as it is my first use i need the security question answers

    Ok, so I had the same problem. What you should do is, call the
    Apple Technical Support number: (44) 0844 209 0611
    And ask for the Account Security Team. This worked for me.

  • Need some help in saving video message from viber to my Iphone. I disabled the thing that would save photos and videos automatically then, there comes a video I want to save. After loading and watching it, I press the "save to gallery"

    Need some help in saving video message from viber to my Iphone 5S with new ios 8's program . I disabled the thing that would save photos and videos automatically then, there comes a video I want to save. After loading and watching it, I press the "save to gallery" thing but it doesn't save in gallery. I tried all, restarting my phone, rebooting then turning on the save automatically thing and when I watch it again, it still wouldn't save.

    Probably a good question to ask Viber or look at their support site.

  • Need some help...in need of a different way.

    Hi, I'm new to Java and need some help. I have 2 questions that are similar in nature.
    1st Question:
    In a program that I'm writting I have a do-while loop which at the end brings up a dialog box that asks the user to enter '1' for 'Yes' or '2' for 'No' to continue.
    I would rather have the option of having the user enter 'y' or 'Y' for Yes and 'n' or 'N' for No.
    Here is what I have currently:
    int x;
    String data;
    do{
    //Blah blah code
    data = JOptionPane.showInputDialog(null, "Enter 1 for Yes or 2 for No");
    x = Integer.parseInt(data);
    }while(x == 1);
    x++;
    2nd Question:
    In another part of my program I have a Case statement that asks the user to enter a number or a letter from a list of choices. They can enter '2' , 't', or 'T'.
    I would rather have all of this in an if-else chain. Is this possibe? if so, how would I do it.
    Thanks.

    I would rather have the option of having the user enter 'y' or 'Y' for Yes and 'n' or
    'N' for No. You can test the first letter of whatever the user inputs like this:String response = JOptionPane.showInputDialog(null, "Enter (Y)es or (N)o");
    response = response.toLowerCase();
    if(response.startsWith("y")) {
        // the user entered something starting with y
    } else if(response.startsWith("n")) {
        // the user entered something starting with n
    } else {
        // what are you going to do?
    }JOptionPane also has versions that would allow yes/no buttons. Eg, see:
    http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html

  • I am the biggest "Newb" on this site,  and I really need some help please..

    Ok, the short of it.... I started training on Database programming about 2 weeks ago. I still don't really know a thing, or even understand the concepts. Now, my boss wants me to fix a bug in Oracle, and I haven't a clue. The ONLY help I've gotten was a link to this forum, and a speech about how I need to help myself. I told him I have the same chance of fixing anything, as monkeys typing hamlet. Anyone up for a challenge?
    When I go to Application System, then Application Entry and enter the password a dialog box appears.... "FRM-40039: Cannot attatch library Empower while opening from APPUSRAPP."
    That's what I have to fix. I have no clue. I don't even really know how to click around in this program. Please help, someone.
    UPDATE: I've been told that everyone's pretty much going to be a jerk to me for asking this, and I'm currently searching old threads and can't find a way to delete this one I posted. So, you could just ignore the post, or jump in and be the internet tough-guy and tell me what I already know.... I'm a newb.
    Edited by: user11033020 on Apr 14, 2009 11:41 AM

    As this appears to be a Forms error (the error begins with FRM) you might get a better response by posting this in the Forms forum:
    Forms
    The Community Feedback forum isn't meant for product-related questions (as it says in the title).
    Still, you should consider searching Metalink as well. If you've paid for support, you have every right to use it.

  • 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;
    }

Maybe you are looking for

  • Container Object in Mapping not accessible

    Hi everybody, I read the same problem in this thread: Generating Sequence Number , but unfortunately no solution has been provided. I am using a UDF from the TBIT44 course to generate a sequence number: int inc = 1; Integer seqNo = (Integer)container

  • HT5244 My safari keeps quitting unexpectedly

    Hi my safari keepts quitting unexpectedly because of a calendarv.tmp plug-in.  I tried updating my software but does not seem to solve the problem.  What can I do to resolve this issue? 

  • Creating a user thats saved to a table? possible or not???

    Ok.....so my uni assignment is to make an SQL database and then a front end in access...for a shoe store...i can make test databases and get access to connect to the sql....yay now im never going to get a brilliant grade because im TERRIBLE at all so

  • XI Install SM59 destination error messages

    I have an IDES system installed and now we are trying to get XI 3.0 SR1 on SQL Server installed for a project for one of our customers. I have followed the XI install guide and I think I have almost everything working except for one major issue. I ca

  • Mvt TYpe With G/L Account

    can anybody explain if i want to see the all the movement types with respect to G/L account what will be the T-code.