Giter Club home page Giter Club logo

jfoenix's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jfoenix's Issues

Customize the snackbar

Anyway to customize the snackbar elements such us font, font size and background of snackbar.

Few issues with JFXTabPane

When tabs are on bottom the line that represents select tab is on wrong tab.
On screenshot first tab is selected and line is on last.

Another issue is when clicking on tab headers, sometimes we need to click few times so selection goes to that tab.

See screenshot attached.

Nice to have would be to have line below tab label or to have property to set the line to top or bottom.

screenshot284

JFXProgressBar NPE on switching indeterminate state

If JFXProgressBarwas initialized by non-indeterminate value, then trying to set progress to -1 causes NullPointerException at JFXProgressBarSkin.java:68
Here's sample program to reproduce issue:

@Override
public void start(Stage primaryStage) {
    ProgressBar pb = new ProgressBar(5);
    JFXProgressBar jfxpb = new JFXProgressBar(5);
    Button button = new Button("Set indeterminate");
    button.setOnAction(e -> {
        pb.setProgress(-1);
        jfxpb.setProgress(-1);
    });
    Scene scene = new Scene(new VBox(button, pb, jfxpb), 200, 200);
    primaryStage.setScene(scene);
    primaryStage.show();
}

Can't open the demo with the SceneBuilder

When I tried to open main.fxml in the Demo folder with SceneBuilder, I got this error message.
How to fix this issue?

`java.io.IOException: javafx.fxml.LoadException:
/C:/Users/test/Documents/workspace/JFoenix/demo/resources/fxml/Main.fxml

at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.load(FXOMLoader.java:92)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.<init>(FXOMDocument.java:82)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.<init>(FXOMDocument.java:97)
at com.oracle.javafx.scenebuilder.kit.editor.EditorController.updateFxomDocument(EditorController.java:2384)
at com.oracle.javafx.scenebuilder.kit.editor.EditorController.setFxmlTextAndLocation(EditorController.java:664)
at com.oracle.javafx.scenebuilder.app.DocumentWindowController.loadFromFile(DocumentWindowController.java:381)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.performOpenFiles(SceneBuilderApp.java:549)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.handleOpenFilesAction(SceneBuilderApp.java:419)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.handleLaunch(SceneBuilderApp.java:399)
at com.oracle.javafx.scenebuilder.app.AppPlatform.requestStartGeneric(AppPlatform.java:139)
at com.oracle.javafx.scenebuilder.app.AppPlatform.requestStart(AppPlatform.java:106)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.start(SceneBuilderApp.java:349)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$159(LauncherImpl.java:863)
at com.sun.javafx.application.LauncherImpl$$Lambda$55/468253410.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$172(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl$$Lambda$48/880504706.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl.lambda$null$170(PlatformImpl.java:295)
at com.sun.javafx.application.PlatformImpl$$Lambda$50/927958254.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$171(PlatformImpl.java:294)
at com.sun.javafx.application.PlatformImpl$$Lambda$49/753051148.run(Unknown Source)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$145(WinApplication.java:101)
at com.sun.glass.ui.win.WinApplication$$Lambda$38/172623023.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)

Caused by: javafx.fxml.LoadException:
/C:/Users/test/Documents/workspace/JFoenix/demo/resources/fxml/Main.fxml

at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2605)
at javafx.fxml.FXMLLoader.importClass(FXMLLoader.java:2852)
at javafx.fxml.FXMLLoader.processImport(FXMLLoader.java:2696)
at javafx.fxml.FXMLLoader.processProcessingInstruction(FXMLLoader.java:2665)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2521)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2429)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.load(FXOMLoader.java:89)
... 25 more

Caused by: java.lang.ClassNotFoundException: de.jensd.fx.fontawesome.AwesomeIcon
de.jensd.fx.fontawesome.AwesomeIcon
at java.lang.ClassLoader.findClass(ClassLoader.java:530)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at javafx.fxml.FXMLLoader.loadTypeForPackage(FXMLLoader.java:2920)
at javafx.fxml.FXMLLoader.loadType(FXMLLoader.java:2909)
at javafx.fxml.FXMLLoader.importClass(FXMLLoader.java:2850)
... 30 more
`

Upgrade to FontAwesomeFX 8.5 possible?

I am using the JFXTabPane, which depends on the class de.jensd.fx.fontawesome.Icon. You have version 8.0.10 in your libs folder. Since I am also using FontAwesomeFX in version 8.5, I am running into problems. Is it possible to update JFoenix?

JFXDialog in BorderPane

Hello,

when i try using JFXDialog in a BorderPane, the the Dialog will open in space outside of the application, I can see only i tiny edge.

I can show an example if neccessary for recreate the problem.

Broken Demo

When I try to run the demo with ant -f build-demo.xml:

    ...
    [javac] /home/brandy/Software/JFoenix/demo/demos/components/TreeTableDemo.java:18: error: package org.scenicview does not exist
    [javac] import org.scenicview.ScenicView;
    ...

Update required

Hi there,
Just want to know if you've adapted the things in the home page of your website (jfoenix) with the latest changes in your library? For example, I can not find Snackbar related classes in the jar file you've put to download. Again, I can not see any visual demo for Snackbar like the one you put there to announce existence of your new time picker.

Thanks.

PropertyNotFoundException with JFXToggleButton

Hello,
I try to use the JFXToggleButton in my application. I build my view inside the JavaFX SceneBuilder and everything looks fine. I customize the colors of the button. When I load the view inside my application, I get the follow exception:

Caused by: javafx.fxml.LoadException: 
unknown path:69

    at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2601)
    at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2579)
    at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
    at de.uni_bremen.roborally.gui.controller.FXMLController.loadFXML(FXMLController.java:158)
    at de.uni_bremen.roborally.gui.controller.FXMLController.afterPropertiesSet(FXMLController.java:73)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
    ... 83 more
