Article View: borland.public.jbuilder.java.swing
Article #7600Window Insets prior to show
From: Rich Gold
Date: Mon, 22 Jan 2001 16:26
Date: Mon, 22 Jan 2001 16:26
19 lines
1449 bytes
1449 bytes
I need a way to determine what the insets will be on my jframe when it gets displayed. The problem is that I need this information prior to showing the jframe - when I set the size. I'm working on a utility to convert windows from an older, non-java windowing system to java code. The problem is that in the old resource files, the window size does not include the insets - title bar and other widow decorations. So what I'd like to do is figure out what the window manager is going to do regarding the insets and add them onto the width and height from my older resource files. Can anyone help? Thanks Rich Gold
Technical Details
Message-ID:
<3a6c5f4c$1_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!130.59.211.10.MISMATCH!merapi!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!209.51.175.68Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,d3097db48a77599d,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2001-01-22 08:30:40 PST From: "Rich Gold" <rgold_x@olf.com> Newsgroups: borland.public.jbuilder.java.swing Subject: Window Insets prior to show Date: Mon, 22 Jan 2001 11:26:42 -0500 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 209.51.175.68 Message-ID: <3a6c5f4c$1_1@dnews> X-Trace: 22 Jan 2001 08:26:52 -0800, 209.51.175.68 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!130.59.211.10.MISMATCH!merapi!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!209.51.175.68