Eclipse Bug: Unhandled event loop exception No more handles

后端 未结 23 1996
栀梦
栀梦 2020-11-28 23:34

I\'ve built a GUI using Swing and the MigLayout.

I am using Eclipse 4.2.2 (64-bit) on Windows 7 Ultimate. Every time I click back into the window to edit my code, a

23条回答
  •  南方客
    南方客 (楼主)
    2020-11-29 00:16

    As suggested by Nineroad Installing WindowBuilder as the default editor for files with a *.java extention fixed this issue for me.

    In Eclipse, navigate to Help > Install New Software

    Add http://archive.eclipse.org/windowbuilder/WB/release/R201309271200/4.3 to the "Work with" path, select all components suggested, and install WindowBuilder.

    Once complete, Eclipse will request restart. Once restarted, within Eclipse navigate to Window > Preferences. In The Preferences dialogue-box navigate to General > Editor > File Associations. Under "File Associations" list, be sure to select *.java file types. The bottom window (labeled "Associated Editors") should have WindowBuilder as an option. Select WindowBuilder and click "Default" to the right, to set WindowBuilder as your default *.java file editor.

    This fixed the SWT error for me.

    Note: Eclipse Version: Kepler Service Release 2 Windows 7 64-bit

提交回复
热议问题