public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug SWING/22610] New: swing: JScrollPane is not repainted correctly after window resize (more info)
@ 2005-07-22 15:31 timo dot lindfors at iki dot fi
  2005-07-22 15:35 ` [Bug SWING/22610] " roman at kennke dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: timo dot lindfors at iki dot fi @ 2005-07-22 15:31 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-16 14:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-22 15:31 [Bug SWING/22610] New: swing: JScrollPane is not repainted correctly after window resize (more info) timo dot lindfors at iki dot fi
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

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).