5 Replies - 7025 Views - Last Post: 02 July 2010 - 12:56 PM Rate Topic: -----

#1 bcranger  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 252
  • View blog
  • Posts: 1,199
  • Joined: 01-February 10

JInternalFrame Windows Look And Feel

Posted 30 June 2010 - 07:33 PM

I know you can set the JFrame to have the Windows style but I couldn't find the method for a JInternalFrame...
Is there a way to make the JInternalFrame have a Windows look?
Is This A Good Question/Topic? 0
  • +

Replies To: JInternalFrame Windows Look And Feel

#2 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3093
  • View blog
  • Posts: 19,139
  • Joined: 14-September 07

Re: JInternalFrame Windows Look And Feel

Posted 30 June 2010 - 07:35 PM

From JInternalPanel's API page:

Quote

Generally, you add JInternalFrames to a JDesktopPane. The UI delegates the look-and-feel-specific actions to the DesktopManager object maintained by the JDesktopPane.

Was This Post Helpful? 0
  • +
  • -

#3 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8324
  • View blog
  • Posts: 31,857
  • Joined: 06-March 08

Re: JInternalFrame Windows Look And Feel

Posted 30 June 2010 - 08:50 PM

View Postbcranger, on 30 June 2010 - 08:33 PM, said:

I know you can set the JFrame to have the Windows style but I couldn't find the method for a JInternalFrame...
Is there a way to make the JInternalFrame have a Windows look?

It will inherit the one from the JDesktopPane so this the one to which you should apply the look & feel

Sorry KYA cross posts

I don't think Sun engineering made provisions for different Look & Feel within the same JDesktopPane

This post has been edited by pbl: 30 June 2010 - 08:53 PM

Was This Post Helpful? 2
  • +
  • -

#4 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2870
  • View blog
  • Posts: 11,021
  • Joined: 15-July 08

Re: JInternalFrame Windows Look And Feel

Posted 01 July 2010 - 09:19 PM

View Postpbl, on 30 June 2010 - 10:50 PM, said:

I don't think Sun engineering made provisions for different Look & Feel within the same JDesktopPane


Probably for a reason that that JDesktopPane is supposed to integrate with the OS. If it had freedom like Swing, then it wouldn't be fulfilling its purpose.
Was This Post Helpful? 0
  • +
  • -

#5 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8324
  • View blog
  • Posts: 31,857
  • Joined: 06-March 08

Re: JInternalFrame Windows Look And Feel

Posted 01 July 2010 - 09:53 PM

View PostDogstopper, on 01 July 2010 - 10:19 PM, said:

View Postpbl, on 30 June 2010 - 10:50 PM, said:

I don't think Sun engineering made provisions for different Look & Feel within the same JDesktopPane


Probably for a reason that that JDesktopPane is supposed to integrate with the OS. If it had freedom like Swing, then it wouldn't be fulfilling its purpose.

Your wisdom will always astonish me :)
Was This Post Helpful? 1
  • +
  • -

#6 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2870
  • View blog
  • Posts: 11,021
  • Joined: 15-July 08

Re: JInternalFrame Windows Look And Feel

Posted 02 July 2010 - 12:56 PM

Why thank you!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1