Giter Club home page Giter Club logo

jfxcentral-data's People

Contributors

adamcarroll avatar amischler avatar autumoswitzerland avatar bkuliha avatar col-e avatar crschnick avatar dlemmermann avatar dukke avatar fdelporte avatar floriankirmaier avatar fthevenet avatar github-actions[bot] avatar hansolo avatar jfree avatar jpadshared avatar jugen avatar lanthale avatar leewyatt avatar mikehearn avatar mkpaz avatar oliver-loeffler avatar orielsh avatar rladstaetter avatar seniorglez avatar serendipityofficialdev avatar siedlerchr avatar smeltsov avatar surajit-mondal avatar torakiki avatar vlad-lubenskyi avatar

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

Watchers

 avatar  avatar  avatar  avatar

jfxcentral-data's Issues

Breaking news

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.

Ensure Proper Closure of FileReader When Loading Models

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());

Content for the Learn JavaFX section

Based on the already available tutorials of @edwardalgorist, this could be the content for this new section:

  • JavaFX 101: How to Create a Basic GUI Application
  • Buttons
    • JavaFX: How to Create Buttons
    • Styling JavaFX Buttons with CSS
    • Handling JavaFX Button Events
  • Checkboxes
    • JavaFX: How to Use Checkboxes
    • JavaFX: How to Use Checkboxes for Multiple Selection
  • How to Use JavaFX ChoiceBox
  • How to Use JavaFX ChoiceDialog
  • JavaFX Charts
  • JavaFX DatePicker
  • JavaFX ProgressBar
  • JavaFX Slider
  • JavaFX Menus
  • JavaFX TextField
  • JavaFX PasswordField: Secure Input Handling in Your Java Applications
  • JavaFX: How to Add Background Images
  • JavaFX: How to Use Accordion
  • JavaFX: How to Use Alerts
  • How to Create RadioButtons in JavaFX
  • How to Create a ComboBox in JavaFX
  • How to Create a ListView in JavaFX
  • How to Create a Toolbar in JavaFX
  • JavaFX and FXML: Separating UI from Logic
  • JavaFX Canvas
    • Getting Started with JavaFX Canvas
    • Drawing Arcs in JavaFX Canvas
    • Drawing Ovals in JavaFX Canvas
    • Drawing Rectangles in JavaFX Canvas
    • Drawing Lines in JavaFX Canvas
  • JavaFX Animation: Bringing Your User Interfaces to Life

Others which are already available:

  • JavaFX: How to Use the Media Player API to Create a Video Player
  • JavaFX: How to Add User Confirmation to Close the Program
  • JavaFX QR Code Generation
  • JavaFX Printing: Generating and Printing Reports and Documents
  • JavaFX WebView
  • JavaFX ColorPicker
  • JavaFX Preferences: Saving and Retrieving User Preferences
  • JavaFX Labels: Customization and Text Effects
  • JavaFX TableView – Building Interactive Data Tables
  • Handling Big Data with JavaFX Paginated Tables
  • JavaFX Pagination Made Simple
  • JavaFX Dialogs: Simplifying User Interactions
  • Building JavaFX Custom Dialogs
  • JavaFX TreeView: Organizing Your Data in Hierarchical Structures
  • Creating Scrollable Content with JavaFX ScrollPane
  • JavaFX SplitPane: A Tool for Flexible User Interfaces
  • JavaFX TabPane: Building User-Friendly Tabbed Interfaces
  • Customizing JavaFX Stage Icons for Your Applications
  • JavaFX ImageView: Displaying Images in Java Applications
  • JavaFX Tooltip: Enhancing User Interface with Informative Hints
  • JavaFX Popover: Enhancing UI with Contextual Information
  • JavaFX ControlsFX Rating Control
  • ToggleSwitch Control in JavaFX with ControlsFX
  • Bringing Power to Your UI: JavaFX FileChooser Demystified
  • JavaFX ControlsFX Notifications API
  • JavaFX DirectoryChooser: Selecting Directories the Easy Way
  • JavaFX ControlsFX StatusBar
  • JavaFX AnchorPane: Anchoring Your UI
  • JavaFX HBox: Building Horizontal Layouts
  • JavaFX VBox: Building Vertical Layouts
  • JavaFX StackPane: Layering UI Elements
  • JavaFX BorderPane: Desinging With Divisions
  • JavaFX FlowPane: Designing Responsive Interfaces
  • JavaFX GridPane: Grid-Based UI Designs
  • JavaFX TextArea: Multi-Line Text Input
  • JavaFX HTMLEditor: Rich Text Editing
  • JavaFX Accordion: Creating Collapsible UI Sections
  • JavaFX TilePane: Tile Arrangements for UI Elements
  • JavaFX TreeTableView: Building Hierarchical Data Displays
  • JavaFX ControlsFX WorldMapView
  • JavaFX ControlsFX RangeSlider: Enhancing Range Selection
  • JavaFX ControlsFX PlusMinusSlider: Navigating with Precision
  • FontAwesome Icons in JavaFX with FontAwesomeFX
  • TextField Autocompletion in JavaFX using ControlsFX
  • Clearable TextField in JavaFX using ControlsFX
  • Font Selection in JavaFX with ControlsFX FontSelectorDialog
  • Text Field Icons in JavaFX with ControlsFX
  • Text in JavaFX Canvas: Adding Typography to Your Graphics
  • Clearing the JavaFX Canvas
  • Element Translation in JavaFX Canvas
  • Internationalization in JavaFX: Building Multilingual Apps
  • Drag and Drop in JavaFX: Simplifying User Interactions
  • JavaFX Custom Mouse Cursors
  • JavaFX with Apache Maven
  • JavaFX and RESTful Web Services Integration
  • Building a Real-time Currency Converter in JavaFX
  • Concurrency and Multithreading in JavaFX
  • Connecting JavaFX to a MySQL Database
  • Data Binding in JavaFX: Simplifying UI-Data Synchronization
  • JavaFX Clipboard
  • Capturing Screenshots with JavaFX
  • Screen Pixel Color Retrieval in JavaFX
  • Creating Splash Screens with JavaFX
  • Math Visualization with JavaFX: Creating a Graphical Calculator
  • Ribbon Menus in JavaFX
  • JavaFX with Gradle
  • Displaying SVG Images in JavaFX
  • Displaying Excel Data in JavaFX
  • Exporting JavaFX Table Data to Excel

Increase scroll speed

The default scroll speed is a bit slow, especially compared to "regular" websites.
If possible, please increase the scroll speed for at least the ScrollPanes.

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);
}

Broken association between company and person

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

Problem with blog links on profiles

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.

Add LearnType Attribute or Utility Method for Easier Identification of Learn Model Type

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.

Addition of 'featuredImage' attribute for libraries in FeaturedView

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.

image

image

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.