Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1280
  • Last Modified:

How can I set the look and feel with JDesktop and JInternalFrames

Hi,
   I am having some problems setting the look and feel while using a JDesktopPane and JInternalFrames.  I want to use a windows look and feel for my applications and the JInternalFrames are coming up as the java look and feel.  Can anyone help me with setting the look and feel with the JInternalFrames and JDesktops?

Thanks!!
0
kassidy2010
Asked:
kassidy2010
1 Solution
 
CEHJCommented:
How are you setting it?
0
 
kassidy2010Author Commented:
right now I am not setting it, it is using the default.  I set the main frame but not the JDesktop or JInternalFrame.  I coudl not figure that out.  I tried using the UIManager fro the JDesktop and InternalFrame but it did not work.  I use the UIManager for the Main Frame
0
 
objectsCommented:
Make sure you set the L&F *before* you create the desktop pane.
Best place is probably in your main before you create the gui that way everything will use the specified L&F.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now