Size



Hello,

I need to resize a JFrame (with caption) so that the client area is exactly
640x480. If I do a setSize(640, 480) the client area is smaller due to the
caption and border of the frame. I need to get the size of the caption and
of the borders. But where can I find that information? (or is it a way to
resize the frame base on the client area size?)

Thanks, Francois


.



Relevant Pages

  • Re: Arcane Question @ Text Boxes & "Frames"
    ... Insert | Caption with a floating object selected, Word puts the ... caption in a text box (you'll need to either convert that to a frame or pull ... insert both figure and caption in a single frame). ... Both frames and text boxes have a border by default. ...
    (microsoft.public.word.pagelayout)
  • Re: Insert pictures - caption query
    ... as if your caption paragraph has somehow acquired a border. ... > Frame to place it against the right margin or wherever ... ... > have just been trying to select and move the picture only. ...
    (microsoft.public.word.docmanagement)
  • Re: Size
    ... I need to resize a JFrame so that the client area is exactly 640x480. ... the client area is smaller due to the caption and border of the frame. ...
    (comp.lang.java.programmer)
  • Re: Arcane Question @ Text Boxes & "Frames"
    ... caption in a text box (you'll need to either convert that to a frame or pull ... insert both figure and caption in a single frame). ... Both frames and text boxes have a border by default. ... page, column, margin, paragraph), but their wrapping limited to None ...
    (microsoft.public.word.pagelayout)
  • Re: Caption Height
    ... That doesn't appear to be the case for a themed window. ... the themed window part ID's there are parts for left frame, ... That might be what I end up doing, adding caption height + 1 frame width. ... I am already subtracting border width (1 ...
    (microsoft.public.vb.winapi)