Caused by: com.sun.javafx.fxml.PropertyNotFoundException: Property "toggleLineColor" does not exist or is read-only.
    at javafx.fxml.FXMLLoader$Element.processValue(FXMLLoader.java:348)
    at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:325)
    at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:235)
    at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:767)
    at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2823)
    at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2532)
    ... 88 more

I used try it with the version inside the maven repo and a hand build with the current master.

The second issue is that the toggle button looks different in my application. The line is thinner and the button text is not showing.

JFXListView autosize error

Code

public class ListViewTest extends Application {

    int i = 0;

    @Override
    public void start(Stage primaryStage) throws Exception {
        VBox root = new VBox(10);

        JFXListView<String> listView = new JFXListView<String>();
        Button btn = new Button("add");
        btn.setOnAction(e -> {
            listView.getItems().add("item" + (i++));
        });

        root.getChildren().addAll(btn, listView);

        Scene scene = new Scene(root, 800, 600);
        primaryStage.setScene(scene);
        primaryStage.show();
    }

    public static void main(String[] args) {
        launch(args);
    }

}

before click add button

1

first click add button

the height is 0
2

click again add button

the item0 is show , the item1 is overflow, A scroll bar appeas.
3

Continuous Integration

Currently, the JFoenix binaries are compiled and updated once in a while. I think this project would benefit from continuous integration, which means that a service builds and tests the project on every push to the GitHub repository. That way, you would have fresh binaries for every repository version (which is useful, since users are then able to get bleeding-edge builds to reproduce issues without having to build on their own). Also, if configured correctly, pull requests can also be tested whether their unit tests pass. I would be happy to help with setting up the CI, in case help is needed. I would recommend CircleCI, since I can provide help with it and it also allows to save build artifacts for every build in history (which is not the case for all services).

Since this project is open source, we can benefit from free plans at a lot of services.

Code does not compile with JDK8u60

This release removed com.sun.javafx.Utils, breaking many JavaFX related projects such as this one. May I recommend to look at ControlsFX to figure out how they solved this problem?

JFXToggleButton initial selection (before stage is shown) doesn't work

Calling JFXToggleButton.setSelected(true) before stage.show() is not reflected in the UI (the button appears as not selected).

Reproducer: just add the initial selection in the ToggleDemoButton:

        JFXToggleButton toggleButton = new JFXToggleButton();
        toggleButton.setText("New Skin");
        toggleButton.setSelected(true); // <-- added line
        pane.getChildren().add(toggleButton);   

Library footprint

Hello world,

first of all, great work on the project, I really like it. However, I think the dependencies are to heavy for a javafx ui framework... is it possible to use jfoenix without the complete datafx-project for example?

JFXDrawer hide/show events

It would be useful to know that hide/show is finished.
Use-case: SidePane is visible and contains a logout button. Logout will remove the content of the sidepane. But if we remove the content immediately after hide() call, the user is able to see the empty side-pane.

A callback or listener or hide(function) would help....

PaswordField : java.lang.RuntimeException: Line.endX :

Hi,

I have an exception with JFXPaswordField using validation.
The problem

JFXTextField don't occur with text field.

I aligned the implementation of JFXPasswordFieldSkin with the JFXTextFieldSkin and the problem is resolved.

The modified file is in the attachements.
JFXPasswordFieldSkin.java.txt

Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: Line.endX : A bound value cannot be set.
    at javafx.beans.property.DoublePropertyBase.set(DoublePropertyBase.java:143)
    at javafx.scene.shape.Line.setEndX(Line.java:191)
    at com.jfoenix.skins.JFXPasswordFieldSkin.lambda$layoutChildren$282(JFXPasswordFieldSkin.java:253)
    at com.jfoenix.skins.JFXPasswordFieldSkin.access$lambda$11(JFXPasswordFieldSkin.java)
    at com.jfoenix.skins.JFXPasswordFieldSkin$$Lambda$12.changed(Unknown Source)
    at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)
    at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
    at javafx.beans.property.ReadOnlyDoubleWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyDoubleWrapper.java:177)
    at javafx.beans.property.ReadOnlyDoubleWrapper.fireValueChangedEvent(ReadOnlyDoubleWrapper.java:143)
    at javafx.beans.property.DoublePropertyBase.markInvalid(DoublePropertyBase.java:113)
    at javafx.beans.property.DoublePropertyBase.set(DoublePropertyBase.java:147)
    at javafx.scene.layout.Region.setWidth(Region.java:858)
    at javafx.scene.layout.Region.resize(Region.java:1364)
    at javafx.scene.layout.Region.layoutInArea(Region.java:2325)
    at javafx.scene.control.SkinBase.layoutInArea(SkinBase.java:702)
    at javafx.scene.control.SkinBase.layoutInArea(SkinBase.java:587)
    at javafx.scene.control.SkinBase.layoutChildren(SkinBase.java:169)
    at com.sun.javafx.scene.control.skin.TextFieldSkin.layoutChildren(TextFieldSkin.java:738)
    at com.jfoenix.skins.JFXPasswordFieldSkin.layoutChildren(JFXPasswordFieldSkin.java:227)
    at javafx.scene.control.Control.layoutChildren(Control.java:576)
    at javafx.scene.Parent.layout(Parent.java:1079)
    at javafx.scene.Parent.layout(Parent.java:1085)
    at javafx.scene.Parent.layout(Parent.java:1085)
    at javafx.scene.Parent.layout(Parent.java:1085)
    at javafx.scene.Parent.layout(Parent.java:1085)
    at javafx.scene.Parent.layout(Parent.java:1085)
    at javafx.scene.Parent.layout(Parent.java:1085)
    at javafx.scene.Parent.layout(Parent.java:1085)
    at javafx.scene.Parent.layout(Parent.java:1085)
    at javafx.scene.Parent.layout(Parent.java:1085)
    at javafx.scene.Scene.doLayoutPass(Scene.java:552)
    at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2397)
    at com.sun.javafx.tk.Toolkit.lambda$runPulse$30(Toolkit.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:354)
    at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:381)
    at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:510)
    at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:490)
    at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$404(QuantumToolkit.java:319)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)
    at java.lang.Thread.run(Thread.java:745)

