Aw: Wrap text backwards compatibility issue
Re: Summary of new features in JavaFX 8?
What about the public Controls API? I am not sure though, because last I checked the Behavior classes were not public. Am 17.08.2013 um 06:03 schrieb Felix Bembrick: Ah - printing... thanks! On 17 August 2013 14:00, Felipe Heidrich felipe.heidr...@oracle.com wrote: * Printing Felipe On Aug 16, 2013, at 7:50 PM, Felix Bembrick wrote: I am preparing another blog about JavaFX and would like to know what changes and enhancements there are in JavaFX between JDK7 and JDK8. For me the most obvious one is the entire 3D functionality but would it be possible for someone from Oracle or another person in the know to list the major changes and (especially) enhancements/new features we can expect in JFX8? Alternatively, if there is either a web page that lists them or some way for me to establish this info myself could you please point me there? These are the ones I can find for myself: * 3D * Rich Text * Modena theme * Embedded support * HTML5 improvements * New controls (TreeTableView, DatePicker)? Have I missed anything? Thanks, Felix
Re: Summary of new features in JavaFX 8?
Thanks for the list! Very interesting. One thing that got my attention is this issue: https://javafx-jira.kenai.com/browse/RT-23908 (Video capture support), which is resolved. If you read the comments, audio capturing is supported as well. Does that mean, that the second highest voted feature for Lombard is resolved as well? https://javafx-jira.kenai.com/browse/RT-3458 (Camera and Microphone) Thanks for clarification! Am 17.08.2013 um 20:52 schrieb John Smith: Here is a link to the current jira generated release notes for JavaFX 8 (it's a humongous list). https://javafx-jira.kenai.com/secure/ReleaseNote.jspa?projectId=10040version=10380 The majority of stuff in the jira generated release notes is implemented, but some is not and will probably be moved to a future release. In terms of the terminology used, I think a feature is major new functionality usually called out on a product requirements document somewhere and a tweak (of which there are hundreds) is a minor feature (though I don't think it's a hard and fast rule and a little arbitrary - some features are pretty minor and some tweaks are pretty important). Some major features missing from your list Felix: multi-threaded performance improvements right - left language support HiDPI display support (though that might also be in some upcoming Java 2.2 release) swing components in JavaFX increased support for new w3c standards in WebView (e.g. websockets) @font-face support in css (I guess this one might be termed a tweak) ATI/AMD GPU acceleration on Linux I think there is also an intention for an official embedded release for Java 8 that will include JavaFX in the new compact profile setup. From a developer point of view, I think the big news is open sourcing (except for the media and browser plugin components) along with the new repository layout and relatively simple gradle build process - so potentially JavaFX can now be included in OpenJDK and custom JDK builds, not just Oracle JDK builds. My favorite feature of all time is that with Java 8, JavaFX is properly bundled into Oracle Java and on the default class path. So I don't have to keep explaining to people how to get JavaFX to run in their environment. Hopefully, all of the standard OpenJDK 8 builds and distributions will follow Oracle's lead here and correctly bundle JavaFX into their distributions. -- Here is a result of a jira query on fixed features for JavaFX 8. RT-30831 Unsorted mode in the SortedList RT-30236 Open WebView sources RT-29848 Add a static GridPane.setFillWidth(Node, boolean) method RT-29834 Move JSObject into javafx-ui-common RT-28817 Add explicit dispose() method to MediaPlayer RT-28499 WebView doesnot support HTML5 input type=file multiple RT-28089 Write Script to auto-generate the new repository layout RT-27887 introduce a node to embed Swing into JavaFX RT-27633 Add missing FXCollections methods for ObservableSet RT-27582 New modern theme for JavaFX (Modena) RT-27480 Add DatePicker control RT-26377 Implement SubScene RT-25996 PrimitiveProperty to ObjectPropertyPrimitive RT-25759 ObjectExpression does not have asString() method RT-25644 Implement WebSocket traffic tunneling through HTTP(S) proxies that require authentication RT-25606 Port 3D features from demo/experimental repository to FX 8 3D sandbox RT-25559 In FXML, Allow event handlers to come from the namespace RT-24712 Support ATI/AMD GPU on the Linux platform RT-24655 Need to support movable Camera RT-24654 Need to include lighting and material support for 3D primitives rendering RT-24651 Need clean semantic for 2D/3D scenes mixing RT-24648 Define supported Linux configurations RT-24644 Support Mesh and Predefined 3D Shapes RT-24506 Public API for Region backgrounds and borders RT-24041 SQE: Hi-DPI display support RT-24014 FX needs to support a subset of the JRE supported systems RT-24013 Multi-Core scalability RT-24012 Text performance of the hardware pipeline must be equal or better than the software pipeline RT-24009 Support for Hi-DPI displays RT-24008 3D attributes RT-23911 SQE: Allow 3D shapes RT-23909 SQE: 3D attributes RT-23908 SQE: Video capture support RT-23907 SQE: Improve HTML 5 API and tags support RT-23904 SQE: Tree table control RT-23903 SQE: Public API for CSS Structure RT-23901 SQE: Enable component orientation RT-23898 SQE: Printing support RT-23897 SQE: Support bi-directional text RT-23896 SQE:Provide support for complex characters RT-23895 SQE: i10N: Java FX must be localized in all the different languages as supported by the JRE. RT-23894 SQE: Multi-line rich text
Re: DateAxis..
Hi Pedro, I've developed one, too (with the help of Diego Cirujano). Maybe you want to get ideas from it or contribute yours. It uses java.util.Date. https://bitbucket.org/sco0ter/extfx/src/2b20deb832c2212513034d35464b73c544361c74/src/main/java/extfx/scene/chart/DateAxis.java?at=default Kind regards, Christian Am 02.09.2013 um 02:01 schrieb Pedro Duque Vieira: Hi, I've created a DateAxis. Basically it extends from ValueAxis and you can pass it dates in the Long format (converting Date to Long and passing in that value). I wonder if this is valuable for the framework (I do see people asking for this) and if so would you like me to submit it for your evaluation and perhaps addition to the framework. Sorry, I'm kind of new to submitting patches... Thanks, best regards, -- Pedro Duque Vieira
Re: Why is almost everything in the API final
I agree with that and I also recommend to have a look at Item 17: Design and document for inheritance or else prohibit it from Effective Java. http://uet.vnu.edu.vn/~chauttm/e-books/java/Effective.Java.2nd.Edition.May.2008.3000th.Release.pdf It explains the burden and dangers of non-final design quite well. Christian Am 02.09.2013 um 10:36 schrieb Artem Ananiev: As Jonathan said, Richard is the best person to answer this question, but let me provide my own thoughts below as well. On 9/2/2013 3:55 AM, Pedro Duque Vieira wrote: Hi, Why is almost everything in the API final? OK, I understand there is a security problem and not making things final could potential open security holes. It's not only about security. When API is final, it is easy to maintain and it is essential for backwards compatibility. Library developers know exactly, how classes and methods are used and how they can be evolved in the future. As a AWT/Swing maintainer I've seen many cases, when non-final classes were extended in a crazy way and used for absolutely different purposes than they were initially designed for. Note that changing class/method/field from final to non-final is a backwards compatible change, but the reverse is not. What I'm puzzled about is that the rest of the JDK doesn't use this pattern and so I wonder if it is still effective this way? I'm sure if JDK developers didn't have to preserve backwards compatibility, they would be glad to make everything final :) I'm asking this because the penalties are significant, since you can not easily extend the API because you can't subclass most framework classes. Could you provide any examples, please? Thanks, best regards, Thanks, Artem
Re: Will video and audio recording make it to jdk8?
Just recently the Camera and Microphone feature was rescheduled from Lombard to Van Ness. As well as some related issues, like radio streaming. So unfortunately, I guess no. https://javafx-jira.kenai.com/browse/RT-3458 Christian Am 06.09.2013 um 21:49 schrieb Pedro Duque Vieira: I was under the impression that it will be. But have heard some people saying it won't... On Fri, Sep 6, 2013 at 8:48 PM, Randahl Isaksen rand...@rockit.dk wrote: I am holding my breath in anticipation for the answer to this question... This is one of the most voted for issues. Den 06/09/2013 21.43 skrev Pedro Duque Vieira pedro.duquevie...@gmail.com: Hi, Will video and audio recording be on jdk8? Thanks in advance, best regards, -- Pedro Duque Vieira -- Pedro Duque Vieira
FXML, Presentation Model bi-directional binding
Hi together, I just (re-)read Richard's excellent article http://fxexperience.com/2011/10/fxml-why-it-rocks-and-the-next-phase/ He talks about the next phase in FXML being the Presentation Model and the use of bidirectional binding in FXML. I really like to make use of it because I think it's the way to go and better than MVC pattern. (I've worked with PM pattern in Flex/MXML and it was really comfortable.) Now this article is 2.5 years old and I wonder, what's the current state of the next phase, i.e. bi-directional binding in FXML or at least uni-directional binding. I just tried the proposed syntax out and it doesn't work with Java 8, so I assume it's still not possible!? Thanks for answer, Best regard, Christian
Re: UndoFX: undo manager for JavaFX
Hehe, funny how every project is called *FX. Still waiting for the YetAnotherProjectFX :-) Let's see, what I could find by a quick research: ControlsFX DataFX RedFX CodeAreaFX ReactFX UndoFX ExtFX ScreenFX TestFX DrawKidFX FontAwesomeFX AquaFX PlantUMLFX GroovyFX MonologFX TiddlyWikiFX DromblerFX ScalaFX OrbitFX SendGridFX -- Christian Am 06.02.2014 um 18:02 schrieb Tomas Mikula: Hi all, I just published a general-purpose undo manager for JavaFX. https://github.com/TomasMikula/UndoFX I've been using it for a while in CodeAreaFX and thought it would be useful to release it separately. Best regards, Tomas