[PATCH] Menu fixes

Dalibor Topic robilad at yahoo.com
Mon Mar 4 08:14:28 PST 2002


hi,

this patch fixes a few small things with Menus. It changes
paramStrings and toString to a more comparable form where
it seems necessary. It fixes a bug in setHelpMenu() in MenuBar.

cheers,

dali
-------------- next part --------------
	* libraries/javalib/java/awt/Menu.java:
	(counter) new static field used as an instance counter.
	(Menu) now sets menu name.
	(getMenuBar) new method, used by isHelpMenu.
	(isHelpMenu) new method, used to check is this menu is the help
	menu.
	(paramString) added state information and improved comparability
	with JDK.	
	
	* libraries/javalib/java/awt/MenuBar.java:
	(counter) new static field used as an instance counter.
	(MenuBar) now sets menu bar name.
	(setHelpMenu) now removes old help menu before it sets the new
	one.

	* libraries/javalib/java/awt/MenuComponent.java:
	(toString) improved comparability with JDK.
	
	* libraries/javalib/java/awt/MenuItem.java:
	(paramString) improved comparability with JDK.
	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 3970 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20020304/25eca673/attachment-0003.diff 


More information about the kaffe mailing list