public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "timo dot lindfors at iki dot fi" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug SWING/22610] New: swing: JScrollPane is not repainted correctly after window resize (more info)
Date: Fri, 22 Jul 2005 15:31:00 -0000	[thread overview]
Message-ID: <20050722153124.22610.timo.lindfors@iki.fi> (raw)

Here's alternative testcase for classpath bug #13814. Should print "true/true"
but prints "true/false".

Testcase:
import javax.swing.*;
import java.awt.*;
public class testcase extends JFrame {
        public static void main(String[] args) {
                new testcase();
        }
        public testcase() {
                JTextArea area = new JTextArea("text1");
                JScrollPane scrollpane = new JScrollPane(area);
                this.setContentPane(area);
                try {
                        this.setSize(new Dimension(100,300));
                        this.show();
                        Thread.sleep(1000);
                        System.out.println(area.isValid());
                        this.setSize(new Dimension(300,300));
                        Thread.sleep(1000);
                        System.out.println(area.isValid());
                        System.exit(0);
                } catch (Exception e) {
                        e.printStackTrace();
                }
        }
}

-- 
           Summary: swing: JScrollPane is not repainted correctly after
                    window resize (more info)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: SWING
        AssignedTo: graydon at redhat dot com
        ReportedBy: timo dot lindfors at iki dot fi
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22610


             reply	other threads:[~2005-07-22 15:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-22 15:31 timo dot lindfors at iki dot fi [this message]
2005-07-22 15:35 ` [Bug SWING/22610] " roman at kennke dot org
2005-09-16 14:28 ` [Bug swing/22610] " langel at redhat dot com
2005-09-16 14:44 ` cvs-commit at developer dot classpath dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050722153124.22610.timo.lindfors@iki.fi \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).