[gui] Patch: javax.swing.text

Michael Koch konqueror@gmx.de
Thu Aug 12 19:25:00 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I just commited the attached patch to improve javax.swing.text a bit.


Michael


2004-08-12  Michael Koch  <konqueror@gmx.de>

	* javax/swing/plaf/basic/BasicTextUI.java
	(RootView.textComponent): Removed.
	(RootView.RootView): Don't initialize textComponent.
	(RootView.getViewFactory): New method.
	(EventHandler): New inner class.
	(rootView): Initialize at instance creation.
	(eventHandler): New field.
	(installUI): Don't create view hierarchy directly,
	call modelChanged() instead.
	(modelChanged): New method.
	* javax/swing/text/JTextComponent.java
	(setDocument): Fire property change event.
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBG0F9WSOgCCdjSDsRAktdAJ4un0NGm0a1SqYTbbHO8CUtNq0LnwCeNwDl
JayUkMIrrfazUHNUAxfqMa0=
=0fxC
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: text.diff
Type: text/x-diff
Size: 2862 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040812/07bd00e1/attachment.bin>


More information about the Java-patches mailing list