Thanks

Bad ram usage with scenebuilder

Hi,
I created a simple Pane with a JFXProgressBar as child in it. When i added JFXProgressBar, my ram usage suddenly started to increase rapidly.

jfoenix-ram-usage

So in 1 minute it takes approximately 5 GB ram :), As soon as i remove JFXProgressBar my ram usage stopped and in the next GC call it dropped to 4 GB.

No linux build/run-demo sh files

Linux users should have shell scripts similar to the Windows batch files used to build and run the demo. I'd be happy to create such scripts.

Missing Style

The style for the raise-button class does not exists in the included style sheets.

  button.getStyleClass.add("button-raised") // This does not work

//this will work
  button.setStyle("    -fx-padding: 0.7em 0.57em;\n    " +
    "-fx-font-size: 14px;\n    " +
    "-fx-button-type: RAISED;\n    " +
    "-fx-background-color: rgb(77,102,204);\n    " +
    "-fx-pref-width: 200;\n    " +
    "-fx-text-fill: WHITE;")

JFXDrawerStack setContent seems odd to me

Hi,
JFXDrawerStack.setContent looks like this:

public void setContent(Node content){
    this.content = content;
    if(drawers.size() > 0) drawers.get(0).setContent(content);
    else this.getChildren().add(this.content);
}

I wonder why it is performing a call to setContent on the drawer whereas one is simply able to call setContent on any drawer if desired?

To be honest, I can't understand the drawer.setContent behaviour; I do not see anything when calling the method, and I have to setSidePane on the drawer to see something inside the drawer when it opens.

Clone and compile project with Eclipse fails

Environment:

  • Eclipse Mars.1
  • Gluon Tools (Plugin 1.0)
  • JDK 1.8 u40
  • JDK 1.8 u60

RecursiveTreeItem.java

  • The method createObjectBinding(Callable<T>, Observable...) in the type Bindings is not applicable for the arguments (() -> {}, ObjectProperty<Predicate<TreeItem<T>>>)
  • The target type of this expression must be a functional interface

And I guess e(fx)clipse reports:

/JFoenix/src/resources/css/jfoenix-fonts.css

  • Invalid font family name

how to add sublists in JFXListView,following code fails

    JFXListView<Label> jfxListView = new JFXListView<Label>();
    jfxListView.getStylesheets().add(getClass().getClassLoader().getResource("css/jfoenix-main-demo.css").toExternalForm());

    JFXListView<HBox> jfxListView1 = new JFXListView<HBox>();
    jfxListView1.setGroupnode(new Label("head"));

    for(int k =0;k< 40;k++){
        jfxListView1.getItems().add(ViewFactory.getLectureItemView());
    }
    jfxListView.addSublist(jfxListView1,0);

    primaryStage.setScene(new Scene(jfxListView,390,400));
    primaryStage.show()

Button and TextField problems

I have added this library to my recent project but when i try to setText on a JFXTextField nothing happened. They are problems with JFXButtons and setOnAction. Exception in both cases.
Thank you.

css hamburger icon bug?

I trying to change the color to the hamburger icon using CSS, which is default BLACK , following the documentation doesn't work for my , I have tried:

.jfx-hamburger-icon
{
    -fx-pref-width: 40px;
    -fx-pref-height: 7px;
    -fx-background-color : #D63333;
    -fx-background-radius : 5px;
    -fx-ripple-color:WHITE;
}

and It doesnt work.
I have tried to change it to

.jfx-hamburger{
  -fx-background-color : #D63333;
}

and the color appears in the full parent VBOX and not in the icon as such.

Is it a bug or it has been any refactoring which doesnt appear in the documentation?.

NOTE: I've downloaded the prebuilt jar and also built by myself the entire project , the result is the same.

Null pointer exception when binding boolean property

I get this message as below wehn I call "selectedProperty().bindBidirectional(...)":

Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
at com.jfoenix.skins.JFXCheckBoxSkin.lambda$new$179(JFXCheckBoxSkin.java:101)
at com.jfoenix.skins.JFXCheckBoxSkin.access$lambda$0(JFXCheckBoxSkin.java)
at com.jfoenix.skins.JFXCheckBoxSkin$$Lambda$1.changed(Unknown Source)
at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)

JFXButton triggers action on shadow click

Create a RAISED Button and click with the mouse on the shadow outside of the "visible button area".
The button action will be triggered.

Simply test it with main demo application (Dialogs).

It's not a big problem, but it's unusual to use/click the shadow.

JVXDrawer with full-height side pane

It would be nice to have support for full-height sidepanes. Sometimes it looks better to overlap the whole application and not only the content area!

Currently, the side-pane height has the same height as the drawer.

Please avoid streams

You have an IntStream in JFXListViewSkin. This is no problem for JavaFX on desktop, but if you try to use JFoenix on mobile devices, this dependency would be a problem.

There's a backport of streams: http://sourceforge.net/projects/streamsupport/
Use this lib or simply replace the stream code.

Both worked in my case.

hide current Snack (or snackbar)

Hi,
My question is how to hide a long showing snack on the snackbar? Can I hide the snackbar in any way? I could not reach my requirement simply by checking available methods.

Thanks in advance.

JFXSlider color issue

I've updated library and found an issue with JFXSlider

old lib version 30 october

new new version

std standard slider

Press Shift+f5 for sync gifs

JFXDrawer

Hi,

