
-----------------------------------
FileFantasy
Sat Mar 31, 2007 7:25 pm

Question about JFrame.setDef...
-----------------------------------
I remember long time ago, when I dealt with looks of a JFrame that has buttons in it, the buttons have a blue-green, kinda aqua color, and it's kinda shaded, which looked really nice.

But now when I try setDefaultLookAndFeelDecorated(true); it only gives me the top bar (with the title, minimize, maximize and close), the buttons remain a flat gray.

Is there another command that I'm forgetting? I really want to use the one that gave nice button graphics again, and now that I think about it, I think that one didn't add a top bar either, which is good, because I like the windows top bar more.

Thanks in advance.

-----

Attention Freakman / rizzix: what did you edit?

-----------------------------------
FileFantasy
Sun Apr 08, 2007 7:40 pm

Re: Question about JFrame.setDef...
-----------------------------------
The following is what I'm talking about:

Before: (credits go to Carleton University)
http://www.scs.carleton.ca/~lanthier/teaching/COMP1406/Notes/COMP1406_2/APP8d.jpg

After: (credits go to http://www.beginner-java-tutorial.com)
http://www.beginner-java-tutorial.com/borderlayout.JPG

Note that in Before, setDeaultLookAndFeel(true) gave nicer button graphics than After, and I'm trying to find out why I can't get the Before buttons to show up anymore when I use setDeaultLookAndFeel(true).

-----------------------------------
FileFantasy
Mon Apr 09, 2007 4:27 pm

RE:[Edited by Freakman] Question about JFrame.setDef...
-----------------------------------
Come to think of it, I think I was using NetBeans back then, and now I'm stuck with RTP because the school uses it.

Think that might be the reason?

-----------------------------------
HellblazerX
Mon Apr 09, 2007 7:38 pm

RE:[Edited by Freakman] Question about JFrame.setDef...
-----------------------------------
When I tried running my programs at school, the buttons were of the nicer graphics, but when I run it at home, they don't.  It's not because of RTP, because I used both JCreator and RTP.  I think it might be the JDK version, as I'm only using 1.4.2.

-----------------------------------
FileFantasy
Sat Apr 14, 2007 12:56 am

RE:[Edited by Freakman] Question about JFrame.setDef...
-----------------------------------
Well, I just updated to the newest version, and I still get bad buttons...

I think I was using XP Prof Ed back then, Home Ed right now, wonder if that makes a difference.
