JTable in JPanel cut off

I'm trying to put a JTable with several elements in a JPanel and it is getting cut off. I have tried extending the gridbagconstraints with ipady but no luck.
public class PumpMonitor extends JPanel
JTable Table1;
PumpMonitor()
Table1Model dm = new Table1Model();
Table1 = new JTable( dm ) ;
GridBagLayout gridBagLayout3 = new GridBagLayout();
gridBagLayout3.rowHeights[0] = 300;
Dimension size = new Dimension(300,400);
this.setMinimumSize(size);
this.setVisible(true);
this.setPreferredSize(size);
this.setMaximumSize(size);
this.setLayout(gridBagLayout3);
Table1.setBackground(Color.white);
Table1.setEnabled(false);
GridBagConstraints c = new GridBagConstraints();
c.gridx = 0;
c.gridy = 1;
c.ipady = 10;
c.gridwidth = 100;
c.anchor = GridBagConstraints.NORTHWEST;
gridBagLayout3.setConstraints(hel,c);
this.add(hel);
this.add(Table1, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0
,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 74, 500));
class Table1Model extends AbstractTableModel
Object[][] Table1Data =
{"Address",new String()},
{"Serial #" ,new String()},
{"SW Revision" ,new String()},
{"ETM" ,new String()},
{"T1",new String()},
{"T2" ,new String()},
{"TC/Vac Gauge" ,new String()},
{"Aux TC" ,new String()},
{"Motor Speed",new String()},
{"Set Values" ,new String()},
{"Heater Pwr T1" ,new String()},
{"Heater Pwr T2" ,new String()},
public void setValueAt (Object value, int row, int col)
     Table1Data[row][col] = value;
     public int getColumnCount()
