标签: efxclipse

导入javafx.scene.control.Alert无法解析

我在Eclipse中跟随两个导入时收到错误:

import javafx.scene.control.Alert;
import javafx.scene.control.Alert.AlertType;
Run Code Online (Sandbox Code Playgroud)

错误是:" 导入javafx.scene.control.Alert无法解析 ",第二个import语句也是如此.

我正在使用Eclipse版本:Luna Service Release 2(4.4.2)并安装了最新JDK 1.8(1.8.0_45)的e(fx)clipse.

其他与javafx相关的import语句没有问题,例如

import javafx.scene.control.Label;
import javafx.scene.control.ListView;
import javafx.scene.input.MouseEvent;
Run Code Online (Sandbox Code Playgroud)

java eclipse javafx efxclipse

18
推荐指数
1
解决办法
2万
查看次数

如何禁用Eclipse Mars中的css警告"未知属性"?

我的css文件中有很多"未知属性"警告.

这可能是因为我安装了e(fx)clipse 2.0和Eclipse Web Developer Tools.

如果我用e(fx)clipse css编辑器打开css文件并添加/ SuppressWarnings /警告图标会改变其颜色(见下图).

然而:

  • Problems视图仍显示警告,默认css Editor也显示警告.
  • 我不想添加/ SuppressWarnings /,因为使用WinLess自动生成css文件.

如何禁用特定文件的"未知属性"警告或根本不用?

我的css文件不在"src"下,而是在"help"文件夹下.该帮助文件夹包含我的Eclipse插件和相应的css文件的html文件.=>这些文件不用于JavaFx/e(fx)clipse.

这是一篇相关文章,它并没有真正帮助我,但可能会给你更多信息:https: //www.eclipse.org/forums/index.php/t/515810/

屏幕截图显示警告和问题视图(点击放大) 在此输入图像描述

css eclipse validation xtext efxclipse

8
推荐指数
2
解决办法
6471
查看次数

部署时出现 JavaFX-11 错误:找不到模块

我正在尝试部署一个非常基本的 JavaFX 应用程序。我只是在创建一个新的 JavaFX 项目并尝试将其部署到 .exe,但它给了我一个未找到模块的错误。

这是控制台日志:

Buildfile: D:\eclipseProjects\Test\build\build.xml
setup-staging-area:
   [delete] Deleting directory D:\eclipseProjects\Test\build\externalLibs
   [delete] Deleting directory D:\eclipseProjects\Test\build\project
   [delete] Deleting directory D:\eclipseProjects\Test\build\projectRefs
    [mkdir] Created dir: D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
    [mkdir] Created dir: D:\eclipseProjects\Test\build\project
     [copy] Copying …
Run Code Online (Sandbox Code Playgroud)

eclipse efxclipse module-info java-11 javafx-11

6
推荐指数
0
解决办法
228
查看次数

没有e(fx)剪辑-用于安装的IDE选项

我试图在eclipse(e(fx)clipse)中获取JavaFX,并且在这里尝试执行以下步骤:https ://www.eclipse.org/efxclipse/install.html 。但是,在第4步中,没有e(fx)clipse-IDE的选项,只有e(fx)clipse-Minimal JavaFX OSGi集成包。我安装了它,但是这似乎并不正确,因为在创建新项目时,它没有为JavaFX向导提供选项,这是我的最终目标。我想知道如何显示此向导并使用它创建一个JavaFX项目。

java eclipse javafx efxclipse

4
推荐指数
1
解决办法
588
查看次数

无法让 JavaFX 在 Eclipse 中运行

I have a Problem with JavaFX that I can't resolve after more than a day of researching on Google and different forums. I am currently learning Java with a tutorial and a few books, which has been going very nicely up until now.

My problem is that I can't get JavaFX to run in eclipse. I have installed the e(fx)clipse addon.

I have made sure that the JavaFX SDK is listed in the Libraries in the Java Buid Path and …

java eclipse javafx efxclipse

2
推荐指数
1
解决办法
2966
查看次数

标签 统计

eclipse ×5

efxclipse ×5

java ×3

javafx ×3

css ×1

java-11 ×1

javafx-11 ×1

module-info ×1

validation ×1

xtext ×1