-
Notifications
You must be signed in to change notification settings - Fork 30
Replies: 3 comments · 13 replies
-
Please attach your source (do not paste it in a comment) |
Beta Was this translation helpful? Give feedback.
All reactions
-
I have a same problem |
Beta Was this translation helpful? Give feedback.
All reactions
-
I understand, we have a problem with the installation because when I install the extension it makes an error and says it requires WTP/WST support |
Beta Was this translation helpful? Give feedback.
All reactions
-
Can you please provide the source code that crashes WB ? |
Beta Was this translation helpful? Give feedback.
All reactions
-
because it gives me an error in the installation and then when I create a jframe I see a red x above the jframe file here is the error code: Unknown GUI toolkit The parser parsed the compilation unit, but can't identifyany GUI toolkit, so WindowBuilder can't display any GUI to edit. This can be caused by one of thefollowing reasons: Hide stack trace. Stack trace: Full context stack trace: |
Beta Was this translation helpful? Give feedback.
All reactions
-
how do i find it? |
Beta Was this translation helpful? Give feedback.
All reactions
-
I understand, we have a problem with the installation because when I install the extension it makes an error and says it requires WTP/WST support |
Beta Was this translation helpful? Give feedback.
All reactions
-
It's the Java file you openend the WindowBuilder editor with.
In short, there are compile errors within the Java code, which need to be resolved before you can open the design page. |
Beta Was this translation helpful? Give feedback.
All reactions
-
HI, It doesn't install all the window builder components, it says it lacks support for WTP/WST but I don't understand how to install it, of course it doesn't show the gui can you help me thanks |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Beta Was this translation helpful? Give feedback.
All reactions
-
That should probably be If you open the Problems view, are there any errors reported for |
Beta Was this translation helpful? Give feedback.
All reactions
-
You are right Calculator i refactered after i realized what i did. Problem view showed no error |
Beta Was this translation helpful? Give feedback.
All reactions
-
Ah, I see. So it's not that the Design page crashes with a stacktrace, but rather the Eclipse just gets stuck. A couple if weeks ago, I submitted a fix when using Swing inside the WindowBuilder. Can you try and install the nightly build and check whether this problem still shows up? Here's the update site: That said, WindowBuilder doesn't seem to run very smoothly with Wayland. If you encounter other instabilities, it might also help to switch to X11 instead. |
Beta Was this translation helpful? Give feedback.
All reactions
-
this is the error:Unknown GUI toolkit The parser parsed the compilation unit, but can't identifyany GUI toolkit, so WindowBuilder can't display any GUI to edit. This can be caused by one of thefollowing reasons: Hide stack trace. Stack trace: Full context stack trace: I am using java 17 this is the code:
|
Beta Was this translation helpful? Give feedback.
-
Hello i need help with this error.
Unknown GUI toolkit
The parser parsed the compilation unit, but can't identify any GUI toolkit, so WindowBuilder can't display any GUI to edit. This can be caused by one of the following reasons:
This class is not an editable UI class and contains no UI components.
WindowBuilder does not recognize the GUI toolkit or library used in this class.
WindowBuilder does not understand this GUI type/pattern in a supported GUI toolkit.
Problems exist with the classpath. For example, the compilation unit uses SWT classes, but the SWT/JFace libraries are not included into the classpath.
Hide stack trace.
org.eclipse.wb.internal.core.utils.exception.DesignerException: 103 (Unknown GUI toolkit). nnnn
at org.eclipse.wb.internal.core.parser.JavaInfoParser.prepareParseContext(JavaInfoParser.java:1204)
at org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:244)
at org.eclipse.wb.internal.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:153)
at org.eclipse.wb.internal.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:1)
at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:160)
at org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:150)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:553)
at org.eclipse.wb.internal.core.editor.DesignPage$8$1.run(DesignPage.java:468)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:183)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:5250)
at org.eclipse.wb.internal.core.editor.DesignPage$8.run(DesignPage.java:464)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:434)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:352)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:470)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:484)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:432)
at org.eclipse.wb.internal.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:389)
at org.eclipse.wb.internal.core.editor.UndoManager.activate(UndoManager.java:90)
at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState_True(DesignPage.java:275)
at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState(DesignPage.java:252)
at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:127)
at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:63)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4646)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1547)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1532)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1325)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3248)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1882)
at org.eclipse.swt.custom.CTabFolder.lambda$0(CTabFolder.java:332)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4646)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1547)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1532)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1325)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4413)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3989)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:643)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:550)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:171)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
Full context stack trace:
org.eclipse.wb.internal.core.utils.exception.DesignerException: 103 (Unknown GUI toolkit). nnnn
at org.eclipse.wb.internal.core.parser.JavaInfoParser.prepareParseContext(JavaInfoParser.java:1204)
at org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:244)
at org.eclipse.wb.internal.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:153)
at org.eclipse.wb.internal.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:1)
at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:160)
at org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:150)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:553)
at org.eclipse.wb.internal.core.editor.DesignPage$8$1.run(DesignPage.java:468)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:183)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:5250)
at org.eclipse.wb.internal.core.editor.DesignPage$8.run(DesignPage.java:464)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:434)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:352)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:470)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:484)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:432)
at org.eclipse.wb.internal.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:389)
at org.eclipse.wb.internal.core.editor.UndoManager.activate(UndoManager.java:90)
at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState_True(DesignPage.java:275)
at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState(DesignPage.java:252)
at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:127)
at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:63)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4646)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1547)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1532)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1325)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3248)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1882)
at org.eclipse.swt.custom.CTabFolder.lambda$0(CTabFolder.java:332)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4646)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1547)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1532)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1325)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4413)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3989)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:643)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:550)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:171)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
First i installed the WindowsBuilder.
Then i create JFrame file, and it fails at the tab Design.
These are the errors:
Description Resource Path Location Type
EmptyBorder cannot be resolved to a type acme.java /ACME/src line 35 Java Problem
EmptyBorder cannot be resolved to a type nnnn.java /ACME/src line 35 Java Problem
EventQueue cannot be resolved acme.java /ACME/src line 16 Java Problem
EventQueue cannot be resolved mmm.java /ACME/src line 13 Java Problem
EventQueue cannot be resolved nnnn.java /ACME/src line 16 Java Problem
JFrame cannot be resolved to a type acme.java /ACME/src line 8 Java Problem
JFrame cannot be resolved to a type mmm.java /ACME/src line 7 Java Problem
JFrame cannot be resolved to a type mmm.java /ACME/src line 17 Java Problem
JFrame cannot be resolved to a type mmm.java /ACME/src line 36 Java Problem
JFrame cannot be resolved to a type mmm.java /ACME/src line 36 Java Problem
JFrame cannot be resolved to a type mmm.java /ACME/src line 37 Java Problem
JFrame cannot be resolved to a type mmm.java /ACME/src line 38 Java Problem
JFrame cannot be resolved to a type nnnn.java /ACME/src line 8 Java Problem
JFrame cannot be resolved to a variable acme.java /ACME/src line 32 Java Problem
JFrame cannot be resolved to a variable mmm.java /ACME/src line 38 Java Problem
JFrame cannot be resolved to a variable nnnn.java /ACME/src line 32 Java Problem
JPanel cannot be resolved to a type acme.java /ACME/src line 10 Java Problem
JPanel cannot be resolved to a type acme.java /ACME/src line 34 Java Problem
JPanel cannot be resolved to a type acme.java /ACME/src line 34 Java Problem
JPanel cannot be resolved to a type acme.java /ACME/src line 35 Java Problem
JPanel cannot be resolved to a type acme.java /ACME/src line 37 Java Problem
JPanel cannot be resolved to a type nnnn.java /ACME/src line 10 Java Problem
JPanel cannot be resolved to a type nnnn.java /ACME/src line 34 Java Problem
JPanel cannot be resolved to a type nnnn.java /ACME/src line 34 Java Problem
JPanel cannot be resolved to a type nnnn.java /ACME/src line 35 Java Problem
JPanel cannot be resolved to a type nnnn.java /ACME/src line 37 Java Problem
Must declare a named package because this compilation unit is associated to the named module 'ACME' acme.java /ACME/src line 1 Java Problem
Must declare a named package because this compilation unit is associated to the named module 'ACME' mmm.java /ACME/src line 1 Java Problem
Must declare a named package because this compilation unit is associated to the named module 'ACME' nnnn.java /ACME/src line 1 Java Problem
The method setBounds(int, int, int, int) is undefined for the type acme acme.java /ACME/src line 33 Java Problem
The method setBounds(int, int, int, int) is undefined for the type nnnn nnnn.java /ACME/src line 33 Java Problem
The method setVisible(boolean) is undefined for the type acme acme.java /ACME/src line 20 Java Problem
The method setVisible(boolean) is undefined for the type nnnn nnnn.java /ACME/src line 20 Java Problem
The package java.awt is not accessible acme.java /ACME/src line 1 Java Problem
The package java.awt is not accessible acme.java /ACME/src line 2 Java Problem
The package java.awt is not accessible mmm.java /ACME/src line 1 Java Problem
The package java.awt is not accessible nnnn.java /ACME/src line 1 Java Problem
The package java.awt is not accessible nnnn.java /ACME/src line 2 Java Problem
The type javax.swing.border.EmptyBorder is not accessible acme.java /ACME/src line 6 Java Problem
The type javax.swing.border.EmptyBorder is not accessible nnnn.java /ACME/src line 6 Java Problem
The type javax.swing.JFrame is not accessible acme.java /ACME/src line 4 Java Problem
The type javax.swing.JFrame is not accessible mmm.java /ACME/src line 3 Java Problem
The type javax.swing.JFrame is not accessible nnnn.java /ACME/src line 4 Java Problem
The type javax.swing.JPanel is not accessible acme.java /ACME/src line 5 Java Problem
The type javax.swing.JPanel is not accessible nnnn.java /ACME/src line 5 Java Problem
Beta Was this translation helpful? Give feedback.
All reactions