-2

I've coded a little swing MDI app and want to look it like my old Solaris Desktop. The Motif LaF does a nice job, but when I drag or resize a JInternalframe (MDI child) only the border moves. The rest of the frame appears only after I release the mouse button.

Is there any way to change this weird behaviour? Thanx in advance! :)

4

1 回答 1

0

我修好了它:

    theDesktop.setDesktopManager(new DefaultDesktopManager());

其中 theDesktop 是我的 JDesktopPane。

显然,Motif LaF 已经忘记了这一点,而其他 LaF 有一个 DesktopManager。

问题解决了。线程可以关闭。

于 2017-07-27T08:46:24.040 回答