[PATCH] Forward state of the resizable flag and the current title from the AWT component to the platform window

proetel at aicas.com proetel at aicas.com
Mon Feb 7 04:50:11 PST 2011


# HG changeset patch
# User Ingo Proetel <proetel at aicas.de>
# Date 1297082041 -3600
# Node ID d8512cf14329ac1a7f43ae9a06602e8098595d6d
# Parent  57d57810636ce95d84614f6768ec496bb8afc2cd
Forward state of the resizable flag and the current title from the AWT component to the platform window.

diff -r 57d57810636c -r d8512cf14329 src/share/classes/sun/awt/peer/cacio/CacioDialogPeer.java
--- a/src/share/classes/sun/awt/peer/cacio/CacioDialogPeer.java	Fri Jan 28 14:10:37 2011 +0100
+++ b/src/share/classes/sun/awt/peer/cacio/CacioDialogPeer.java	Mon Feb 07 13:34:01 2011 +0100
@@ -36,6 +36,8 @@
 
     public CacioDialogPeer(Dialog awtC, PlatformWindowFactory pwf) {
         super(awtC, pwf);
+        setResizable(awtC.isResizable());
+        setTitle(awtC.getTitle());
     }
 
     public void setResizable(boolean resizable) {



More information about the caciocavallo-dev mailing list