[gui] Patch: javax.swing.plaf.basic and javax.swing.text

Michael Koch konqueror@gmx.de
Wed Jun 30 19:56:00 GMT 2004


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

Hi list,


I just commited the attached patch to fix some things in 
javax.swing.plaf.basic and javax.swing.text.


Michael


2004-06-30  Michael Koch  <konqueror@gmx.de>

	* javax/swing/plaf/basic/BasicButtonUI.java
	(paintFocus): Fixed method signature.
	(paintButtonPressed): Likewise.
	(paintButtonNormal): Likewise.
	(paintText): New method.
	* javax/swing/plaf/basic/BasicLabelUI.java
	(paint): Re-indented.
	* javax/swing/plaf/basic/BasicTextUI.java
	(installUI): Set parent textComponent to opaque.
	* javax/swing/text/DefaultHighlighter.java
	(checkPositions): New helper method.
	(addHighlight): Throws BadLocationException, check positions.
	(changeHighlight): Likewise.
	* javax/swing/text/EditorKit.java
	(EditorKit): Implements Serializable.
	* javax/swing/text/JTextComponent.java
	(getUI): Added javadoc.
	(setUI): Likewise.
	(upadteUI): Added javadoc, don't revalidate and repaint.
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD4DBQFA4xn0WSOgCCdjSDsRAk8MAJY18XWyUihbK0+kxWI7Vf3xXUlnAJ0aaS0c
wn+/OWsn7pjxJaW+sak6zQ==
=NhZV
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swing.diff
Type: text/x-diff
Size: 7917 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040630/b38b632d/attachment.bin>


More information about the Java-patches mailing list