Bug 26035 - Metal L&F window decorations not fully implemented
Summary: Metal L&F window decorations not fully implemented
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: swing (show other bugs)
Version: 0.90
: P3 enhancement
Target Milestone: 0.91
Assignee: Roman Kennke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-30 15:29 UTC by Roman Kennke
Modified: 2006-05-03 11:03 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2006-02-27 18:48:54


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kennke 2006-01-30 15:29:24 UTC
The Metal L&F should support L&F window decorations for top-level window. However, this is not fully implemented yet.
Comment 1 cvs-commit@developer.classpath.org 2006-01-30 17:51:51 UTC
Subject: Bug 26035

CVSROOT:	/cvsroot/classpath
Module name:	classpath
Branch: 	
Changes by:	Roman Kennke <rabbit78@savannah.gnu.org>	06/01/30 15:32:22

Modified files:
	javax/swing    : JFrame.java 
	javax/swing/plaf/metal: MetalLookAndFeel.java 
	                        MetalRootPaneUI.java 
	.              : ChangeLog 

Log message:
	2006-01-30  Roman Kennke  <kennke@aicas.com>
	
	PR classpath/26035
	* javax/swing/JFrame.java
	(frameInit): Handle the defaultLookAndFeelDecorated flag.
	* javax/swing/plaf/metal/MetalRootPaneUI.java
	(MetalFrameBorder): New inner class, provides the border for
	top level containers with L&F decorations.
	(MetalTitlePane): New inner class, provides the title pane for
	top level containers with L&F decorations.
	(MetalRootLayout): New inner class. Used to layout the root pane
	when L&F window decorations are enabled.
	(installUI): New method. Handles window decorations.
	(uninstallUI): New method. Handles window decorations.
	(propertyChange): Handles window decorations.
	(installWindowDecorations): New method. Handles window
	decorations.
	(uninstallWindowDecorations): New method. Handles window
	decorations.
	* javax/swing/plaf/metal/MetalLookAndFeel.java
	(getSupportsWindowDecorations): Overridden to return true.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/JFrame.java.diff?tr1=1.32&tr2=1.33&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalLookAndFeel.java.diff?tr1=1.76&tr2=1.77&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalRootPaneUI.java.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6223&tr2=1.6224&r1=text&r2=text



Comment 2 Roman Kennke 2006-05-03 11:03:29 UTC
I implemented most of the l&f window decoration support. There are some smaller glitches. I close this bug anyway.