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

* [Bug SWING/22610] swing: JScrollPane is not repainted correctly after window resize (more info)
  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 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: roman at kennke dot org @ 2005-07-22 15:35 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From roman at kennke dot org  2005-07-22 15:35 -------
Thank you, I'll look at this ASAP.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|graydon at redhat dot com   |roman at kennke dot org
             Status|UNCONFIRMED                 |ASSIGNED


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


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

* [Bug swing/22610] swing: JScrollPane is not repainted correctly after window resize (more info)
  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 ` langel at redhat dot com
  2005-09-16 14:44 ` cvs-commit at developer dot classpath dot org
  2 siblings, 0 replies; 4+ messages in thread
From: langel at redhat dot com @ 2005-09-16 14:28 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From langel at redhat dot com  2005-09-16 14:28 -------
Fixed

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug swing/22610] swing: JScrollPane is not repainted correctly after window resize (more info)
  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
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at developer dot classpath dot org @ 2005-09-16 14:44 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at developer dot classpath dot org  2005-09-16 14:44 -------
Subject: Bug 22610

CVSROOT:	/cvsroot/classpath
Module name:	classpath
Branch: 	
Changes by:	Lillian Angel <langel@savannah.gnu.org>	05/09/16 14:28:17

Modified files:
	.              : ChangeLog 
	java/awt       : Container.java 

Log message:
	2005-09-16  Lillian Angel  <langel@redhat.com>
	
	Fixes Bug #22610
	* java/awt/Container.java
	(remove): Removed component listeners from the component
	being removed. This was a problem if that same component
	that was removed was added to a new component.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4820&tr2=1.4821&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/awt/Container.java.diff?tr1=1.64&tr2=1.65&r1=text&r2=text






-- 


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