I've found a bug with JFXDrawer/JFXDrawerStack. If I setDefaultDrawerSize to some sizes, they will not be properly toggle-closed and the isShown method does not show the correct status. In the DrawerDemo.java, I've changed the default size into 150 and the issue appears.
In another example on my own, the default size has to be greater than 400 or it fails as I explained.
[UPDATE]
I just comment out the setDefaultDrawerSize for the top/bottom drawer and the issue appears again. This is not true for the left and right drawers, however. I've uploaded a demo project below (see last comment).

Cannot build with gradle

[michael@localhost:22:19 JFoenix] $ gradle build

FAILURE: Build failed with an exception.

* Where:
Build file '/home/michael/ide/JFoenix/build.gradle' line: 61

* What went wrong:
A problem occurred evaluating root project 'jfoenix-root'.
> Cannot cast object '[configuration ':demo:compileOnly']' with class 'java.util.ArrayList' to class 'org.gradle.api.file.FileCollection' due to: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.gradle.api.file.FileCollection(org.gradle.api.internal.artifacts.configurations.DefaultConfiguration_Decorated)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 14.613 secs

I thought that maybe JAVA_HOME wasn't set, but:

[michael@localhost:22:28 JFoenix] $ echo $JAVA_HOME
usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-4.b16.fc22.i386

Mind that I have no previous experience with gradle.

JFoenix Android

Hi,
Can I employ JFeonix in android using (Gluon's) jfxmobile android plugin (javafxport)? Are you applying retrolambda for same reason?
If so, why don't you put some announcement on that great design decision on the home page (readme). Compared to controlfx, your library seems to be easily portable to android using javafxport and that's anoutstanding advantage.

Thanks.

Null pointer exception when binding text property

I have a null pointer exception when i bind text property of JFXTextField or JFXPasswordField to an empty String property :

StringProperty property = new SimpleStringProperty();
JFXPasswordField passwordField = new JFXPasswordField();
passwordField.textProperty().bind(property);

OR 

StringProperty property = new SimpleStringProperty();
JFXTextField validationField = new JFXTextField();
validationField.textProperty().bind(property);

The null pointer occurs when the filed is focued.

The null pointer exception for JFXPasswordField is :

Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
    at com.jfoenix.skins.JFXPasswordFieldSkin.focus(JFXPasswordFieldSkin.java:372)
    at com.jfoenix.skins.JFXPasswordFieldSkin.lambda$new$258(JFXPasswordFieldSkin.java:199)
    at com.jfoenix.skins.JFXPasswordFieldSkin.access$lambda$8(JFXPasswordFieldSkin.java)
    at com.jfoenix.skins.JFXPasswordFieldSkin$$Lambda$9.changed(Unknown Source)
    at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)
    at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
    at javafx.beans.property.ReadOnlyBooleanPropertyBase.fireValueChangedEvent(ReadOnlyBooleanPropertyBase.java:72)
    at javafx.scene.Node$FocusedProperty.notifyListeners(Node.java:7718)
    at javafx.scene.Scene$13.invalidated(Scene.java:2080)
    at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:111)
    at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
    at javafx.scene.Scene$KeyHandler.setFocusOwner(Scene.java:3924)
    at javafx.scene.Scene$KeyHandler.requestFocus(Scene.java:3971)
    at javafx.scene.Scene$KeyHandler.access$1900(Scene.java:3910)
    at javafx.scene.Scene.requestFocus(Scene.java:2044)
    at javafx.scene.Node.requestFocus(Node.java:7879)
    at com.sun.javafx.scene.control.behavior.TextFieldBehavior.mousePressed(TextFieldBehavior.java:248)
    at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:95)
    at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
    at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
    at javafx.event.Event.fireEvent(Event.java:198)
    at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
    at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
    at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:352)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:275)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:388)
    at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:387)
    at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
    at com.sun.glass.ui.View.notifyMouse(View.java:937)
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)
    at java.lang.Thread.run(Thread.java:745)

For the JFXTextField is :

Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
    at com.jfoenix.skins.JFXTextFieldSkin.focus(JFXTextFieldSkin.java:378)
    at com.jfoenix.skins.JFXTextFieldSkin.lambda$new$338(JFXTextFieldSkin.java:207)
    at com.jfoenix.skins.JFXTextFieldSkin.access$lambda$6(JFXTextFieldSkin.java)
    at com.jfoenix.skins.JFXTextFieldSkin$$Lambda$7.changed(Unknown Source)
    at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)
    at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
    at javafx.beans.property.ReadOnlyBooleanPropertyBase.fireValueChangedEvent(ReadOnlyBooleanPropertyBase.java:72)
    at javafx.scene.Node$FocusedProperty.notifyListeners(Node.java:7718)
    at javafx.scene.Scene$13.invalidated(Scene.java:2080)
    at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:111)
    at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
    at javafx.scene.Scene$KeyHandler.setFocusOwner(Scene.java:3924)
    at javafx.scene.Scene$KeyHandler.requestFocus(Scene.java:3971)
    at javafx.scene.Scene$KeyHandler.access$1900(Scene.java:3910)
    at javafx.scene.Scene.requestFocus(Scene.java:2044)
    at javafx.scene.Node.requestFocus(Node.java:7879)
    at com.sun.javafx.scene.control.behavior.TextFieldBehavior.mousePressed(TextFieldBehavior.java:248)
    at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:95)
    at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
    at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
    at javafx.event.Event.fireEvent(Event.java:198)
    at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
    at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
    at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:352)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:275)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:388)
    at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:387)
    at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
    at com.sun.glass.ui.View.notifyMouse(View.java:937)
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)
    at java.lang.Thread.run(Thread.java:745)

Thanks

JFXButton with icon doesn't ripple in any case

Simply create a JFXButton with text and icon, e.g.
Add this

