977: Preview still doesn't work :-(

已回答

Reason-Message: "cannot load /FormPreviewFrame.class"

1
Avatar
Permanently deleted user

Tom Schreiber wrote:

Reason-Message: "cannot load /FormPreviewFrame.class"


Unfortunately build #977 doesn't contain some "resource" classes, so
preview in UI designer is not available. Sorry. We will try fix this
problem in next build.

With best regards,
Vladimir Kondratyev
_____________________
JetBrains

0
Avatar
Permanently deleted user

Vladimir,

The message in build 977 look seem preview feature requres form compilation,
so
is it will posible to preview unbinded forms?

Thanks!

"Vladimir Kondratyev (JetBrains)" <vova@intellij.com> wrote in message
news:bpafod$tff$3@is.intellij.net...

Tom Schreiber wrote:

Reason-Message: "cannot load /FormPreviewFrame.class"

>

Unfortunately build #977 doesn't contain some "resource" classes, so
preview in UI designer is not available. Sorry. We will try fix this
problem in next build.

>

With best regards,
Vladimir Kondratyev
_____________________
JetBrains

>


0
Avatar
Permanently deleted user


Vladimir Kondratyev (JetBrains) wrote:

Unfortunately build #977 doesn't contain some "resource" classes, so
preview in UI designer is not available.


Any chance to get those classes/resources as an extra download (without
any warranty of course)? Depending on how far away the next is, this might
give some people the chance to report additional problems earlier (and give
you the chance to fix those earlier).


Sascha


0

It's been 17 years, yet here we are:

Intellij 2020.1 CE, Build IC-201.6668.121

Using Java 1.8 on the project.

Some posts seem to suggest to add forms_rt.jar to the project's dependencies, yet this jar does not contain FormPreviewFrame.jar:

$ jar -tf forms_rt.jar
META-INF/
META-INF/MANIFEST.MF
com/
com/intellij/
com/intellij/uiDesigner/
com/intellij/uiDesigner/core/
com/intellij/uiDesigner/UIFormXmlConstants.class
com/intellij/uiDesigner/core/AbstractLayout.class
com/intellij/uiDesigner/core/DimensionInfo.class
com/intellij/uiDesigner/core/GridConstraints.class
com/intellij/uiDesigner/core/GridLayoutManager.class
com/intellij/uiDesigner/core/HorizontalInfo.class
com/intellij/uiDesigner/core/LayoutState.class
com/intellij/uiDesigner/core/Spacer.class
com/intellij/uiDesigner/core/SupportCode$1.class
com/intellij/uiDesigner/core/SupportCode$TextWithMnemonic.class
com/intellij/uiDesigner/core/SupportCode.class
com/intellij/uiDesigner/core/Util.class
com/intellij/uiDesigner/core/VerticalInfo.class
$

0

This is another issue and it has been fixed in scope of https://youtrack.jetbrains.com/issue/IDEA-237293

Fix will be included in 2020.2

0

请先登录再写评论。