[gui] Patch: javax.swing.text views
Michael Koch
konqueror@gmx.de
Mon Aug 16 21:02:00 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
I just commited the attached patch to add some new stuff to
javax.swing.text views and to fix some stuff in it.
Michael
2004-08-14 Michael Koch <konqueror@gmx.de>
* javax/swing/text/PlainView.java
(selectedColor): New field.
(unselectedColor): Likewise.
(font): Likewise.
(updateMetrics): New method.
(lineToRect): Likewise.
(modelToView): Likewise.
(drawSelectedText): Use color from JTextComponent ad draw with
Utilities class.
(drawUnselectedText): Likewise.
(paint): Initialize helper fields.
* javax/swing/text/View.java
(getChildAllocation): New method.
(getViewIndex): Likewise.
(getToolTipText): Likewise.
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBHcP8WSOgCCdjSDsRAqLWAKCQPBCkz1hHEBelajCApgLgg8dexQCgn+Nd
Xw8AxUMI2mzczaLACkRGAqo=
=Md+h
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: view.diff
Type: text/x-diff
Size: 4762 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040816/8434d2e7/attachment.bin>
More information about the Java-patches
mailing list