>If I use setSize(100,100); I get a frame that's smaller than that: >something like 90x72 I think: I've deleted the source and can't be >bothered retyping it. Top level frame sizes unhelpfully include the size of the window decorations - titlebar and borders. It was a really bad choice, IMHO, but it's there. There's some magic way to get the size of the decorations from Java and do the math yourself. Another fun thing is that Frames in Windows can't be any narrower than about 108 pixels - that's the minimum width of the title bar. Platform independent GUI is suprisinglyh hard. [EMAIL PROTECTED] . . . . . . . . http://www.media.mit.edu/~nelson/
- Using "setSize" with a Frame. Karthik Vishwanath
- Re: Using "setSize" with a Frame. Juan Carlos Zuluaga
- Re: Using "setSize" with a Frame. Sean Starkey
- Re: Using "setSize" with a Frame. Uncle George
- Re: Using "setSize" with a Frame. John Summerfield
- Re: Using "setSize" with a Frame. Juergen Kreileder
- Re: Using "setSize" with a Fram... John Summerfield
- Re: Using "setSize" with a ... Pavel Tolkachev
- Re: Using "setSize" wi... John Summerfield
- Re: Using "setSize"... Nelson Minar
- Re: Using "setSize&... Juergen Kreileder
- Re: Using "setSize&... Nigel Gamble
- Re: Using "setSize" with a ... Juergen Kreileder
- Re: Using "setSize" with a Fram... John Summerfield