Hi again Just tested JBuilder with twm and then Sawfish, and the oversized dialog box problem never happened, so I'm pretty sure that the problem is Blackbox<->JavaVM/JBuilder related.
Here are the results of xprop and xwininfo under twm (exactly same situation/dialog as before) (I have not checked for any differences here, I'm a newbie when it comes to the inner workings of the X window system) xprop on JBuilder dialog (correctly sized) using twm: WM_STATE(WM_STATE): window state: Normal icon window: 0x0 WM_TRANSIENT_FOR(WINDOW): window id # 0xc00021 _MOTIF_WM_MESSAGES(ATOM) = _MOTIF_WM_OFFSET WM_PROTOCOLS(ATOM): protocols _MOTIF_WM_MESSAGES, WM_DELETE_WINDOW _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x6, 0xffffffff, 0x1, 0x3, 0x0 WM_CLIENT_LEADER(WINDOW): window id # 0xc00021 WM_LOCALE_NAME(STRING) = "no" WM_CLASS(STRING) = "AWTdialog", "VendorShell" WM_HINTS(WM_HINTS): Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0xc00021 WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified location: 321, 234 program specified size: 506 by 272 window gravity: NorthWest WM_CLIENT_MACHINE(STRING) = "gandalf.zeo-underground" WM_NAME(STRING) = "Tip of the Day" xwininfo on JBuilder dialog (correctly sized) using twm: xwininfo: Window id: 0xc00025 "Tip of the Day" Absolute upper-left X: 323 Absolute upper-left Y: 257 Relative upper-left X: 0 Relative upper-left Y: 21 Width: 506 Height: 272 Depth: 24 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: ForgetGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: yes Map State: IsViewable Override Redirect State: no Corners: +323+257 -195+257 -195-239 +323-239 -geometry 506x272+321+234 --- ØS.