return Table1Data[0].length;
public int getRowCount()
return Table1Data.length;
/* public String getColumnName(int col)
return (String)headers[col];
public Object getValueAt(int row,int col)
return Table1Data[row][col];
};

Thanks Denis.
I did this:
JScrollPane scroll = new JScrollPane(Table1);
this.add(scroll, new GridBagConstraints(0, 0, 1, 3, 1.0, 1.0
,GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 74, 500));
That works but I want to see the whole table at once. Is there something I can do to do that?

Similar Messages

  • How do I resize this JPanel withou cutting off content?

    I need to make this JPanel smaller vertically. Every time I do it cuts off the bottom of the graph. How can I make it shorter without losing content?
    TIA
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Graph extends JFrame implements ActionListener {
         JButton button;
         int []bar = new int[4];
         float []flote = {1395,1296,1402,1522};
         String []valuesInput = {"1395","1296","1402","1522"};
         String str = "", title="Title goes here";
         String []barLabels = {"pp01, Oct. 2003","pp02, Oct. 2003","pp01, Nov. 2003","pp02, Nov. 2003"};
         String []percent = {"","","",""};
         JLabel []JLab = new JLabel[4];
         JTextField titletxt;
         JTextField []Text = new JTextField[5];
         JTextField []labeltxt = new JTextField[5];
         boolean pieChart;
         public Graph() {
              Container c = getContentPane();
              JPanel panel = new JPanel(){
                     public void paintComponent(Graphics g) {
                        Graphics2D g2 = (Graphics2D)g;
                        g2.setColor(new Color(223,222,224));
                        g2.fillRect(0,0,550,400);
                        g2.setColor(Color.orange);
                        if(pieChart) {
                             g2.fillArc(30, 130, 220, 220, 90, -bar[0]);
                             g2.fillRect(270, 170, 30, 20);
                        else g2.fillRect(30, 150, bar[0], 30);
                        g2.setColor(Color.green);
                        if(pieChart) {
                             g2.fillArc(30, 130, 220, 220, 90-bar[0], -bar[1]);
                             g2.fillRect(270, 210, 30, 20);
                        else g2.fillRect(30, 190, bar[1], 30);
                        g2.setColor(Color.red);
                        if(pieChart) {
                             g2.fillArc(30, 130, 220, 220, 90-(bar[0]+bar[1]), -bar[2]);
                             g2.fillRect(270, 250, 30, 20);
                        else g2.fillRect(30, 230, bar[2], 30);
                        g2.setColor(Color.blue);
                        if(pieChart) {
                             g2.fillArc(30, 130, 220, 220, 90-(bar[0]+bar[1]+bar[2]), -bar[3]);
                             g2.fillRect(270, 290, 30, 20);
                        else g2.fillRect(30, 270, bar[3], 30);
                        g2.setColor(Color.black);
                        g2.setFont(new Font("Arial", Font.BOLD, 18));
                        if(pieChart) g2.drawString(title, 220, 142);
                        else g2.drawString(title, 50, 132);
                        g2.setFont(new Font("Arial", Font.PLAIN,16));
                        int temp=0;
                        if(pieChart) temp = 185;
                        else temp = 172;
                        for(int j=0; j <4; j++) {
                        if(pieChart) g2.drawString("$"+valuesInput[j]+" "+barLabels[j]+percent[j], 305, temp);//XXXXXXXXXXXXXXX
                        else g2.drawString("$"+valuesInput[j]+" "+barLabels[j]+percent[j], bar[j]+40, temp);
                        temp += 40;
                        if(!pieChart){
                             g2.drawLine(30, 130, 30, 300);
                             g2.drawLine(30, 300, 430, 300);
                             //g2.drawLine(210, 345, 210, 350);
                             //g2.drawLine(390, 345, 390, 350);
                             g2.setFont(new Font("Arial", Font.PLAIN,12));
                        super.paintComponent(g2);
              panel.setOpaque(false);
              panel.setLayout(new FlowLayout() );
              button = new JButton("Bar Graph");
              button.addActionListener(this);
              for (int k=0; k<4; k++){
                   str = Integer.toString(k+1);
              panel.add(button);
              c.add(panel);
         public void actionPerformed(ActionEvent e) {
              String command = e.getActionCommand();
              if(command.equals("Bar Graph")){
                   button.setText("Pie Chart");
                   pieChart=false;
                   try {
                        int temp =0;
                        java.text.DecimalFormat df = new java.text.DecimalFormat("#0.#");
                        for (int j=0; j<4; j++){
                             //flote[j] = Float.parseFloat(Text[j].getText());//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                             temp += (int)((flote[j]) +0.5);
                        for (int k=0; k<4; k++){
                        bar[k] = (int)(((flote[k]/temp) * 360)+0.5);
                             //barLabels[k] = labeltxt[k].getText();XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                             flote[k] = (flote[k]/temp) *100;
                             percent[k] = ": "+df.format(flote[k])+"%";
                   catch(Exception message){
                        title = "Oops! Complete all fields, enter numbers only";
              if(command.equals("Pie Chart")){
                   button.setText("Bar Graph");
                   pieChart=true;
              repaint();
         public static void main(String[] args) {
         Graph frame = new Graph();
         frame.setSize(550,400);
         //frame.setLocation(200, 200);
         frame.setResizable(false);
         frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
         frame.setVisible(true);

    Try with this (it really works!):
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Graph extends JFrame implements ActionListener {   
        int width;
        int height;
         JButton button;
         int []bar = new int[4];
         float []flote = {1395,1296,1402,1522};
         String []valuesInput = {"1395","1296","1402","1522"};
         String str = "", title="Title goes here";
         String []barLabels = {"pp01, Oct. 2003","pp02, Oct. 2003","pp01, Nov. 2003","pp02, Nov. 2003"};
         String []percent = {"","","",""};
         JLabel []JLab = new JLabel[4];
         JTextField titletxt;
         JTextField []Text = new JTextField[5];
         JTextField []labeltxt = new JTextField[5];
         boolean pieChart;
         public Graph() {
              Container c = getContentPane();
              JPanel panel = new JPanel(){
                     public void paintComponent(Graphics g) {
                         width = getWidth();
                         height = getHeight();
                        Graphics2D g2 = (Graphics2D)g;
                        //g2.scale(.95,.95);
                        g2.setColor(new Color(223,222,224));
                        g2.fillRect(0,0,width,height);
                        g2.setColor(Color.orange);
                        if(pieChart) {
                             g2.fillArc(getW(30), getH(130), getW(220), getH(220), 90, -bar[0]);
                             g2.fillRect(getW(270), getH(170), getW(30), getH(20));
                        else g2.fillRect(getW(30), getH(150), getW(bar[0]), getH(30));
                        g2.setColor(Color.green);
                        if(pieChart) {
                             g2.fillArc(getW(30), getH(130), getW(220), getH(220), 90-bar[0], -bar[1]);
                             g2.fillRect(getW(270), getH(210), getW(30), getH(20));
                        else g2.fillRect(getW(30), getH(190), getW(bar[1]), getH(30));
                        g2.setColor(Color.red);
                        if(pieChart) {
                             g2.fillArc(getW(30), getH(130), getW(220), getH(220), 90-(bar[0]+bar[1]), -bar[2]);
                             g2.fillRect(getW(270), getH(250), getW(30), getH(20));
                        else g2.fillRect(getW(30), getH(230), getW(bar[2]), getH(30));
                        g2.setColor(Color.blue);
                        if(pieChart) {
                             g2.fillArc(getW(30), getH(130), getW(220), getH(220), 90-(bar[0]+bar[1]+bar[2]), -bar[3]);
                             g2.fillRect(getW(270), getH(290), getW(30), getH(20));
                        else g2.fillRect(getW(30), getH(270), getW(bar[3]), getH(30));
                        g2.setColor(Color.black);
                        g2.setFont(new Font("Arial", Font.BOLD, 18));
                        if(pieChart) g2.drawString(title, getW(220), getH(142));
                        else g2.drawString(title, getW(50), getH(132));
                        g2.setFont(new Font("Arial", Font.PLAIN,16));
                        int temp=0;
                        if(pieChart) temp = 185;
                        else temp = 172;
                        for(int j=0; j <4; j++) {
                        if(pieChart) g2.drawString("$"+valuesInput[j]+" "+barLabels[j]+percent[j], getW(305), getH(temp));//XXXXXXXXXXXXXXX
                        else g2.drawString("$"+valuesInput[j]+" "+barLabels[j]+percent[j], getW(bar[j]+40), getH(temp));
                        temp += 40;
                        if(!pieChart){
                             g2.drawLine(getW(30), getH(130), getW(30), getH(300));
                             g2.drawLine(getW(30), getH(300), getW(430), getH(300));
                             //g2.drawLine(210, 345, 210, 350);
                             //g2.drawLine(390, 345, 390, 350);
                             g2.setFont(new Font("Arial", Font.PLAIN,12));
                        super.paintComponent(g2);
              panel.setOpaque(false);
              panel.setLayout(new FlowLayout() );
              button = new JButton("Bar Graph");
              button.addActionListener(this);
              for (int k=0; k<4; k++){
                   str = Integer.toString(k+1);               
              panel.add(button);
              c.add(panel);
         private int getW(int dx) {
             return (dx * width) / 550;
         private int getH(int dy) {
             return (dy * height) / 400;
         public void actionPerformed(ActionEvent e) {
              String command = e.getActionCommand();
              if(command.equals("Bar Graph")){
                   button.setText("Pie Chart");
                   pieChart=false;
                   try {
                        int temp =0;
                        java.text.DecimalFormat df = new java.text.DecimalFormat("#0.#");
                        for (int j=0; j<4; j++){
                             //flote[j] = Float.parseFloat(Text[j].getText());//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                             temp += (int)((flote[j]) +0.5);
                        for (int k=0; k<4; k++){
                        bar[k] = (int)(((flote[k]/temp) * 360)+0.5);
                             //barLabels[k] = labeltxt[k].getText();XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                             flote[k] = (flote[k]/temp) *100;
                             percent[k] = ": "+df.format(flote[k])+"%";
                   catch(Exception message){
                        title = "Oops! Complete all fields, enter numbers only";
              if(command.equals("Pie Chart")){
                   button.setText("Bar Graph");
                   pieChart=true;
              repaint();
        public static void main(String[] args) {
            Graph frame = new Graph();
            frame.setSize(550,400);
            //frame.setLocation(200, 200);
            frame.setResizable(true);
            frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
            frame.setVisible(true);

  • Components getting cut off on resizing

    I have a custom panel that sits within a JViewport that sits within a JScrollPane. As I increase the size of the panel, the scrollbars allow me to scroll up and down to see the new area. However, anything I try to put in the area below the original 200 pixels is cut off, and I just scroll into a gray area. Any ideas on whats wrong and can be done?
    * Write a description of class DetailsPanel here.
    * @author (your name)
    * @version (a version number or a date)
    import javax.swing.JPanel;
    import java.awt.GridLayout;
    import java.awt.BorderLayout;
    import java.awt.Insets;
    import javax.swing.border.EtchedBorder;
    import java.awt.Dimension;
    import java.util.ArrayList;
    public class DetailsPanel extends JPanel
        final static int ICON_WIDTH     = 16;
        final static int MSGTABLE_WIDTH = 350;
    /*The original height. After increasing the height, I can still do things
    within the original area. Everything below it is cut off.*/
        final static int MSGTABLE_HEIGHT = 200;
        final static String check   = "check.jpg";
        final static String redx    = "redx.jpg";
        IconPanel iconPanel;
        JPanel textPanel;
        MessageTable textTable;
        GridLayout iconLayout;
        GridLayout textLayout;
        ArrayList<Icon> icons;
        Insets      insets;
        Dimension   size;
        int         rowHeight;
        public DetailsPanel()
            super();
            icons = new ArrayList<Icon>();
            textPanel = new JPanel();
            textTable = new MessageTable(0, new Dimension(MSGTABLE_WIDTH, MSGTABLE_HEIGHT));
            rowHeight = textTable.getRowHeight();
            iconPanel = new IconPanel(rowHeight, 1);
                iconPanel.setPreferredSize(new Dimension(ICON_WIDTH, 0));
                insets = iconPanel.getInsets();
            iconPanel.setLayout(null);
            textPanel.setLayout(new GridLayout(1, 1));
            textPanel.setBorder(new EtchedBorder(EtchedBorder.RAISED));
            setLayout(new BorderLayout());
            textPanel.add(textTable);
            add(iconPanel, BorderLayout.WEST);
            add(textPanel, BorderLayout.CENTER);  
        public void sizeToTable()
             Dimension tableDimension = new Dimension(MSGTABLE_WIDTH, (textTable.getRows()*rowHeight) + rowHeight);
                setPreferredSize(tableDimension);
        public int getRows()
            return textTable.getRows();
        public void setDetail(int index, String message, int icon)
            textTable.setValueAt(index, message);
            iconPanel.setIcon(index, icon);
            sizeToTable();
    }

    Maybe you should be using a JTable if you are adding dynamic data in a row/column format.
    The code you posted isn't executable. I don't understand your description of the problem and can't see the behaviour.
    If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program (SSCCE) that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the code retains its original formatting.

  • Two problems: showMessageDialog cut off when it renders at all

    I'm using a dialog box with the following code:
    JOptionPane.showMessageDialog(null, "The filename must end with '.csv'", "Save File Error", JOptionPane.ERROR_MESSAGE);
    Sometimes, seemingly at random, the message and the OK button don't show up. Just the dialog box and the title. Moving the mouse over it makes the OK button show up. Has anyone else experienced this and is there a way to fix it?
    Also, when the message does show up, the last couple of characters are often cut off, as if there's not enough room for them. Is there any way to make sure that the dialog box will be big enough to hold the message?
    Thanks,
    Chris Funkhouser

    I have a similar problem. I have been converting an old Java application from JDK 1.1.8 (and Swing 1.03) to JDK 1.3.1. One JPanel contains other JPanels that contain a group of JButtons, a JTable, and some JComboBoxes. When I select a row in the JTable and press the Delete button, a confirmation dialog is shown:
    int confirmation = JOptionPane.showConfirmDialog
    (Joezilla.getFrame(),
    "Are you sure you want to\ndelete selected rows?",
    "Confirm",
    JOptionPane.YES_NO_OPTION,
    JOptionPane.PLAIN_MESSAGE);
    The dialog comes up with no prompt text displayed, and only the Yes button is displayed. The No button will appear if you move the mouse over it.

  • JtreeTable - Nodes update issue - Nodes are cut off

    Hi,
    I'vet got a little problem with the JtreeTable. Everything works fine until I try to change the rendering of a row to BOLD.
    The text turns bold, but the TreeNode (first col in row) is cut off because it was first rendered plain and now its to big to be
    displayed.
    I tried
    tree.getModel().valueForPathChanged(new TreePath(node.getPath()), myNewValue);but beacuse value doesn't change (text stays just font changes) there is no need to fireNodesChanged.

    Here's one I put together. Select any node, and any other node with text that begins with the same letter is rendered in bold. From my test, it looks like repaint on the tree isn't sufficient. However, firing node changed events seem to be working (as a quick and dirty measure, I fire node changed on every node each time). Now I have to go back and revisit the problem I originally had and see what I was doing there.
    import java.awt.BorderLayout;
    import java.awt.FlowLayout;
    import javax.swing.*;
    import javax.swing.event.TreeSelectionEvent;
    import javax.swing.event.TreeSelectionListener;
    import javax.swing.tree.*;
    public class BoldTreeCellTest {
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        launchUI();
         private static void launchUI() {
              final DefaultMutableTreeNode[] nodes = new DefaultMutableTreeNode[5];
              JFrame frame = new JFrame("Test JTree With Bold Rendering");
              nodes[0] = new DefaultMutableTreeNode("root of the tree here");
              nodes[1] = new DefaultMutableTreeNode("Every cell which has the");
              nodes[2] = new DefaultMutableTreeNode("same first character as the");
              nodes[3] = new DefaultMutableTreeNode("selected cell text will have it's text");
              nodes[4] = new DefaultMutableTreeNode("rendered in bold.");
              for (int i=1; i<nodes.length; i++) {
                   nodes[0].add(nodes);
              final DefaultTreeModel model = new DefaultTreeModel(nodes[0]);
              final JTree tree = new JTree(model);
              final JRadioButton useRepaintButton = new JRadioButton("Repaint Tree", true);
              final JRadioButton useNodesChangedButton = new JRadioButton("Fire Nodes Changed");
              ButtonGroup buttonGroup = new ButtonGroup();
              buttonGroup.add(useRepaintButton);
              buttonGroup.add(useNodesChangedButton);
              tree.getSelectionModel().addTreeSelectionListener(new TreeSelectionListener() {
                   @Override
                   public void valueChanged(TreeSelectionEvent event) {
                        if (useRepaintButton.isSelected()) {
                             tree.repaint();
                        } else {
                             model.nodeChanged(nodes[0]);
                             model.nodesChanged(nodes[0], new int[] {0, 1, 2, 3});
              tree.setCellRenderer(new BoldTreeCellRenderer());
              JScrollPane pane = new JScrollPane(tree);
              JPanel panel = new JPanel(new BorderLayout());
              JPanel buttonPanel = new JPanel(new FlowLayout());
              buttonPanel.add(useRepaintButton);
              buttonPanel.add(useNodesChangedButton);
              panel.add(buttonPanel, BorderLayout.NORTH);
              panel.add(pane, BorderLayout.CENTER);
              frame.setContentPane(panel);
              frame.pack();
              frame.setLocationRelativeTo(null);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setVisible(true);
    import java.awt.Component;
    import java.awt.Font;
    import javax.swing.JLabel;
    import javax.swing.JTree;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.DefaultTreeCellRenderer;
    import javax.swing.tree.TreePath;
    public class BoldTreeCellRenderer extends DefaultTreeCellRenderer {
         private Font plainFont;
         private Font boldFont;
         public BoldTreeCellRenderer() {
              super();
              Font baseFont = (new JLabel()).getFont();
              this.plainFont = baseFont.deriveFont(Font.PLAIN);
              this.boldFont = baseFont.deriveFont(Font.BOLD);
         @Override
         public Component getTreeCellRendererComponent(JTree tree, Object value,
                   boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) {
              super.getTreeCellRendererComponent(tree, value, selected, expanded, leaf, row, hasFocus);
              String st = (String) ((DefaultMutableTreeNode) value).getUserObject();
              Font font = this.plainFont;
              TreePath selectionPath = tree.getSelectionPath();
              if (selectionPath != null) {
                   String selectedText = (String) ((DefaultMutableTreeNode) selectionPath.getLastPathComponent()).getUserObject();
                   if (st.startsWith(selectedText.substring(0, 1))) {
                        font = this.boldFont;
              setFont(font);
              return this;
    Edited by: Skotty on Aug 12, 2010 2:02 PM
    Edited by: Skotty on Aug 12, 2010 2:05 PM - set useRepaintButton as selected on start                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Voice memos in iOS7, on new iphone 5s cuts off recordings

    Hi,
    Voice memos has always been super reliable in previous versions but on a new iphone 5s with ios7 I'm finding it cuts off recordings very unpredictably - sometimes after less than a minute sometimes after a quarter hour or so.
    I've seen other threads where the issue has been described but this has been explicitly on longer recordings or where the recording is finished so wanted to raise this again as an issue on new hardware with recordings of any length where the recording stops by itself.
    The bug is making the app unusable at present which is a shame as it looks like it could be a greatly improved app.
    Any ideas?

    The worse thing about this is that Apple Support does not appear to know about it and steered me in the wrong direction. Today I tried it again and lost another 50 minute recording.
    Apple needs to fix this and let users and tech staff know ASAP.
    This has now cost me 2 hours of client time, plus 3 hours of tech support. The client information is priceless to me. I will  not be able to retrieve the content of those discussions, even if I conduct the meetings again. Too many variables were at play.
    I am beyond disillusioned that this issue is being reported in various threads throughout the fall and has not been addressed, and that phone support is unwaware, so more users will end up with the same terrible losses.
    It is, in my opinion, highly irresponsible and a show of disrespect to customers to permit this to be occuring without warning users or applying fixes.

  • Scanning cuts off bottom 1/2"

    I have an HP OfficeJet 7410 All-in-One. When I scan an 8.5' x 11" page, using the Automatic Document Feeder, it cuts off the bottom 1/2", no matter what program I use to control the scan (the latest versions of HP ScanPro and Adobe Acrobat). If I don't use the ADF, but scan from the glass, I get the whole page. And if I scan a legal-sized page (8.5" x 14") it does not cut off anything on the bottom.
    So, just to experiment, I plugged the OfficeJet into a PC and scanned the same 8.5" x 11" document using the ADF. It did not cut off the bottom. So the problem doesn't seem to be the scanner, or the scanning software. It definitely seems to be that somewhere in OS X, it's cutting off the bottom.
    My workaround is to place the 8.5" x 11" pages to be scanned into clear plastic document sleeves. Each is 11.5" long, and when I use these, I get a scan of the entire document.
    Is there some way I can get the MBP to scan an entire 11" page without my having to place each one in a plastic sleeve?

    Hi Roger,
    Just want to clarify some of the above.
    And if I scan a legal-sized page (8.5" x 14") it does not cut off anything on the bottom.
    From the Auto Feeder legal size works? Or did you mean manually placing a legal size sheet on the glass?
    So the problem doesn't seem to be the scanner, or the scanning software.
    It could still be the software. The OS X software isn't a direct copy of the Windows software. It has to be ported, which gives plenty of opportunity for errors in one version that doesn't exist in the other. I've noticed with other HP products that the Mac software almost always has flaws the Windows counterpart doesn't.
    My workaround is to place the 8.5" x 11" pages to be scanned into clear plastic document sleeves.
    Scanned via the Auto Feeder or manually on the glass?

  • My iTunes randomly cuts off songs at the end. I've tried to create a new library and reimport my old library, but to no avail. Can anyone help? :)?

    Hi, I am using a MacBook Pro, and downloaded the new iTunes update. I have OS X Lion 10.7.4. It all of sudden is randomly cutting off some songs before the very end of the song. I've tried to read past posts and create new libraries and re-import the old one, but it doesn't seem to help. It is not all of my purchased songs, nor is it all of my downloaded from CD songs, it's just a particularly random set of songs (I haven't checked them all, but it happens every 5 songs or so when I play the whole library on shuffle). This never happened to me before with other versions of iTunes, and when I called the support line the guy says he has never heard of this problem before... ! 
    I have 3000 songs, so I don't want to manually bring each one in again. I am also not super technologically brilliant, so if you have had this problem too and have a simple answer, please help !!!

    I have a similar problem with Itunes - the funny thing is it only does it on my Mac and not my PC running Windows 7 - seems strange the Apple software runs better on a Windows computer.  There are other posts about this here on the forums that have been running for two years with no solution - and I was just about to buy a new Ipod - oh well.

  • Many songs on my iPad are cut off before completion, or are scrambled (bits of different tunes mixed in with other tunes).

    I am running iTunes 11.0.3.42 on Windows 8, and am an iTunes match subscriber.  I have approximately 2700 songs in my library - maybe 1/2 and 1/2 ripped from my CD collection and the rest purchase exclusively through iTunes.  None of this music is pirated.
    When playing this music back on my iPad, I am finding that many songs are cut off before they complete.  When this happens, they continue to play, but it is just silence.  Additionally, many other tunes are scrambled, with bits of other songs mixed together into one.  When going back to iTunes on my PC, I will sometimes find that the songs play fine there - but sometimes they behave as they do on the iPad. 
    This happens whether or not I run my library with iTunes match on the iPad.  I have redownloaded all my songs to try to repair this, with mixed results.  It will often fix the songs that I was having trouble with - but then other songs will begin to show the same type of problems.  I know that 2700 songs is not an immense library, but it is too large for me to systematically review the whole library - which makes tracking these problems very difficult.
    I have seen similar types of complaints on the forums ranging over the last several years.  It also seems that these problems have been "solved" by many different methods.  Nothing I have found has worked for me - or only worked with the mixed results I mention above.  I wonder if these individuals have actually been getting the mixed results I am finding.
    This is truly frustrating, as I do not do anything exotic with my library, and have not pirated, but gotten my music honestly.  I also have ripped my entire CD collection into iTunes, and have gotten rid of the CD's - as I have NEVER had similar problems to this in all the many years I have been using iTunes.  Suddenly I find that I have a majorly corrupted library, with seemingly no way out.  I cannot even abandon iTunes since I have such an investment in it.  At a minimum of $.99 per song it would cost me almost $2700 to replace my library honestly, and that is at the low end of what I would pay.  I don't know about you - but I don't have three grand to blow on replacing a music library I already paid for just to get away from a crappy product (sorry Apple - but what the heck else would you call this nonsense?).  Makes a dude covet taking an eye-patch.
    I am screwed and doubt there's a way out - but I have no choice but to ask for help.  Anyone?

    shameless bump

  • Export to text file cuts off data...

    I have a report that contains fixed width formuals that are in a text box.  The data is 496 char wide.  It will preview fine in a small font - but when I export to a text file it re-sizes the font to courer new 10 and cuts off data after 80 char.  Any ideas?

    hi
    as per my experience crystal has got some weird limitation in export.
    AG

  • New bt vision box cuts off and re boots at least 6...

    Any help would be great othis is matter , as title says my new bt vision black box keeps cutting off wether I'm on free view on demand or recordings its just cuts off and reboots up to 10 times in a 24 hour period it's driving me to the point of throwing it away !! I'm on infitity fttc and have steady 39 down 8 up connection speed , no other issued any ideas? Thanks 

    Do you have a black BT Vision box or the new BT YouView box with the big Orange and blue circle at the front?

  • Black bands cut off full projection with DVI adapter

    I used my DVI adapter for the first time today to connect my MacBook Pro (17") to a projector. I selected video mirroring from my System Preferences and ran a PowerPoint (for Mac) presentation in slide show mode.
    The projector displayed the presentation but black bands appeard on my laptop display, which cut off some of the left and right side of the projected PowerPoint presentation.
    Anyone know how I get rid of the black bands and get the full image from my laptop display projected?
    (FYI, I use PowerPoint instead of Keynote because it's easier for my clients. I know, I know, that's sad.)

    How are you actually connected to the TV?  Does it have HDMI?  Most non-widescreen TVs would not.
    I would suspect a converter is either not outputting properly, your TV not interpreting the signal properly or you have some form of Zoom setting enabled on the TV.
    How does your TV handle widescreen from say cable or terrestrial TV sources ?
    Unfortunately AppleTV is not designed to be used with non-widescreen TVs so there's no setting on AppleTV to tweak.
    AC

  • I connected my Macbook Pro 2012 to a 1080p monitor, and the display is cut off at the top?

    Hello,
    I have just connected my Macbook Pro to a 1080p 23' LG monitor using a Displayport to VGI adapter. However, when I use the 1080p setting, it cuts off a little bit of the top bar. When I switch to lower resolutions, it works just fine. I would rather use it at 1080p, though. Is there a way to fix this?
    Thanks,
    HiTryx

    You may need a display adaptor but can otherwise use a non-Apple monitor.
    (109856)

  • Events Created in iCal get cut off Below the Screen

    For the last few versions, iCal has had a problem with Event windows going below the screen; when this happens, users can no longer see what they are typing in the Event. I was able to duplicate this problem on every current Mac model in an Apple Store, so it is not a hardware issue, or an issue with screen size. Models tested include all MacBook Pros, Macbook, MacBook Air, iMac, Mac Pro with 24" Display, and Mac Pro with 30" Cinema Display. The problem was also reproduced by Apple Support.
    I use a MacBook Pro 15" with a display resolution of 1440 x 900. All software is up to date. (Mac OS 10.6.1, and iCal 4.0, Build 1362). Here are the steps to reproduce the problem:
    1) Set the System Preferences for the Dock to 'Automatically hide and show the Dock', to get it out of the way.
    2) In iCal 'Month View', create a new Event in any day on the bottom row of the calendar.
    3) The easiest way to duplicate the problem is to type about 7 lines of text in the 'note' section.
    If more than 7 lines total (in Event Description and 'note' sections) are entered, the bottom of the Event pop-up window goes below the screen and is obscured. This means that if you are typing something in the 'note' section, you cannot see what you are typing. Also, the 'Done' button can no longer be accessed when you are finished.
    NOTE: When you leave the Event, then come back to edit it again, the window often moves up, eliminating the cut-off problem, but this does not always happen.
    Here are the two problems that need to be fixed in order for the user to be able to view what is being typed, and to access the 'Done' button when finished:
    1) The Event Description window (at the top of the Event) currently will stop moving the bottom down after typing 4 lines, and then begins to scroll upward, in order to save space. However, at this point, the 'Done' button has already disappeared below the screen. This needs to changed so that the 'Done' button never goes below the bottom edge of the screen.
    2) When typing in the 'note' window of the Event, a vertical bar eventually appears on the right, but only after the bottom lines of text have disappeared below the screen. The data ABOVE the note window begins to scroll up, but the bottom area of the note remains obscured, so users cannot see what they are typing. Moving the bar up and down still does not let users see what they are typing below the screen. The 'note' window needs to be changed to scroll like the Event Description window does, and not have the 'Done' button go below the bottom edge of the screen.
    NOTE: A similar problem happens in Day View and Week View, when listed Events start going below the bottom edge of the screen. They do not scroll either, and everything past a certain point cannot be viewed. Scrolling would solve this problem as well. In the absence of scrolling, the only way around that problem currently, is to cut Events from that day and paste them into another day. Then you can see the rest of the Events.
    So, anyone else out there notice these problems or have an explanation for them?

    HI,
    Can you drag the bottom right corner of the Safari window to the left then click and hold the title bar and move the window to the right?
    You can zoom in Safari on your keyboard, Command + or -
    Carolyn

  • Hp printer cutting off the sides of a pdf document I am trying to print.

    I am trying to print a pdf form to fill out, when I try to print it using my hp photosmart premium 309g the sides of the text get cut off the page.
    I have been trying to find a boarderless printing setting in the printer settings on OS X 10.7 but have had no luck so far.
    I urgently need to get this form printed so ny help would really be appreciated.

    Hello macnewcomer22,
    Please review the steps below to set Borderless printing, It can be configured within the Paper Type/Quality options.
    For Lion, click the Show Details button to expend the print settings.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01368574&cc=us&dlc=en&lc=en &product=3793676&tmp_track_link=ot_search#N499
    Regards,
    Shlomi

Maybe you are looking for

  • I am trying to move my iPhoto library

    I am trying to move my iPhoto library to a new hard drive. Should be simple, but I am getting the error message ' some date in iPhoto library can't be read or written' is there any way around this? J

  • No playback of older songs

    hi I just picked up logic 7.1 pro and its been a month so far I have been with it. learning as much as I can. recently I was given an older (logic 4.5) song to open in my logic 7.1 to mix but when I load the song , Logic tells me that it has converte

  • Media manager adding frames

    i'm trying to export 4 layers of video (rough composite layer, blue screen layer, matte layer and background layer) with media manager. i need to send these shots to compositors to make the final composites. i'm using media manager because it seems l

  • [Boot Camp] Trying to partition for Windows and progress bar remains with "Status : Idle"

    I'm trying to setup WIndows using Boot camp on my iMac OS X10.7.4. It worked perfectly fine until yesterday. I don't have a OS X installation disc or something to re-install or something. But wanted to know meanwhile, if there is someone who can prov

  • Erasing Background (Almost)

    This design issue is driving me nuts. I'm creating a flyer that incorporates "floating" product images. I removed the background of the original images, using Photoshop. Two files were rendered from tiff, and two files were rendered from smaller rez