Re: [JAVA2D] rotating Swing components

2007-12-05 Thread Dmitri Trembovetski
Hi Mark, I recall that Alex did something like this on his blog: http://weblogs.java.net/blog/alexfromsun/ I think this is the one: http://weblogs.java.net/blog/alexfromsun/archive/2006/07/jxtransformer_t.html Thanks, Dmitri Mark Stephens wrote: I am trying to get some

[JAVA2D] How to display a Java2D lightweight component on top of a heavy weight window that has been reparented?

2007-12-05 Thread Rob Ratcliff
Hi, I'm trying to overlay a transparent JPanel on top of a native Window that has been reparented using the approach below: I'm using Overlayout to layer to panels on top of eachother. The native Window (DirectX) always displays above the lightweight component. I had thought that JDK 7 allowed

[JAVA2D] rotating Swing components

2007-12-05 Thread Mark Stephens
I am trying to get some existing Swing components to rotate their contents so that the text appears at 90,180 or 270. Is there a way to do this to existing components without having to create a custom version and over-ride paint()? MArk