It's not a secret anymore!
The moose likes Swing / AWT / SWT and the fly likes Frame and JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Frame and JFrame" Watch "Frame and JFrame" New topic

Frame and JFrame

Joseph Russell
Ranch Hand

Joined: Jan 08, 2001
Posts: 290
I created a Frame and then created the same thing with a JFrame. While I like the better handeling of the JFrame I thought the Frame had a better appearence on my machine (just running win95). How can I get a JFrame to have the same appearance has a Frame?
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
houston, we have a problem!
i have a rectangle and a cylinder, cylinder looks better.
how can i make the rectangle look like a cylinder.
Just kidding........... , sorry couldn't resist.
I, personally would use Frame unless there are other
pressing demands, which in your case maybe true.
- satya

Take a Minute, Donate an Hour, Change a Life
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

A frame all by itself is a pretty featureless thing. I admit not seeing a difference when I tested it on my machine.
If you refer to the components inside your frame, then maybe you can change the L&F (Look & Feel) to something different.
I can post some code to do this if you want.
Joseph Russell
Ranch Hand

Joined: Jan 08, 2001
Posts: 290
I suppose I'll just play with it. I'm determined to use a JFrame soooo I'll beat it till it looks like I want it to. I'll have to take my code and run it on a different machine though and see if maybe it's just because I have a piece of junk at work...
I agree. Here's the link:
subject: Frame and JFrame
jQuery in Action, 3rd edition