-
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;
http://img715.imageshack.us/img715/1631/thisy.png
How would I change this^ to something like this:
http://img514.imageshack.us/img514/8456/tothis.png
Any help is appreciated <3
-
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.