<graphic>
  <Icon awesomeIcon="REPLY" size="1.5em" style=";"styleClass="option-jfx-list-view-icon" />
</graphic>

to a button in your Button.fxml (demo application) or use:

JFXButton butt = new JFXButton("BUTTON A");
butt.setButtonType(ButtonType.RAISED);
butt.setStyle("-fx-font-size:14px;-fx-background-color:WHITE;");
butt.setGraphic(new Icon(AwesomeIcon.USER, "1.5em", ";", "option-jfx-list-view-icon"));

If you hover over the text, the cursor won't change to hand (css thing), but if you press the left mouse button over the text, the rippler does nothing. The shadow-effect works.

License compatibility

It looks like some code has been copied from Fxperience (com.jfoenix.jidefx.CachedTimelineTransition, authored by Jasper Potts). This code was published under GPLv2 + CP but JFoenix is published under LGPLv3. I worry there may be a license incompatibility issue here, which would prevent this library form being used in a serious environment where license compliance is a deciding factor (all FLOSS licenses should be honored all the way ๐Ÿ˜).

Change TabPane ripple color from CSS

Hello,

How do I change the TabPane ripple color from CSS ? I looked at the Java code and the rippler has no id nor class associated with it, so I don't think I can link it from the CSS... I saw the -fx-ripple-color property but it doesn't seem to work wherever I put it.

JFXListView resizing problem

I have a simple demo application, similar to your main-demo. There's a toolbar with a menu and option button. The menu button shows a side-pane.

The side-pane contains a VBox inside a ScrollPane. The VBox contains 3 JFXListViews.
Each list was separated by a label:

image

If you resize the stage (main window), the scrollbars of ScrollPane appear. If there's no selected item, everything is fine, but if you have a selected item:

image

the horizontal scroolbar of the list appears. Might be a resize problem of added Group?

Test application:

import com.jfoenix.controls.JFXDrawer;
import com.jfoenix.controls.JFXDrawer.DrawerDirection;
import com.jfoenix.controls.JFXHamburger;
import com.jfoenix.controls.JFXListView;
import com.jfoenix.controls.JFXPopup;
import com.jfoenix.controls.JFXPopup.PopupHPosition;
import com.jfoenix.controls.JFXPopup.PopupVPosition;
import com.jfoenix.controls.JFXRippler;
import com.jfoenix.controls.JFXRippler.RipplerMask;
import com.jfoenix.controls.JFXToolbar;
import com.jfoenix.transitions.hamburger.HamburgerBackArrowBasicTransition;

import de.jensd.fx.fontawesome.AwesomeIcon;
import de.jensd.fx.fontawesome.Icon;
import javafx.application.Application;
import javafx.application.Platform;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.control.ScrollPane;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.StackPane;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;

public class SimpleDemo extends Application
{
    private int counter = 0;

    public static void main(String[] args) 
    {
        launch(args);
    }    

    @Override
    public void start(Stage stage) throws Exception
    {
        JFXToolbar toolbar = new JFXToolbar();

        VBox vbox = new VBox();
        vbox.setSpacing(20d);
        vbox.getChildren().add(toolbar);

        BorderPane bpMain = new BorderPane();
        bpMain.setTop(vbox);

        StackPane stackRoot = new StackPane();
        stackRoot.getChildren().add(bpMain);


        JFXRippler menuLeft = new JFXRippler();
        menuLeft.setMaskType(RipplerMask.CIRCLE);
        menuLeft.setStyle("-fx-ripple-color:WHITE;");

        JFXHamburger burgerLeft = new JFXHamburger();
        burgerLeft.setId("titleBurger");
        burgerLeft.setAnimation(new HamburgerBackArrowBasicTransition());

        StackPane stackMenuLeft = new StackPane();
        stackMenuLeft.setId("titleBurgerContainer");
        stackMenuLeft.getChildren().add(burgerLeft);

        menuLeft.setControl(stackMenuLeft);


        JFXRippler menuRight = new JFXRippler();
        menuRight.setMaskType(RipplerMask.CIRCLE);
        menuRight.setStyle("-fx-ripple-color:WHITE;");
        menuRight.setId("optionsRippler");

        JFXHamburger burgerRight = new JFXHamburger();
        burgerRight.getStyleClass().add("jfx-options-burger");

        StackPane stackMenuRight = new StackPane();
        stackMenuRight.setId("optionsBurger");
        stackMenuRight.getChildren().add(burgerRight);

        menuRight.setControl(stackMenuRight);

        toolbar.getLeftItems().add(menuLeft);
        toolbar.getRightItems().add(menuRight);


        Icon icoHelp = new Icon(AwesomeIcon.USER, "1.5em", ";", "option-jfx-list-view-icon");
        Icon icoExit = new Icon(AwesomeIcon.POWER_OFF, "1.5em", ";", "option-jfx-list-view-icon");

        Label lblExit = new Label("Exit", icoExit);

        JFXListView<Label> listPopup = new JFXListView<>(); 
        listPopup.getStyleClass().add("option-list-view");
        listPopup.getItems().add(new Label("Help", icoHelp));
        listPopup.getItems().add(lblExit);

        JFXPopup popOptions = new JFXPopup();
        popOptions.setContent(listPopup);
        popOptions.getStyleClass().add("tool-bar-popup");
        popOptions.setPopupContainer(stackRoot);
        popOptions.setSource(menuRight);

        stackMenuRight.setOnMouseClicked(e -> popOptions.show(PopupVPosition.TOP, PopupHPosition.RIGHT, -12, 15));

        lblExit.setOnMouseClicked(e -> Platform.exit());


        JFXListView<Label> listSidePane = new JFXListView<>();
        listSidePane.setId("sideList");
        listSidePane.getItems().add(new Label("User management"));
        listSidePane.getItems().add(new Label("Administration"));

        JFXListView<Label> listSidePane2 = new JFXListView<>();
        listSidePane2.setId("sideList");
        listSidePane2.getItems().add(new Label("User management"));
        listSidePane2.getItems().add(new Label("Administration"));

        JFXListView<Label> listSidePane3 = new JFXListView<>();
        listSidePane3.setId("sideList");
        listSidePane3.getItems().add(new Label("User management"));
        listSidePane3.getItems().add(new Label("Administration"));

        VBox scrollBox = new VBox(new Label("First group"), listSidePane, new Label("Second group"), listSidePane2, new Label("Third group"), listSidePane3);
        scrollBox.setFillWidth(true);

        ScrollPane scroll = new ScrollPane(scrollBox);
        scroll.setFitToWidth(true);


        StackPane sidePane = new StackPane();
        sidePane.setId("sideContent");
        sidePane.getStyleClass().add("side-menu");
        sidePane.getChildren().add(scroll);

        StackPane content = new StackPane();
        content.setId("content");

        JFXDrawer drawer = new JFXDrawer();
        drawer.setId("drawer");
        drawer.setDefaultDrawerSize(250);
        drawer.setDirection(DrawerDirection.LEFT);
        drawer.getStyleClass().add("body");
        drawer.setSidePane(sidePane);
        drawer.setContent(content);

        // init the title hamburger icon
        drawer.setOnDrawingAction(e -> 
        {
            burgerLeft.getAnimation().setRate(1);
            burgerLeft.getAnimation().setOnFinished((event) -> counter = 1);
            burgerLeft.getAnimation().play();
        });
        drawer.setOnHidingAction(e -> 
        {
            burgerLeft.getAnimation().setRate(-1);
            burgerLeft.getAnimation().setOnFinished((event) -> counter = 0);
            burgerLeft.getAnimation().play();
        });

        stackMenuLeft.setOnMouseClicked(e->
        {
            if (counter == 0)
                drawer.draw();
            else if (counter == 1)
                drawer.hide();

            counter = -1;
        });

        bpMain.setCenter(drawer);

        Scene scene = new Scene(stackRoot, 800, 800);
        scene.getStylesheets().add(SimpleDemo.class.getResource("/resources/css/jfoenix-fonts.css").toExternalForm());
        scene.getStylesheets().add(SimpleDemo.class.getResource("/resources/css/jfoenix-design.css").toExternalForm());
        scene.getStylesheets().add(SimpleDemo.class.getResource("/resources/css/jfoenix-main-demo.css").toExternalForm());
        stage.setScene(scene);
        stage.show();
    }

}

