Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird inverted window



John,

Are you changing the transforms on any graphic contexts in a custom paint method of a component of that window? If so make sure you either create a new context using Graphics.create(...) or restore the original transform before returning from the paint method.

--Victor


John Osborne wrote:
I was testing a complicated Swing UI the other day and something I did caused the whole window to flip upside and flip left to right. The net result was an upside down and mirrored version of the window and it's contents. Weird thing also was that I could still select a cell in a flipped and mirrored JTable. So does anyone have any idea how I might of caused this to happen? This software is for folks that produce tsunami warnings and it would be "inconvenient" for this to happen during an actual emergency. Java 1.5.0_13 on MacBook Pro, 10.4.11. TIA

oz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden



This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Weird inverted window (From: John Osborne <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.