Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Not sure ><

  1. #1
    Junior Member
    Join Date
    Mar 2010
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Not sure ><

    Wasn't sure what to title this ><

    I was wondering how do you change the X / maximize / minimize on a program?

    For example;



    How would I change this^ to something like this:



    Any help is appreciated <3

  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,308
    Thanks
    181
    Thanked 824 Times in 767 Posts
    Blog Entries
    5

    Default Re: Not sure ><

    I do not think it is possible to do so directly because this bar is rendered by the OS and not java per se. An indirect solution would be to remove it altogether by setting the decorated flag, and render it yourself in the content of the JFrame. You will have to programmatically deal with events that come from this custom title bar.