• Post Reply Bookmark Topic Watch Topic
  • New Topic

JInternalFrame "Look and Feel" question.  RSS feed

 
Adam Altmann
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I've been asked to write a Multiple-Document interface application, and have a very basic version up and running. It seems however, that the "Look and Feel" for JInternalFrame does not pay attention to the rest of the application. My backing frame (L&F = whatever the default is on Windows) does not match the internal ones (L&F = Motif). I've managed to change the Look and Feel for everything using UIManager, but it just doesn't look "the same". I'm wary of using Motif, as it will frighten the unsuspecting users.

Is there a simple way to "fix" these uncooperative Internal Frames without having to change whatever the Default Look and Feel is? (The L&F was "updated" with 1.5, was it not? I'm assuming it's that L&F that the backing frame is using, which is what I'd prefer).

Thanks,

-Lost in Wisconsin
 
Ken Blair
Ranch Hand
Posts: 1078
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it was updated in 1.5 and is much better in my opinion. I've been working on an MDI application as well and haven't had the problems you mentioned, I'm not sure what it could be but I don't think that's normal behavior for Java.
 
Adam Altmann
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's the code I've written. There are three seperate classes. One for the main() method, one to generate the backing GUI, and one for the internal frame.







The backing UI (with the menu-bar) shows up as Synth, while the internal frames show up in Motif. This happens when I run from the command-line, OR run from Eclipse.

Any ideas?

*Edit: I've run it on two seperate systems with the same result.
[ June 17, 2005: Message edited by: Adam. Altmann. ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!