🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10825

How can we get the client frame's size? (emergency)

#10825
From: Eric Maziade
Date: Fri, 06 Aug 1999 00:00
20 lines
1136 bytes
My app need to pop a new frame with an image in it (much like an image
viewer), therefore I need to set the fame's size to the image's size.
The problem is that with the header and borders of the frame, the image wont
fit, so I need to compensate so the client size of the frame (and not the
frame's size) be the size of the image.

I have yet to find how to get the client size (and therefore being able to
get the non-client space taken).

Can anyone help me?

Thanks.

--

---
Eric Maziade
Concepteur en technologies de pointe multim�dia
http://www.novisoft.com
http://www.novisoft.com/maze
Technical Details
Message-ID: <7oenap$em3@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,c42efb1180c7810d,start
X-Google-Attributes: gid111d45,public
From: "Eric Maziade" <maze@novisoft.com.nospam>
Subject: How can we get the client frame's size? (emergency)
Date: 1999/08/06
Message-ID: <7oenap$em3@forums.borland.com>
X-Deja-AN: 509577805
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing