dlsc-software-consulting-gmbh / jfxcentral-data Goto Github PK
View Code? Open in Web Editor NEWThe data repository for the JFXCentral website
License: Apache License 2.0
The data repository for the JFXCentral website
License: Apache License 2.0
An interesting collection. Maybe for the section "Dev". https://abhinay.xyz/javafx/2022/10/03/OpenJFX-flags.html
Goal: easier to create and maintain the links of the week
When you go to jfx-central the breaking news is irritating. Shouldn't it be JavaFX 17 instead of 16 now. You immediately get the impression that the website is not maintained anymore.
FXSkins has the license ""GNU General Public License, version 2, with the Classpath Exception".
It isn't being recognized.
Frank has suggested that we should modify the way we load all of our models to properly close the FileReader resources. This can be achieved by using a try-with-resources block to handle the FileReader, ensuring that it is correctly closed after usage. This change will potentially affect every place where FileReader is used in our codebase.
// load documentation
File documentationFile = new File(getRepositoryDirectory(), "documentation/documentation.json");
List<Documentation> documentation = gson.fromJson(new FileReader(documentationFile, StandardCharsets.UTF_8), new TypeToken<List<Documentation>>() {
}.getType());
File learnJavaFXFile = new File(getRepositoryDirectory(), "learn/javafx/learn.json");
List<LearnJavaFX> learnJavaFX = gson.fromJson(new FileReader(learnJavaFXFile, StandardCharsets.UTF_8), new TypeToken<List<LearnJavaFX>>() {
}.getType());
I noticed that the .gitignore entry for mac's DS_Store is wrong (the leading slash must be removed) and I suggest to add a couple of more things to the gitignore files:
I suggest using an auto generated one from gitignore.io that covers nearly all use possible temp files:
https://www.toptal.com/developers/gitignore/api/linux,macos,windows,intellij,eclipse
Based on the already available tutorials of @edwardalgorist, this could be the content for this new section:
Others which are already available:
Ikonli's release has been updated, ikonli-browser now posts ZIPs and native packagers
https://github.com/kordamp/ikonli/releases/tag/12.3.0.EarlyAccess
How many entries and which ones should be listed as download buttons?
As "ShadowDesigner" now supports all JavaFX effects and not just InnerShadow and DropShadow, it is necessary to update our documentation and related materials to reflect this expanded functionality.
The default scroll speed is a bit slow, especially compared to "regular" websites.
If possible, please increase the scroll speed for at least the ScrollPane
s.
I normally use a kotlinized variant of this kind of utility code:
// attach a listener to the scrolling events
private void increaseScrollSpeed() {
scrollPaneContent.setOnScroll(scrollEvent -> handleContentScrolling(scrollPane, scrollEvent, true, 3.0, 2.0));
}
// do the faster scrolling with these helper Methods, that normally resides either in a Utility class
// or in a extended base class of my UI controller
protected void handleContentScrolling(ScrollPane scrollPane, ScrollEvent event, boolean consumeEvent, double vSpeedMultiplier,
double hSpeedMultiplier) {
if (event.getDeltaY() != 0)
handleVerticalScrolling(scrollPane, event, vSpeedMultiplier);
if (event.getDeltaX() != 0)
handleHorizontalScrolling(scrollPane, event, hSpeedMultiplier);
if (consumeEvent)
event.consume();
}
private void handleHorizontalScrolling(ScrollPane scrollPane, ScrollEvent event, double hSpeedMultiplier) {
// *x to make the scrolling a bit faster
double deltaX = event.getDeltaX() * Math.abs(hSpeedMultiplier);
double width = scrollPane.getContent().getBoundsInLocal().getWidth();
double hvalue = scrollPane.getHvalue();
// deltaY/width to make the scrolling equally fast regardless of the actual width of the component
scrollPane.setHvalue(hvalue + -deltaX / width);
}
private void handleVerticalScrolling(ScrollPane scrollPane, ScrollEvent event, double vSpeedMultiplier) {
// *x to make the scrolling a bit faster
double deltaY = event.getDeltaY() * Math.abs(vSpeedMultiplier);
double height = scrollPane.getContent().getBoundsInLocal().getHeight();
double vvalue = scrollPane.getVvalue();
// deltaX/height to make the scrolling equally fast regardless of the actual height of the component
scrollPane.setVvalue(vvalue + -deltaY / height);
}
Hey there,
I created a JavaFX CDI Example App along with a Maven JavaFX Archetype based on it.
Would be great if we can add it to JFXCentral, but I'm not sure what category it fits.
Any idea?
Cheers,
Michael
Hi Dirk,
please change the name on the title page of my app from mpGAFOR to mpCoPilot.
Thanks
Michael
It seems there's a broken association between some people and the company they own or work for.
For instance, my profile page (https://www.jfx-central.com/people/p.vieira) and Agostino De Marco (https://www.jfx-central.com/people/a.demarco) doesn't show the company we own. And vice-versa the company page doesn't show a link to our profile.
Could it be because there's a "." in both our company ids ("companyId" field)? Or because we don't have a "companyIds" field
In the top entry about "OpenJFX" on the entry page to jfx-central.com add sentence like this:
If you should detect some issue with OpenJFX, you can report it through the official Oracle Java bug database which can be found here: https://bugs.java.com/bugdatabase/
Clicking on blog link in a profile doesn't seem to work. For example, take a look at Pedro's profile here. The other links (Twitter, LinkedIn etc) all seem fine but the Blog link doesn't take you to his blog. Instead it points back to his profile. The same seems to apply for other profiles with blog links.
Person.java and people.json need to be updated.
Currently, the Learn model class lacks a straightforward way to identify the type of Learn instance. This could be remedied by either adding a LearnType attribute or providing a utility method to conveniently determine the Learn type. There are several scenarios where knowing the LearnType is crucial, as it affects how certain methods are called and how the instance should be handled.
Adding this feature would greatly improve the ease of working with Learn models and enhance the overall functionality of the system.
Maybe like this:
learn.getType(); // LaernType
I am looking forward to your constructive feedback and any additional ideas you might have to further improve this feature. Thank you for taking the time to review this proposal.
Many entries within the FeaturedView corresponding library currently lack logo images. However, there are numerous attractive images present within the markdown documentation. Additionally, the info.json file contains various preview images.
Suggested Enhancement:
To enhance the visual representation of these libraries, I propose the creation of a 'featuredImage' attribute. This attribute would reference the filename of the most representative image among the available ones in the documentation. By doing so, we can provide a more engaging and informative view within the FeaturedView.
Furthermore, for other models that are eligible to be displayed in the FeaturedView, the specification of the 'featuredImage' attribute should be encouraged where applicable. This would not only maintain consistency across the platform but also greatly improve the user experience by providing a quick visual reference to the content being offered.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.