This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JInternalFrame close button shrunk on windows 7 with classic look and feel ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "JInternalFrame close button shrunk on windows 7 with classic look and feel ???" Watch "JInternalFrame close button shrunk on windows 7 with classic look and feel ???" New topic
Author

JInternalFrame close button shrunk on windows 7 with classic look and feel ???

satheesh bollam
Greenhorn

Joined: Jan 03, 2011
Posts: 2
Hello all... Currently my swing application runs in Windows XP. I need to support my application on Windows 7 and this is where the problem begins. I got few problems like color discrepancies. When i changed the look and feel of the system to classic laf through code, the color discrpancies were gone but the close(cross mark at right top corner) button of the JInternalFrame was shrunk. I mean only half of the cross symbol was showing thus like a "V" symbol.

I "almost" got the classic look except for badly looking JInternalFrame icons and a standard issue of components at the corners of the screen appearing shrunk in all the screens of the application.

The code which changed the laf is as follows.

UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel");

This caused the JinternalFrame close button problem. I am using Java 1.6.0_16.

Can any body faced this kind of problem ? Please help me on this. Thanks in Advance.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JInternalFrame close button shrunk on windows 7 with classic look and feel ???
 
Similar Threads
swing.noxp equivalent for non-XP windows?
User Interface Look & Feel
Related To jInternalFrame
Designing GUIs with cross-platform look and feel
How did they do that GUI ?