summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authordjee <djee@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-28 16:23:54 +0000
committerdjee <djee@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-28 16:23:54 +0000
commitb18f63b79544d6dba56d2bf1a0384d9012267ecc (patch)
treeebd301cdaf8ad2a3fa1475d2e3aaf95c70ea2dd3 /libjava
parent433e77e84de62fe3d5727c645fcc4d440ab6f8a5 (diff)
downloadgcc-b18f63b79544d6dba56d2bf1a0384d9012267ecc.tar.gz
2004-01-28 David Jee <djee@redhat.com>
* 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
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog6
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkFramePeer.java1
2 files changed, 7 insertions, 0 deletions
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 <djee@redhat.com>
+
+ * gnu/java/awt/peer/gtk/GtkFramePeer.java
+ (create): Set the default foreground color to
+ java.awt.SystemColor.windowText.
+
2004-01-27 Michael Koch <konqueror@gmx.de>
* 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)