public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug AWT/16680] New: TextField colours and setEditable() do not work correctly
@ 2004-07-22 23:58 mckinlay at redhat dot com
  2004-07-26  5:48 ` [Bug AWT/16680] " fitzsim at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mckinlay at redhat dot com @ 2004-07-22 23:58 UTC (permalink / raw)
  To: gcc-bugs

The following test case should create a colourful TextField that is not
editable. However, the foreground and background colours do not get set
correctly, and the text field remains editable.



import java.awt.*;

public class TextTest
{
  public static void main(String[] args)
  {
    Frame f = new Frame("Text test");
    TextField tf = new TextField("Hello");
    tf.setEditable(false);
    tf.setForeground(Color.BLUE);
    tf.setBackground(Color.PINK);
    tf.setColumns(40);
    f.add(tf);
    f.pack();
    f.setVisible(true);
  }
}

-- 
           Summary: TextField colours and setEditable() do not work
                    correctly
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: AWT
        AssignedTo: fitzsim at redhat dot com
        ReportedBy: mckinlay at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug AWT/16680] TextField colours and setEditable() do not work correctly
  2004-07-22 23:58 [Bug AWT/16680] New: TextField colours and setEditable() do not work correctly mckinlay at redhat dot com
@ 2004-07-26  5:48 ` fitzsim at redhat dot com
  2004-07-26  6:02 ` fitzsim at redhat dot com
  2004-07-30 19:38 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: fitzsim at redhat dot com @ 2004-07-26  5:48 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


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


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

* [Bug AWT/16680] TextField colours and setEditable() do not work correctly
  2004-07-22 23:58 [Bug AWT/16680] New: TextField colours and setEditable() do not work correctly mckinlay at redhat dot com
  2004-07-26  5:48 ` [Bug AWT/16680] " fitzsim at redhat dot com
@ 2004-07-26  6:02 ` fitzsim at redhat dot com
  2004-07-30 19:38 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: fitzsim at redhat dot com @ 2004-07-26  6:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fitzsim at redhat dot com  2004-07-26 06:02 -------
Fixed on java-gui-branch.


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


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


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

* [Bug AWT/16680] TextField colours and setEditable() do not work correctly
  2004-07-22 23:58 [Bug AWT/16680] New: TextField colours and setEditable() do not work correctly mckinlay at redhat dot com
  2004-07-26  5:48 ` [Bug AWT/16680] " fitzsim at redhat dot com
  2004-07-26  6:02 ` fitzsim at redhat dot com
@ 2004-07-30 19:38 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-30 19:38 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.5.0


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


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

end of thread, other threads:[~2004-07-30 19:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-22 23:58 [Bug AWT/16680] New: TextField colours and setEditable() do not work correctly mckinlay at redhat dot com
2004-07-26  5:48 ` [Bug AWT/16680] " fitzsim at redhat dot com
2004-07-26  6:02 ` fitzsim at redhat dot com
2004-07-30 19:38 ` pinskia at gcc dot gnu 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).