Skip to main content

SGText cannot compile in java1.5

1 reply [Last post]
mortennobel
Offline
Joined: 2004-11-03
Points: 0

Seems to be some problems compiling SGText using 1.5, since it uses some 1.6 features. such as:

Font.hasLayoutAttributes()
TransformAttribute.IDENTITY
etc.

Kind regards,
Morten

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mortennobel
Offline
Joined: 2004-11-03
Points: 0

I can see the problem is nearly solved in revision #243

But line 287 should be replaced:

From
transformAttr != TransformAttribute.IDENTITY) {
to
!transformAttr.isIdentity()) {

Morten