I experience a similar issue on windows, but not linux. The first time
I create a JFrame
in the lifetime of a JVM, it hangs and the frame does not appear until
I go to the
inferior lisp buffer and hit the enter key. After I do this once it
behaves normally when
creating subsequent JFrames.
I connected jconsole to see what was going on, and at the point it is
hung the
awt event queue thread is in a native method
sun.awt.windows.WDesktopProperties.init
Not sure what that method is doing or why swank would cause it to
hang. I may
look into it more when I have some time.
Name: AWT-EventQueue-0
State: RUNNABLE
Total blocked: 0 Total waited: 0
Stack trace:
sun.awt.windows.WDesktopProperties.init(Native Method)
sun.awt.windows.WDesktopProperties.<init>(WDesktopProperties.java:58)
sun.awt.windows.WToolkit.initializeDesktopProperties(WToolkit.java:
934)
java.awt.Toolkit.getDesktopProperty(Toolkit.java:1734)
- locked sun.awt.windows.WToolkit@13835b4
javax.swing.UIManager.<clinit>(UIManager.java:384)
javax.swing.JPanel.updateUI(JPanel.java:109)
javax.swing.JPanel.<init>(JPanel.java:69)
javax.swing.JPanel.<init>(JPanel.java:92)
javax.swing.JPanel.<init>(JPanel.java:100)
javax.swing.JRootPane.createGlassPane(JRootPane.java:527)
javax.swing.JRootPane.<init>(JRootPane.java:347)
javax.swing.JFrame.createRootPane(JFrame.java:260)
javax.swing.JFrame.frameInit(JFrame.java:241)
javax.swing.JFrame.<init>(JFrame.java:164)