From b18f63b79544d6dba56d2bf1a0384d9012267ecc Mon Sep 17 00:00:00 2001 From: djee Date: Wed, 28 Jan 2004 16:23:54 +0000 Subject: 2004-01-28 David Jee * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Set the default foreground color to java.awt.SystemColor.windowText. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76792 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/ChangeLog | 6 ++++++ libjava/gnu/java/awt/peer/gtk/GtkFramePeer.java | 1 + 2 files changed, 7 insertions(+) (limited to 'libjava') diff --git a/libjava/ChangeLog b/libjava/ChangeLog index b12440538b6..bafa19c868f 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2004-01-28 David Jee + + * gnu/java/awt/peer/gtk/GtkFramePeer.java + (create): Set the default foreground color to + java.awt.SystemColor.windowText. + 2004-01-27 Michael Koch * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java, diff --git a/libjava/gnu/java/awt/peer/gtk/GtkFramePeer.java b/libjava/gnu/java/awt/peer/gtk/GtkFramePeer.java index 8fd96b45a57..83516d1b640 100644 --- a/libjava/gnu/java/awt/peer/gtk/GtkFramePeer.java +++ b/libjava/gnu/java/awt/peer/gtk/GtkFramePeer.java @@ -133,6 +133,7 @@ public class GtkFramePeer extends GtkWindowPeer // Create a normal decorated window. create (GDK_WINDOW_TYPE_HINT_NORMAL, true); setMenuBar(((Frame) awtComponent).getMenuBar()); + awtComponent.setForeground(java.awt.SystemColor.windowText); } public void getArgs (Component component, GtkArgList args) -- cgit v1.2.1