Compilation error while build using terminal

Environment-

java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

**Gradle 2.10
Build time: 2015-12-21 21:15:04 UTC
Build number: none
Revision: 276bdcded730f53aa8c11b479986aafa58e124a6

Groovy: 2.4.4
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.8.0_65 (Oracle Corporation 25.65-b01)
OS: Mac OS X 10.11.2 x86_64**

Build file '/Users/Hemang/Documents/Code/Text-Editor-Project/sjt/JFoenix/build.gradle': line 59
The plus(Iterable<FileCollection>) method and using the '+' operator in conjunction with an Iterable<FileCollection> object have been deprecated and are scheduled to be removed in 3.0.  Please use the plus(FileCollection) method or the '+' operator with a FileCollection object instead.
:assemble UP-TO-DATE
:check UP-TO-DATE
:build UP-TO-DATE
:jfoenix:compileJava
Note: /Users/Hemang/Documents/Code/Text-Editor-Project/sjt/JFoenix/src/com/jfoenix/controls/JFXSlider.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:jfoenix:compileRetrolambdaMain
:jfoenix:processResources UP-TO-DATE
:jfoenix:classes
:jfoenix:jar
:demo:compileJava
Note: /Users/Hemang/Documents/Code/Text-Editor-Project/sjt/JFoenix/demo/demos/components/TreeTableDemo.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:demo:processResources UP-TO-DATE
:demo:classes
:demo:jar UP-TO-DATE
:demo:startScripts
:jfoenix:javadocJar UP-TO-DATE
:jfoenix:retroSourcesJar
:jfoenix:sourcesJar
:demo:distTar
:demo:distZip
:demo:assemble
:demo:licenseMain
Missing header in: demo/demos/components/DrawerDemo.java
Missing header in: demo/demos/components/ColorPickerDemo.java
Missing header in: demo/demos/components/ComboBoxDemo.java
Missing header in: demo/demos/components/HamburgerDemo.java
Missing header in: demo/demos/components/NodesListDemo.java
Missing header in: demo/demos/components/PopupDemo.java
Missing header in: demo/demos/components/ProgressBarDemo.java
Missing header in: demo/demos/components/RadioButtonDemo.java
Missing header in: demo/demos/components/SliderDemo.java
Missing header in: demo/demos/components/SpinnerDemo.java
Missing header in: demo/demos/components/TabsDemo.java
Missing header in: demo/demos/components/TextAreaDemo.java
Missing header in: demo/demos/components/TextFieldDemo.java
Missing header in: demo/demos/components/CheckBoxDemo.java
Missing header in: demo/demos/components/ToolBarDemo.java
Missing header in: demo/demos/components/ButtonDemo.java
Missing header in: demo/demos/components/TreeTableDemo.java
Missing header in: demo/demos/components/TreeViewDemo.java
Missing header in: demo/demos/components/DatePickerDemo.java
Missing header in: demo/demos/gui/main/MainController.java
Missing header in: demo/demos/gui/sidemenu/SideMenuController.java
Missing header in: demo/demos/components/ToggleButtonDemo.java
Missing header in: demo/demos/gui/uicomponents/CheckboxController.java
Missing header in: demo/demos/gui/uicomponents/DialogController.java
Missing header in: demo/demos/components/RipplerDemo.java
Missing header in: demo/demos/gui/uicomponents/IconsController.java
Missing header in: demo/demos/gui/uicomponents/ListViewController.java
Missing header in: demo/demos/gui/uicomponents/ProgressBarController.java
Missing header in: demo/demos/components/ListViewDemo.java
Missing header in: demo/demos/gui/uicomponents/PopupController.java
Missing header in: demo/demos/gui/uicomponents/SpinnerController.java
Missing header in: demo/demos/gui/uicomponents/ComboBoxController.java
Missing header in: demo/demos/gui/uicomponents/SVGLoaderController.java
Missing header in: demo/demos/gui/uicomponents/TextFieldController.java
Missing header in: demo/demos/gui/uicomponents/ButtonController.java
Missing header in: demo/demos/IcoMoonFontViewer.java
Missing header in: demo/demos/datafx/AnimatedFlowContainer.java
Missing header in: demo/demos/MainDemo.java
Missing header in: demo/demos/gui/uicomponents/ToggleButtonController.java
Missing header in: demo/demos/gui/uicomponents/RadioButtonController.java
Missing header in: demo/demos/gui/uicomponents/SliderController.java
Unknown file extension: demo/resources/fonts/icomoon.svg
Missing header in: demo/resources/fxml/Main.fxml
Missing header in: demo/resources/css/jfoenix-main-demo.css
Missing header in: demo/resources/fxml/SideMenu.fxml
Missing header in: demo/resources/fxml/ui/Checkbox.fxml
Missing header in: demo/resources/fxml/ui/Icons.fxml
Missing header in: demo/resources/css/jfoenix-components.css
Missing header in: demo/resources/fxml/ui/ListView.fxml
Missing header in: demo/resources/fxml/ui/Button.fxml
Missing header in: demo/resources/fxml/ui/ProgressBar.fxml
Missing header in: demo/resources/fxml/ui/Popup.fxml
Missing header in: demo/resources/fxml/ui/Combobox.fxml
Missing header in: demo/resources/fxml/ui/SVGLoader.fxml
Missing header in: demo/resources/fxml/ui/Dialog.fxml
Missing header in: demo/resources/fxml/ui/ToggleButton.fxml
Missing header in: demo/resources/fxml/ui/Spinner.fxml
Missing header in: demo/resources/fxml/ui/Slider.fxml
Missing header in: demo/resources/fxml/ui/RadioButton.fxml
Missing header in: demo/resources/fxml/ui/TextField.fxml
:demo:licenseTest UP-TO-DATE
:demo:license
:demo:compileTestJava UP-TO-DATE
:demo:processTestResources UP-TO-DATE
:demo:testClasses UP-TO-DATE
:demo:test UP-TO-DATE
:demo:check
:demo:build
:jfoenix:assemble
:jfoenix:licenseMain
Missing header in: src/com/jfoenix/controls/RecursiveTreeItem.java
:jfoenix:licenseTest UP-TO-DATE
:jfoenix:license
:jfoenix:compileTestJava UP-TO-DATE
:jfoenix:compileRetrolambdaTest SKIPPED
:jfoenix:processTestResources UP-TO-DATE
:jfoenix:testClasses UP-TO-DATE
:jfoenix:test UP-TO-DATE
:jfoenix:check
:jfoenix:build

