Trouble Scrolling down(JTextPane inside JScrollPane)

I am writting a java interface to the Jabber IM system. I'm trying to allow html in the messages, so I have a JTextPane that I use to show what has been said. In order to scroll, I've placed the JTextPane within a JScrollPane. When a new message needs to be placed into the JTextPane, I set the JTextPane to the proper text and set the scroll bar from the scroll pane to it's .getMaximum() value. My problem is that the .getMaximum() function only gets the NEW, ACTUAL maximum AFTER the JTextPane has been parsed and painted into the JPanel. The time it takes to do this is proportional to the length of the text within the JText pane and relative to the speed of the computer. So, the scroll bars should be done in response to the completion of the painting of the JTextPane instead of a set time delay. I don't know how to do this. I assume I need to overwrite some paint or repaint function, but I don't know which one to overwrite. The JTextPane is in a JScrollPane in a JSplitPane in a JPanel in a JFrame, if that helps at all.
I've been stuck on this forever..
Thanks for any help.

Gave you 6 $. JTextPane doesn't have the insert function, so I've been using setText(). The problem is that the second the Pane is redrawn, it shows the top of the document, then scrolls to the bottom. This takes a fraction of a second, but still is undesireable.
What I'm trying to do is make a new textpane object, set the text, set the caret position, THEN replace the old pane. The problem is, I can't just use oldPane = newPane because that just makes oldPane reference the new Object.(The object shown is then only referenced from the parent swing component, a JScrollPane) I've tried using the .setViewportView on the JScrollPane that the JTextPane is within, but then it doesn't scroll to the caret position.
I've gotten it to work once. I had created all new objects(JTextPane within JScrollPane within JSplitPane within JPanel) adding each to it's parent and adding the JPanel to the container. This worked ONCE! I changed the code, then changed it back and it didn't work again...
Here's the code I have for buffering the JTextPane.
if(chatPane == chatPaneBuffer2){
chatPaneBuffer1.setText(chatStringBuffer.toString());
chatPaneBuffer1.setCaretPosition(chatPaneBuffer1.getDocument().getLength());
chatPane = chatPaneBuffer1;
}else{
chatPaneBuffer2.setText(chatStringBuffer.toString());
chatPaneBuffer2.setCaretPosition(chatPaneBuffer2.getDocument().getLength());
chatPane = chatPaneBuffer2;
This works, but somehow I need the object chatPane is pointing at to be referenced by my JScrollPane.

Similar Messages

  • JTextPane inside JScrollPane resizing when updated

    Hiya all,
    I've been struggling with this problem and checking the forums, but didn't find a solution, so I hope someone can help...at least help me for the nice picture :) It has to do with JTextPane's automatically resizing to their content on a GUI update, rather than scrollbars appearing (the desired result).
    Basically, I have a scenario where I am creating a series of multiple choice answers for a question. Each answer consists of a JTextPane inside a JScrollPane, and a JRadioButton, which are all contained in a JPanel (called singleAnswerPanel). So for 2 answers, I would have 2 of these singleAnswerPanels. There is a one large JPanel that contains all the singleAnswerPanels (called allAnswersPanel). This allAnswersPanel is contained in a JScrollPane. Graphically, this looks like:
       |       JPanel (allAnswersPanel) inside a JScrollPane            |
       |                                                                |
       |  ------------------------------------------------------------  |
       | |     JPanel (singleAnswerPanel)                             | |
       | |    ----------------------------------                      | |
       | |   |  JTextPane inside a JScrollPane  |     * JRadioButton  | |
       | |    ----------------------------------                      | |
       | |                                                            | |
       |  ------------------------------------------------------------  |
       |                                                                |
       |                                                                |
       |  ------------------------------------------------------------  |
       | |     JPanel (singleAnswerPanel)                             | |
       | |    ----------------------------------                      | |
       | |   |  JTextPane inside a JScrollPane  |     * JRadioButton  | |
       | |    ----------------------------------                      | |
       | |                                                            | |
       |  ------------------------------------------------------------  |
       |                                                                |
        ----------------------------------------------------------------So above, I show 2 answers that can be filled in with text. So assuming both answer JTextPanes are filled with text beyond their current border (scrollbars appear as expected) and the user wishes to add more answers. I have a button to add another singleAnswerPanel to the containing JPanel (allAnswersPanel), and then I validate the main JScrollPane that contains the allAnswersPanel as it's view. The problem that occurs is the existing single answer JTextPanes resize to the size of their text and the vertical scrollbars (only vertical ones setup) of the JTextPanes dissappear! My intent is to keep the existing JScrollPanes the same size (with their scrollbars) when a new answer is added.
    The code snippet below shows what gets done when a new answer is added:
    private void createAnswer()
        // The panel that will hold the new single answer JTextPane pane
        // (inside a JScrollPane) and radio button.
        JPanel singleAnswerPanel = new JPanel();
        // Create the text pane for the single answer.
        JTextPane singleAnswerTextPane = new JTextPane();
        Dimension dimensions = new Dimension(200, 30);
        singleAnswerTextPane.setPreferredSize(dimensions);
        singleAnswerTextPane.setMaximumSize(dimensions);
        // Create a scroll pane and add the single answer text pane.
        JScrollPane singleAnswerScrollPane =
         new JScrollPane(singleAnswerTextPane);
        // Create a radio button that is associated with the single
        // answer text pane above.
        JRadioButton singleAnswerRadioButton = new JRadioButton();
        // Add the scroll pane and radio button to the panel (for a single
        // answer).
        singleAnswerPanel.add(singleAnswerScrollPane);
        singleAnswerPanel.add(singleAnswerRadioButton);
        // Add the panel holding a single answer to the panel holding
        // all the answers.
        m_allAnswersPanel.add(singleAnswerPanel);
        // Update the display.  m_allAnswersScrollPane is a JScrollPane
        // that has the m_allAnswersPanel (JPanel) as its view.
        m_allAnswersScrollPane.validate();
    }     Sorry for the length of the message, but I really want to solve this problem. So again, when updating the JScrollPane with validate(), the JTextPane for a single answer resizes to it's contents (plain text currently) and loses it's vertical scrollbars, but I want it to stay the same size and maintain the scrollbars.
    Thanks!

    http://java.sun.com/docs/books/tutorial/uiswing/mini/layout.htmlimport javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Random;
    public class Test extends JFrame {
        int cnt=0;
        Random r = new Random();
        String[] nouns = {"air","water","men","idjits"};
        JPanel mainPanel = new JPanel(new GridBagLayout());
        JScrollPane mainScroll = new JScrollPane(mainPanel);
        JScrollBar mainScrollBar = mainScroll.getVerticalScrollBar();
        public Test() {
         setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
         Container content = getContentPane();
         content.add(new JLabel("QuizMaster 2003"), BorderLayout.NORTH);
         content.add(mainScroll, BorderLayout.CENTER);
         JButton jb = new JButton("New");
         content.add(jb, BorderLayout.SOUTH);
         jb.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent ae) {
              JPanel questionPanel = new JPanel(new GridBagLayout());
              questionPanel.add(new JLabel("Question "+cnt++),
                   new GridBagConstraints(0,0,1,1,0.0,0.0,
                        GridBagConstraints.EAST, GridBagConstraints.NONE,
                        new Insets(1,2,1,2),0,0));
              questionPanel.add(new JLabel("Why is there "+
                            nouns[r.nextInt(nouns.length)]+"?"),
                   new GridBagConstraints(1,0,1,1,0.0,0.0,
                        GridBagConstraints.EAST, GridBagConstraints.NONE,
                        new Insets(1,2,1,2),0,0));
              JTextArea jta = new JTextArea();
              JScrollPane jsp = new JScrollPane(jta);
              jsp.setPreferredSize(new Dimension(300,50));
              questionPanel.add(jsp, new GridBagConstraints(0,1,2,1,0.0,0.0,
                        GridBagConstraints.EAST, GridBagConstraints.BOTH,
                        new Insets(1,2,1,2),0,0));
              mainPanel.add(questionPanel, new GridBagConstraints(0,cnt,1,1,0.0,0.0,
                            GridBagConstraints.EAST,GridBagConstraints.NONE,
                            new Insets(0,0,0,0),0,0));
              mainPanel.revalidate();
              mainScroll.getViewport().setViewPosition(new Point(0, mainPanel.getHeight()));
         setSize(400,300);
         show();
        public static void main( String args[] ) { new Test(); }
    }

  • JTextPane inside JScrollPane

    Hi,
    I've seen a lot of possibilities to get a JTextPane into JScrollPane without wraping the text in the forum. None worked for me..
    My situation:
    JTextPane(editable=false) with given text(DefaultStyledDocument) is inside JScrollPane.
    I replace (by pressing a button) some text parts with longer text AND JTextPane wraps it!..
    I tried to set the size of the textPane to the computed line width of the longst line, but nothing happened.. (I expected the JScrollPane to show off horizontal scrollbar, because the width of JTextPane is getting bigger than the width of JScrollPane).
    Anyone knows how to put formatted text into text- or scrollpane without wraping it?
    And who allowed JTextPane to wrap my lines anyway?!
    (it's called StyledDocument and not ChaosDocument :)
    Thanks in advance!
    Raman.

    Not sure that JTextPane is the best place to start. The wrapping is controlled by ParagraphView and its underlying structure. Try looking at implementing extensions to the standard EditorKit/ViewFactory to tweak this behaviour

  • Forcing a JTextPane to scroll down

    Hello I have a JTextPane inside a JScrollpane
    how can I force the JTextPane to scroll down when text is added to it?

    Why is it so hard to do a search before posting a question??????
    I took 3 words from you topic, "+jtextpane +scroll +down" and did a search and found that this question has been asked and answered dozens of times.

  • JTextPane inside a JScrollPane: any way to display a certain section?

    I have a GUI with a JTextPane inside a JScrollPane.
    The text of the JTextPane is the contents of a text file, so it typically has many lines.
    I want the JScrollPane (whose preferred size has already been previously set to display 11 rows of text) to always show one target line as the middle row, and the 5 rows before and after it as the remaining 10 rows.
    In other words, I want to show a certain line and its surrounding context.
    Do you guys know how to achieve this? I have already tried calling
    JTextPane.setCaretPositionbut this is inadequate because it merely guarantees that the line with the caret is visible--but it does not guarantee to center the caret line in the middle of the JScrollPane.
    I also tried calling
    textPane.scrollRectToVisible( textPane.modelToView(caretPos) );where textPane is my JTextPane, but this failed completely (seems to always display the final lines of the file).
    Anyone have any suggestions?

    Daryl: thanks for your response.
    My original code looked like this:
    int caretPos = 0;
    for (int i = 0; i <= index; i++) {
         caretPos += lines.length();
    textPane.setCaretPosition(caretPos);
    With *just* the above, you get the behavior that I originally described, namely, the line in question (which is lines[index]) always gets displayed, but it is not necessarily in the middle of the JScrollPane.
    I tried commenting out the line above which calls setCaretPosition, and used essentially your code instead:Rectangle caretRectangle = textPane.modelToView(caretPos);
    Rectangle viewRectangle = new Rectangle(
         0, caretRectangle.y - (scrollPane.getHeight() - caretRectangle.height) / 2,
         scrollPane.getWidth(), scrollPane.getHeight()
    textPane.scrollRectToVisible(viewRectangle);This fails too: the JScrollPane now always shows the bottom of the JTextPane.
    What does work is to use *both* techniques, namely, call setCaretPosition as well as scrollRectToVisible:     // set the caret to the line in question (i.e. at index); this merely guarantees that this line is visible, but not necessarily centered
    int caretPos = 0;
    for (int i = 0; i <= index; i++) {
         caretPos += lines[i].length();
    textPane.setCaretPosition(caretPos);
         // and IN ADDITION cause scrollPane's viewport to be centered around the line
    Rectangle caretRectangle = textPane.modelToView(caretPos);
    Rectangle viewRectangle = new Rectangle(
         0, caretRectangle.y - (scrollPane.getHeight() - caretRectangle.height) / 2,
         scrollPane.getWidth(), scrollPane.getHeight()
    textPane.scrollRectToVisible(viewRectangle);The interesting question is why do you need to do both steps?
    I think that I know the reason, but I would love to see someone confirm or deny this.  What follows is my speculation.
    The above code is inside a method that is call by a run method of the class in question which is always executed by the event dispatch thread (EDT), so it is not an illegal thread use case.  However, in the method that has the code above, I am clearing all existing text of the JTextPane and then repopulating it (with that String[] lines used above, which came from parsing a file).
    Now, in  [this posting|http://forums.sun.com/thread.jspa?messageID=10289999#10289999], camickr claimed:
    "When text is inserted into a Document, behind the scenes a call to setCaretPosition() is made to position the caret after the newly inserted text. However inserting text into a document is a complex procedure since Elements need to be created as the text inserted into the Document is parsed. So the call to the setCaretPosition() method is placed in a SwingUtilities.invokeLater(), which means tha code gets added to the end of the GUI EDT to be executed once the Document is in a complete state. So basically what is happening is that your call to set the view position does execute, but then is gets overridden by the setCaretPosition() method call."
    If the above claim is true, then all the calls in that method to add the file's text result in implicit calls to setCaretPosition which will be executed AFTER the method above ends (i.e. asynchronously, later on by the event dispatch thread).  Hence, I need to do an explicit setCaretPosition call of my own to override these implicit calls.
    Now, I am not sure that I totally buy this explanation.  I would like to see more proof of camickr's claims for one: I did a quick code review of some of the classes involved, and do not see where calling AbstractDocument.insertString generates an implicit call to setCaretPosition on the EDT.  To be sure, the code is complex, and I do not know where exactly to look, and maybe this is done by some listener or something, who knows.  Furthermore, my explicit call to setCaretPosition is done synchronously on the EDT (recall: that method above in my class is called by its run which is executed by the EDT).  So, my explicit call to setCaretPosition should occur in time before all of those delayed implicit calls, and thus should actually be overridden by them, no?
    I would love to hear from someone who really knows Swing...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Trouble on the Mailboxes screen - can't scroll down or rearrange

    Hello,
    When I add more than two email accounts, it becomes necessary to scroll past the list of inboxes to access messages through the "Accounts" section (screenshot: http://twitpic.com/3vm0sw). However, I can't scroll down. When I try, the screen just bounces back up to where it started.
    Being able to rearrange the Mailboxes screen (removing individual inboxes or putting the "Accounts" section on top) would help, but I can't find a way to do that, either.
    I want to access my email from the "Accounts" section because it appears to be the only way to view emails that are in folders (or gmail labels).
    Can anyone help?
    Thanks very much!!
    Mindy

    When I got my first iPhone a couple years ago, being a smartphone user I thought it would be similar, but it is very different, the iPhone is a very unique device. One that I love and even though there are some "interesting roadblocks' I would not trade it in for any other phone on the market.
    I hope you enjoy your iPhone and find it as fun and enjoyable as I find mine!

  • JEditorPane always scrolls down to the bottom, how can I prevent this?

    Hello, I have the following code that contains a JTable and JEditorPane in a panel. When I click on a headline on the table, I have some text showing up in the lower pane. My problem is that the lower pane (that is inside a JScrollPane) always scrolls down to the end of the text, but I want to to always point to the beginning.
    Does anyone know how to do this?
    Your help will be appreciated.
    Thanks!
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.Point;
    import javax.swing.JEditorPane;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JSplitPane;
    import javax.swing.JTable;
    import javax.swing.JViewport;
    import javax.swing.event.ListSelectionEvent;
    import javax.swing.event.ListSelectionListener;
    import javax.swing.table.DefaultTableModel;
    public class MyHTMLPaneTest {
         JFrame frame;
         JPanel panel;
         JSplitPane splitPane;
         JTable table;
         JEditorPane htmlPane;
         JPanel tablePanel;
         DefaultTableModel model;
         JViewport viewPort;
         public MyHTMLPaneTest()
              frame = new JFrame("MyCalHTMLPane Test");
              panel = new JPanel(new BorderLayout());
              splitPane = new JSplitPane();
              tablePanel = new JPanel(new BorderLayout());
              setTable();
              tablePanel.add(table.getTableHeader(), BorderLayout.NORTH);
              tablePanel.add(table, BorderLayout.CENTER);
              htmlPane = new HTMLPane();
              JScrollPane pane = new JScrollPane(htmlPane, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
              viewPort = pane.getViewport();
              viewPort.setViewPosition(new Point(0, 0));
              splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT, tablePanel, pane);
            panel.add(splitPane, BorderLayout.CENTER);
              frame.getContentPane().add(panel);
              frame.setSize(new Dimension(400, 300));
              frame.setVisible(true);
         public void setTable()
              String[] columnNames = {"Date","Time","Subject"};
             Object[][] data =
                  {"03/31/05", "8:20 AM EDT", "Headline 1"},
                  {"08/24/05", "8:19 AM EDT", "Headline 2"},
                  {"08/18/05", "8:18 AM EDT", "Headline 3"},
                 {"08/12/05", "8:17 AM EDT", "Headline 4"},
                 {"06/20/05", "8:16 AM EDT", "Headline 5"},
                 {"06/20/05", "8:15 AM EDT", "Headline 6"}
             model = new DefaultTableModel(data, columnNames);
             table = new JTable(model);
             table.getSelectionModel().addListSelectionListener(new ListSelectionListener()
                 public void valueChanged(ListSelectionEvent e)
                      String text = "LOOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOOOOOOOOONG" +
                                "\nLOOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOONG"+
                                "\nLOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONG"+
                                "\nSTRIIIIIIIIIIIIIIIII" +
                                "\nIIIIIIIIIIIIIIIIIIII" +
                                "\nIIIIIIIIIIIIIIIIIIIII" +
                                "\nIIIIIIIIIIIIIIIIIIIII" +
                                "\nIIIIIIIIIIIIIIIIIIIIING"+
                                "LOOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOOOOOOOOONG" +
                                "\nLOOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOONG"+
                                "\nLOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOOO" +
                                "\nOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONG"+
                                "\nSTRIIIIIIIIIIIIIIIII" +
                                "\nIIIIIIIIIIIIIIIIIIII" +
                                "\nIIIIIIIIIIIIIIIIIIIII" +
                                "\nIIIIIIIIIIIIIIIIIIIII" +
                                "\nIIIIIIIIIIIIIIIIIIIIING";
                      htmlPane.setText(text);
         public static void main(String[] args) {
              MyHTMLPaneTest test = new MyHTMLPaneTest();
    }

    try setCaretPosition:
            table.getSelectionModel().addListSelectionListener(
                    new ListSelectionListener()
                        public void valueChanged(ListSelectionEvent e)
                            String text = "LOOOOOOOOOOOOOOOOOOO"
                                    + "\nOOOOOOOOOOOO"
                                    + "\nOOOOOOOOOOOOOOOO"
                                    + "\nOOOOOOOOOOOOOOOO"
                                    + "\nIIIIIIIIIIIIIIIIIIIII"
                                    + "\nIIIIIIIIIIIIIIIIIIIIING";
                            htmlPane.setText(text);
                            htmlPane.setCaretPosition(0);  // ******* here **********
                    });

  • A problem with my mail in 10.8, crashes on scrolling down a PDF doc

    Hey guys,
    I've spent 2 1/2 hours on the phone today attempting to resolve this issue, fingers crossed an answer may be out there.
    When I attached a PDF doc to an email, it embeds in the message, no dramas does take a little while to load it on, then when I scroll down the email to make sure it's the correct doc, the spinning curser of death shows and then 3-4 seconds later the email scrolls down but slowly loads sections of the PDF.  At times the mail app crashes when it does this.
    It doesn't matter about the file size or amount of pages (one page 87kb, or 10mb 6 pages) it always 'skips' or 'freezes' even on sent items.
    I have:
    unistalled Adobe, through my PDF's are all controlled by Preview
    rebooted in safe mode etc and run by another user
    done the whole CNTRL, OPT, SHIFT, P, R thing
    hold down P and PWR and waited for 2 beeps
    plus everything else
    New to MacBook etc and I'm about to throw it as I can't opperate like this and costs me deals!
    Any help, hints etc would be appreciated.
    Nathan

    Hi - I'd guess that the adapter you bought is the problem ...do you have another to try? Also, having a guitar cable plugged into an 1/8in. adapter into your Macbook isn't the greatest situation as it really doesn't take a lot of cable movement for there to be a LOT of pressure on that small jack - which could easily screw up the insides. If you do try another adapter I'd suggest one with a longish/small cable attached so that you can plug your guitar in and not have any force on the jack at all.
    I too can get a signal this way (I have active pickups), and when I switch to the Macbook's speakers as the output the signal is delayed quite a bit. I use (and really recommend) the Griffin iMic for any real work with Garageband or the laptop in general - the USB signal is better, the cable doesn't pose a problem (as mentioned above) and if you're looking to record other sounds it can handle both line and mic levels ...and of course the price is great. The next real step up from this is a firewire interface of some type.
    Blackbook C2D   Mac OS X (10.4.9)   120Gig, 1Gig, Superdrive.

  • Error message too big to fit onto screen and I can't scroll down

    I have compiled an email with a lot of addresses cc'd in it and the mail programme is bringing up an error message when I try to send it. The trouble is that the error message is so long that I can't see the end of it and it won't scroll down so I can't see what the options are to react to it. I have tried all sorts of fixes. Any suggestions?
    Already tried:
    -Changing the screen resolution
    -using the tab key to try to select different options then pressing enter
    -simply pressing enter (this has the effect of trying to send the message later I think, but the same problem comes up again so I am stuck in a never ending loop, unable to fix it!)
    - dragging to the trash (it won't let me)
    using the mouse to try and drag the corners of the message in (works for the email, but not for the error message)
    Please help - this is driving me crazy!
    thank you!

    I think you're going to have to find & delete that particular one without Mail running, then redo it it with maybe 33 per send.
    I'd get EasyFind...
    http://www.macupdate.com/info.php/id/11076
    Here's a direct download link to EasyFind 4.0 which runs in 10.3.9 & up...
    http://www.devon-technologies.com/files/legacy/macosx1039/EasyFind.dmg.zip
    From this page,
    http://www.devon-technologies.com/support/faqs.php?p=default&cat=19
    Freeware applications:
        * EasyFind 4.0
        * PhotoStickies 5.6
        * ThumbsUp 4.3
        * XMenu 1.8
    http://www.versiontracker.com/dyn/moreinfo/macosx/8707
    Use it to search your whole drive for case insensitive & show invisibles...
    .emlx
    (dot ee em el ex)
    Then sort by Date, look for about the last one datewise.
    Find Any File...
    http://apps.tempel.org/FindAnyFile/

  • I have an optical mouse that came with my Mac Pro plugged into the USB port on the keyboard. After a year of working normally, the trackball all of a sudden stopped scrolling down. It scrolls up just fine, but not down. Any thoughts?

    I have an optical mouse that came with my Mac Pro, the only thing plugged into the USB port on the keyboard. After a year of working normally, the trackball all of a sudden stopped scrolling down. It scrolls up just fine, but not down. Any thoughts?

    Well
    I tried all of the suggestions, sort of. I did not have alcohol wipes, but I did take alcohol and pour some ona white paper towel and then rolled the mouse touch ball aroound and that finally cleared up the problem.  Just inverting it on paper did not do the reick, it needed some help with the alcohol.  Of course the probelm is the debris that gets inside and it really needs to come out.
    This is a huge problem for RIM devices users too.

  • When I have a message open in Hotmail I can't scroll down the message for more than a second before it springs back to the top; this is accompanied by the website eating my download limit at about a MB every 30 seconds...how do I stop this?

    Hi, thanks for helping guys! When I use hotmail, and only have my inbox and cover sheet displayed, everything is fine. But, when I open a message it won't let me scroll down without springing back to the top- if I repeatedly try this it eventually lets the message scroll down. More troublingly, even if I just leave the message open it continues to eat my download allowance at a rate of about a megabyte every 30-40 seconds- so, leaving normal messages from trusted contacts open has resulted in me using a massive chunk of my restricted download allowance. I've gone back to using Firefox 3.6 and the problem has disappeared.

    See comments 17,44,63,71:
    * [https://bugzilla.mozilla.org/show_bug.cgi?id=627729 Bug 627729] - Hotmail web page continually reloads every second
    ''(please do not comment in bug reports; you can vote instead)''

  • Obnoxious JTextPane and JScrollPane problem.

    I have written a Tailing program. All works great except for one really annoying issue with my JScollPane. I will do my best to explain the problem:
    The program will continue tailing a file and adding the text to the JTextPane. When a user scrolls up on the JScrollPane, the program still adds the text to the bottom of the JTextPane and the user can continue to view what they need.
    Here is the problem: I have text being colored throughout the text pane. For instance, the word ERROR will be in red. The problem is when the program colors the text, it moves the scroll pane to the line where word that was colored is at. I don't want that. If the user moves the scroll bar, I want the scroll bar to always stay there. I don't want the program to move to the text that was just colored.
    Is there a way to turn that off? I can't find anything like that anywhere.

    Coloring text will not cause the scrollpane to scroll.
    You must be playing with the caret position or something.
    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.

  • Curve 9360 Will Not Scroll Down on Browser

    Hello, I've been having trouble lately with my BB Curve in that it will decide at least once a week that it does not want to scroll down at all in the internet browser. It scrolls left and right and goes back and forth between pages just fine, loads the page just fine, but it absolutely will not scroll down! Only a reset by taking out the battery will work to let me scroll down again until the next time it decides to stop working. It doesn't seem to be a specific website I go to, either. It just doesn't want to scroll down! It isn't a critical problem, but it certainly is very annoying when I have a few tabs open and lose all my memory because I have to reset it. Can anyone please give me suggestions on how to fix it? I am hoping it is as simple as downloading some new software or something.

    Hi,
    Please attempt a cache & cookies clear, then notice.
    Check whether OS version is latest or not, if not upgrade it with latest one.
    Thanks..!!

  • Problem with a Table Control Scroll Down.

    Hi,
    I´m working with a table control in which I select one of the many lines the table contains and I move it into a structure, I delete the data of the table control internal table and I move the selected line back into the internal table to show only that record. My problem is the following:
    Whenever I have to scroll down to select a line, the selected line doesn´t appear afterwards. I believe that it´s because the scroll bar disappears and keeps on showing the line where the record I selected used to be and because the selected record is added in the fist line of the TC.
    Is there any way of avoiding the disappearrance of the vertical scroll bar? Or how can I show the record added in the first line if the TC only displays the position where the selected record used to be?
    This is the logic I use to show the single record.
      READ TABLE TI_ASIGLOT WITH KEY PUSH = 'X'.
      IF SY-SUBRC = 0.
        MOVE-CORRESPONDING TI_ASIGLOT TO ST_ASIG.
        CLEAR TI_ASIGLOT.
        REFRESH TI_ASIGLOT.
        MOVE-CORRESPONDING ST_ASIG TO TI_ASIGLOT.
        ST_ASIG-CPEND = ST_ASIG-GAMNG.
        MOVE ST_ASIG-CPEND TO TI_ASIGLOT-CPEND.
        APPEND TI_ASIGLOT.
    Thank´s and regards.
    Lucila

    Well, I´m going to anwser my own question. The problem was that in my TC the top field value was the line number of the record I've selected. So the only thing I had to do to fix it was to asign 1 to the field TC-top_line inside the form where I select the record.
      READ TABLE TI_ASIGLOT WITH KEY PUSH = 'X'.
      IF SY-SUBRC = 0.
        MOVE-CORRESPONDING TI_ASIGLOT TO ST_ASIG.
        CLEAR TI_ASIGLOT.
        REFRESH TI_ASIGLOT.
        MOVE-CORRESPONDING ST_ASIG TO TI_ASIGLOT.
        ST_ASIG-CPEND = ST_ASIG-GAMNG.
        MOVE ST_ASIG-CPEND TO TI_ASIGLOT-CPEND.
        APPEND TI_ASIGLOT.
        W_INI = 1.
      ELSE.
        MESSAGE I889(100) WITH TEXT-T07.
        EXIT.
      ENDIF.
    z_result-top_line = 1.
    (z_result is my TC )
    Best regards,
    Lucila

  • Why can't I scroll down when choosing country in LINE?

    I downloaded Line from marketplace and its default country is Japa. I'm from Philippines so I have to choose my country. In choosing countries, I have to scroll down to find it; but I can't scroll down or up. Can you help me?

    Hello,
    Thank you for contacting Mozilla Support about your Firefox OS device. I am glad to assist you in regards to you having issues surfing the web. <br>
    *If internet connectivity is working properly and other applications are working properly, hold the home button and close the application causing trouble.
    *If the Firefox Browser is having issues, try clearing cookies and data:
    #To clear your cookies and data from the browser, complete the following steps:
    #Open the browser and tap the tab in the upper right corner.
    #*The sidebar will open.
    #Tap the [[Image:sidebar gear]] gear button at the top to open the browser settings.
    #Tap the '''Clear cookies and stored data''' button.
    *If none of the above solved your issue, please restart your device to see if it helps.
    Did this fix your problem? Please report back to us!
    Thank you

Maybe you are looking for

  • Macbook won't recognize iomega back-up drive or camera.

    Suddenly, my Macbook will no longer recognize my iomega back-up hard drive or my Canon camera in either USB port.  It does, however, recognize a flash drive I use in either port.  When I try to do an iomega back up, I get a message that reads: "Time

  • [SOLVED]Conky cutting words off

    I've been working to set up conky on my Arch + Openbox installation, and I've run into a strange issue - conky is getting cut off at the end. See this picture, at far top-right - the seconds are cut off. I've tried adding various options, such as tex

  • No Suitable item category could be determined

    Hello Gurus, While creating shipment cost document from Shipment document, I am getting and error as "No Suitable item category could be determined" . I created new Transportation Planning Pt and assigned to company code. Thanks in advance Hans

  • Transaction Code FPOITR

    Hi All, After we run the transaction code FPY1 , we run the standard sap program : SAPFKPY3 to download the data into a flat file Like wise for tcode : FPOITR(Outbound Interface: BP Postings) Once i run this tcode i want to download the result in a f

  • I did not buy it in Kuwait or UEA but from Telus in Toronto

    The Apple store had to reinstall the software on my brand new Iphone4, as they said the firmware was corrupted and it could/would not connect to Itunes . I then spent another two hours putting back in all my contacts music etc. Now I have no Facetime