In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces what are the three important features of JavaFX 1.2. the content is very detailed. Interested friends can use it for reference. I hope it will be helpful to you.
The editor will talk about the new version of JavaFX, that is, the three important features of the version formerly codenamed Marina and now called JavaFX 1.2.
Support for Linux and Solaris
Support for JavaFX under Linux and Solaris has kept us waiting for quite a long time. After a lot of hard work, we have finally ushered in a beta version. Our goal is to make Solaris and Linux platforms on an equal footing with Windows and Mac in the JavaFX world. The goal of JavaFX is to make a Java suitable for all screens and all operating systems. This is another step closer to that goal.
Some features don't work yet, which is why we call it a beta, but it's still a good start. We now use GStreamer that supports video, which used to be a key feature that was missing. You may get some graphics hardware acceleration, depending on your distro components and configuration. The shadow window is not yet available. This is due to a vulnerability in the underlying JRE. Programmers in charge of graphics say they have developed a patch for this vulnerability, which is expected to be released in Java6 and OpenJDK in the near future, so you don't have to wait for the next version of JavaFX.
Controls and layout
JavaFX has very good graphics handling, but in version 1.0 there is only a separate local user interface control, TextBox. It is difficult to make a real business application just by using text controls. All that has changed now. JavaFX 1.2 has user interface controls that are really suitable for the 21st century. We are always hovering in love and hate, thinking about the development trend of the long-term user interface toolkit. Then we will create new controls and API layouts that address some of the applications that people need. Here is just a rough introduction to the new control:
All ◆ controls can be skinned with CSS, so designers can create general-style programs.
◆ has a default control look and feel Caspian.
◆ controls are in common file parameters, which means they can run on all devices, not just desktops.
◆ new controls for standard performance, such as progress indicators and hyperlinks.
The ◆ is built on top of the JavaFX landscape, so there is no remaining AWT.
Coming out with these controls is the layout system, which can handle AWT layout problems. It is now very easy to combine layouts and animations, and it takes only a few lines of code to create custom layouts. With these controls, we can create business programs that can actually run across screens.
Some controls are missing from the current list. Especially the absence of Tablet and Tree. This does not mean that the development team has no intention of adding these controls to it. Mainly because there is not enough time to add. However, these controls will be provided in the future.
Speed
The goal of JavaFX is to make updates faster for everyone who uses it. You will find that JavaFX 1.2 is faster than 1.1 and 1.0. In terms of startup time, memory usage, and graphics processing performance, the performance of each part has improved. For some tasks, the performance has been improved by as much as three times.
In order to achieve this speed improvement, programmers re-examine the entire platform. The compiler has moved from using true multiple inheritance to Mixins. This eliminates the disadvantages of multiple inheritance. The side benefit is that the basic assembly code becomes smaller and faster.
The graphics development team spent a lot of time redesigning the scene graph to achieve more intelligent scene updates. As a result, users redraw less often, resulting in a more responsive user interface.
There are vulnerability patches in the video and audio stack as well as in the basic graphics pipeline. In addition, the startup time is reduced and the performance of Webstart is improved. All in all, you will find that JavaFX 1.2 brings a faster and smoother experience to users than ever before.
The above three features are only a small part of JavaFX 1.2. The most important thing is that these are all part of the JavaFX development plan. Faster and smaller features ensure that programmers can develop high-quality software for customers at a high speed and efficiency.
So much for sharing what are the three important features of JavaFX 1.2. I hope the above content can help you and learn more. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.