BUILD SUCCESSFUL

Total time: 27.324 secs

This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.10/userguide/gradle_daemon.html

Error al ejecutar demo

Error en el demo

Exception in Application start method
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
Caused by: java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$156(LauncherImpl.java:182)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: URI is not hierarchical
at java.io.File.(File.java:418)
at com.jfoenix.svg.SVGGlyphLoader.loadGlyphsFont(SVGGlyphLoader.java:93)
at demos.IcoMoonFontViewer.start(IcoMoonFontViewer.java:52)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$163(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$176(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$174(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$175(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$149(WinApplication.java:191)
... 1 more
Exception running application demos.IcoMoonFontViewer

JFXDrawerStack bug?

Hi again,
I am trying to use an instance of JFXDrawerStack this way:

  1. Instantiate one and add to it an instance of a Button using the setContent method;
  2. show it.
    I can see the stack in the scene, but unfortunately I can't see the button. The stack does not show the content until I add a JFXDrawer to it using addDrawer method. Is it a design decision or a bug?
    Another issue is that I've to first setContent and then I'll be able to addDrawer, otherwise I'll get a NullPointerException.

Thanks.

JFXCombobox was broken by commit d5a2a7bc87d8e91fd22e19cedd97b199fff48bf5

Choosing an item from JFXCombobox now causes a RunTimeException.

This bug is reproducible using the official demo app.

Stack trace:

Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: .pre
fWidth : A bound value cannot be set.
        at javafx.beans.property.DoublePropertyBase.set(DoublePropertyBase.java:
143)
        at javafx.css.StyleableDoubleProperty.set(StyleableDoubleProperty.java:8
2)
        at javafx.scene.layout.Region.setPrefWidth(Region.java:1076)
        at javafx.scene.layout.Region.setPrefSize(Region.java:1121)
        at com.sun.javafx.scene.control.skin.ComboBoxPopupControl.reconfigurePop
up(ComboBoxPopupControl.java:318)
        at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.computeMinHeig
ht(ComboBoxListViewSkin.java:257)
        at javafx.scene.control.Control.computeMinHeight(Control.java:487)
        at javafx.scene.Parent.minHeight(Parent.java:949)
        at javafx.scene.layout.Region.minHeight(Region.java:1401)
        at javafx.scene.layout.Region.computeChildMinAreaHeight(Region.java:1697
)
        at javafx.scene.layout.VBox.getAreaHeights(VBox.java:436)
        at javafx.scene.layout.VBox.computeContentHeight(VBox.java:518)
        at javafx.scene.layout.VBox.computeMinHeight(VBox.java:396)
        at javafx.scene.Parent.minHeight(Parent.java:949)
        at javafx.scene.layout.Region.minHeight(Region.java:1401)
        at javafx.scene.layout.Region.getMaxAreaHeight(Region.java:1960)
        at javafx.scene.layout.Region.computeMaxMinAreaHeight(Region.java:1847)
        at javafx.scene.layout.HBox.computeMinHeight(HBox.java:415)
        at javafx.scene.Parent.minHeight(Parent.java:949)
        at javafx.scene.layout.Region.minHeight(Region.java:1401)
        at javafx.scene.layout.Region.computeChildMinAreaHeight(Region.java:1697
)
        at javafx.scene.layout.Region.getMaxAreaHeight(Region.java:1978)
        at javafx.scene.layout.Region.computeMaxMinAreaHeight(Region.java:1851)
        at javafx.scene.layout.StackPane.computeMinHeight(StackPane.java:289)
        at javafx.scene.Parent.minHeight(Parent.java:949)
        at javafx.scene.layout.Region.minHeight(Region.java:1401)
        at javafx.scene.layout.Region.computeChildMinAreaHeight(Region.java:1697
)
        at javafx.scene.layout.Region.getMaxAreaHeight(Region.java:1978)
        at javafx.scene.layout.Region.computeMaxMinAreaHeight(Reva:1851)
        at javafx.scene.layout.StackPane.computeMinHeight(StackPane.java:289)
        at javafx.scene.Parent.minHeight(Parent.java:949)
        at javafx.scene.layout.Region.minHeight(Region.java:1401)
        at javafx.scene.layout.Region.computeChildMinAreaHeight(Region.java:1697
)
        at javafx.scene.layout.Region.getMaxAreaHeight(Region.java:1978)
        at javafx.scene.layout.Region.computeMaxMinAreaHeight(Region.java:1851)
        at javafx.scene.layout.StackPane.computeMinHeight(StackPane.java:289)
        at javafx.scene.Parent.minHeight(Parent.java:949)
        at javafx.scene.layout.Region.minHeight(Region.java:1401)
        at javafx.scene.layout.Region.computeChildMinAreaHeight(Region.java:1697
)
        at javafx.scene.layout.Region.getMaxAreaHeight(Region.java:1978)
        at javafx.scene.layout.Region.computeMaxMinAreaHeight(Region.java:1851)
        at javafx.scene.layout.StackPane.computeMinHeight(StackPane.java:289)
        at javafx.scene.Parent.minHeight(Parent.java:949)
        at javafx.scene.layout.Region.minHeight(Region.java:1401)
        at javafx.scene.layout.Region.computeChildMinAreaHeight(Region.java:1697
)
        at javafx.scene.layout.Region.getMaxAreaHeight(Region.java:1978)
        at javafx.scene.layout.Region.computeMaxMinAreaHeight(Region.java:1851)
        at javafx.scene.layout.StackPane.computeMinHeight(StackPane.java:289)
        at javafx.scene.Parent.minHeight(Parent.java:949)
        at javafx.scene.layout.Region.minHeight(Region.java:1401)
        at javafx.scene.layout.Region.computeChildMinAreaHeight(Region.java:1697
)
        at javafx.scene.layout.BorderPane.getAreaHeight(BorderPane.java:618)
        at javafx.scene.layout.BorderPane.computeMinHeight(BorderPane.java:415)
        at javafx.scene.Parent.minHeight(Parent.java:949)
        at javafx.scene.layout.Region.minHeight(Region.java:1401)
        at javafx.scene.layout.Region.computeChildMinAreaHeight(Region.java:1697
)
        at javafx.scene.layout.Region.getMaxAreaHeight(Region.java:1978)
        at javafx.scene.layout.Region.computeMaxMinAreaHeight(Region.java:1851)
        at javafx.scene.layout.StackPane.computeMinHeight(StackPane.java:289)
        at javafx.scene.Parenight(Parent.java:949)
        at javafx.scene.layout.Region.minHeight(Region.java:1401)
        at javafx.scene.layout.Region.computeChildPrefAreaHeight(Region.java:176
2)
        at javafx.scene.layout.Region.getMaxAreaHeight(Region.java:1979)
        at javafx.scene.layout.Region.computeMaxPrefAreaHeight(Region.java:1881)

        at javafx.scene.layout.StackPane.computePrefHeight(StackPane.java:306)
        at javafx.scene.Parent.prefHeight(Parent.java:921)
        at javafx.scene.layout.Region.prefHeight(Region.java:1435)
        at javafx.scene.layout.Region.computeChildPrefAreaHeight(Region.java:176
2)
        at javafx.scene.layout.Region.getMaxAreaHeight(Region.java:1979)
        at javafx.scene.layout.Region.computeMaxPrefAreaHeight(Region.java:1881)

        at javafx.scene.layout.StackPane.computePrefHeight(StackPane.java:306)
        at javafx.scene.Parent.prefHeight(Parent.java:921)
        at javafx.scene.layout.Region.prefHeight(Region.java:1435)
        at javafx.scene.layout.Region.computeChildPrefAreaHeight(Region.java:176
2)
        at javafx.scene.layout.VBox.getAreaHeights(VBox.java:440)
        at javafx.scene.layout.VBox.layoutChildren(VBox.java:555)
        at javafx.scene.Parent.layout(Parent.java:1079)
        at javafx.scene.Scene.doLayoutPass(Scene.java:552)
        at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2397)
        at com.sun.javafx.tk.Toolkit.lambda$runPulse$31(Toolkit.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:354)
        at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:381)
        at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:51
0)
        at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:49
0)
        at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$405(Quantu
mToolkit.java:319)
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatch
er.java:95)
        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
        at com.sun.glass.ui.win.WinApplication.lambda$null$149(WinApplication.ja
va:191)
        at java.lang.Thread.run(Thread.java:745)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.