1 Replies - 1790 Views - Last Post: 30 November 2012 - 03:48 AM Rate Topic: -----

#1 SK 4.0  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 20-September 11

JInternalFrame not using JFrame L&F in Netbeans 7.1.2

Posted 30 November 2012 - 03:05 AM

I'm creating a MDI application with Netbeans, everything's working well as expected with the Look and Feel set to Nimbus.

Anytime I run the application, the JFrame and its toolbars use the specified L&F (Nimbus) but the Internal Frames use the cross platform (Metal) L&F making the application look shabby.

I want the Internal Frames to use the same L&F as the JFrame. How do I fix this?

I've tried calling JFrame.setDefaultLookAndFeelDecorated(true) and SwingUtilities.updateComponentTreeUi(frame) but they didn't solve the problem.

What could be the problem?

Is This A Good Question/Topic? 0
  • +

Replies To: JInternalFrame not using JFrame L&F in Netbeans 7.1.2

#2 g00se  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 2735
  • View blog
  • Posts: 11,522
  • Joined: 20-September 08

Re: JInternalFrame not using JFrame L&F in Netbeans 7.1.2

Posted 30 November 2012 - 03:48 AM

Can't say. It's conceivable Nimbus is not supported on those components
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1