Re: Re: Turning system borders of windows off?
Marek Slama <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
Piotr Puchalski wrote: > On Fri, 22 Jul 2005 13:11:29 +0200, Marek Slama <[email protected]> > wrote: > >> Piotr Puchalski wrote: >> >>> Hi! >>> >>> As in the subject. Is this possible to turn off system borders of >>> windows and use java native in Netbeans 4.1? I was looking for it >>> in setting, but I failed to find anything:( Any ideas? Thanks in >>> advance, cheers >>> >>> Piotr Puchalski >>> >> Not sure what do you mean. You can use Metal L&F instead of Win L&F. > > > Sorry, for not being precise:/, but it's probably the lack of my > english:( I'm using linux(Gentoo, 2.6.11 kernel, Sun JDK 1.5 - if it > maters), so it is not win L&F for sure;) > I'll try to explain it in other way: > generaly "windows managers" draws: the borders of windows, the "title > bar" above each window with "minimalize", "maximalize" and "close"(X) > buttons. But I know that java can do it - instead of windows > managers. And my question is: is it posible to make Netbeans behave > this way? Very big "Thank YOU":) for this answer and the future > ones(I hope so;, cheers > > Peter If you mean usage of JFrame.setDefaultLookAndFeelDecorated(false); AFAIK it is not supported by NetBeans. I just tried and yes if you set it to true then Java cares about border and title if false decoration is native. Marek. > >> >> Marek. >> > > >