Giter Club home page Giter Club logo

openjfx.github.io's Introduction

OpenJFX logo

OpenJFX

OpenJFX is an open source, next generation client application platform for desktop, mobile and embedded systems built on Java.

Details

Repository for https://openjfx.io.

The repository has 2 branches:

  • develop - contains hugo theme and static content which generates static HTML files using HUGO framework
  • master - source code for website https://openjfx.io, generated from develop branch

Note

For Developers:

You can test this website with the following statement: hugo server

openjfx.github.io's People

Contributors

abhinayagarwal avatar almasb avatar dukke avatar erwin1 avatar eugener avatar floriankirmaier avatar gdoenlen avatar hansolo avatar johanvos avatar jperedadnr avatar kevinrushforth avatar nlisker avatar palexdev avatar rahmanusta avatar robinwhittleton avatar silentsoft avatar tiainen 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  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

openjfx.github.io's Issues

Video section?

Should we add a video section?
e.g. Videos from JavaFX Days Zurich 2018 and YouTube could be added.

Feature request : ANARI support

Hello,

Recently Khronos released the first version of ANARI.
To make it short it's a basic API for 3D rendering.

Javafx has some simple 3D capabilities, and I believe there isn't a huge interest in the community to make a full 3d engine in javafx, it's not it's purpose.

But still, being able to do some 3D rendering is more and more useful for data visualisation.

Make a full 3D engine is a lot of work but implementing ANARI would not be so hard I believe and there are multiple benefits.

  • the API exist in simple C-99, a raw translation to java would work.
  • it is a fixed version : ANARI 1.0
  • it hides all the boiler plate code of rendering, offering only simple scene configuration
  • it offers enough capabilities for professional applications (which are not games)

What is the javafx dev team opinion on it ?

Issue in playing audio file using javafx.scene.media.MediaPlayer

Hi, i think i found an issue when playing audio file using javafx.scene.media.MediaPlayer. I am trying to build a "toy" media player from which the user can choose an audio file and then play it. The first playback is fine then if the user clicks on the "pause" button the audio stops, then if i resume the audio playback using mediaPlayer.play() the audio starts, it plays for about 100ms, then pauses for about another 100ms and then starts again playing normally.
I am on a linux system and i tried using an .mp3 file and a .wav file. Using the javafx gradle plugin i tried with OpenJavaFx version 17.02, 17.06 and 19. Am i maybe doing something wrong? The code that i am using is the following:

package it.arena.audioplayer.audioplayer;

import javafx.beans.binding.Bindings;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.media.Media;
import javafx.scene.media.MediaPlayer;
import javafx.stage.FileChooser;

class AudioPlayerController {
    @FXML
    private Label statusLabel;

    @FXML
    private Button openButton;

    @FXML
    private Button playPauseButton;

    private SimpleBooleanProperty fileChosen = new SimpleBooleanProperty(false);
    private SimpleBooleanProperty playing = new SimpleBooleanProperty(false);

    private MediaPlayer mediaPlayer;

    public void initialize() {
        statusLabel.textProperty().bind(Bindings.when(playing).then('Playing').otherwise('Stopped'));
        playPauseButton.disableProperty().bind(fileChosen.not());
    }

    @FXML
    public void onOpenButtonClicked() {
        FileChooser fileChooser = new FileChooser();
        fileChooser.setTitle("Open File");
        File file = fileChooser.showOpenDialog(statusLabel.getScene().getWindow());
        URI uri = file.toURI().toString();
        mediaPlayer = new MediaPlayer(new Media(uri));
        fileChosen.set(true);
    }

    @FXML
    public void onPlayPauseClick() {
        playing.set(!playing.get());
        if (playing.get()) {
            mediaPlayer.play();
        }
        else {
            mediaPlayer.pause();
        }
    }
}
`

Merge hugo-site into openjfx.github.io

Instead of keeping 2 separate repositories, we can merge both the repositories.

My proposal is to host code from hugo-site on master branch and move the generated html files (currently on master) to gh-pages branch.

We can then configure github pages to host from gh-pages branch.

404 not found

When trying to download OpenJFX on ubuntu 16.04, it shows a mass amount of 404 not found errors then aborts the download.

Move to Github Actions

project uses travis to build and deploy the website which doesn't work any longer for some reason. we need to move it to Github actions.

Is this behavior indicative of a bug?

The first block of code does not encapsulate the StackPane within an AnchorPane, and it results in the observed discrepancy in the corner radii:

StackPane sp = new StackPane();
//AnchorPane ap = new AnchorPane(sp);
Rectangle rectangle = new Rectangle(100.0, 100.0);
rectangle.setArcWidth(10.0);
rectangle.setArcHeight(10.0);
sp.setPrefSize(100.0, 100.0);
sp.setMaxWidth(100.0);
sp.setMaxHeight(100.0);
sp.setShape(rectangle);
sp.setClip(rectangle);
sp.setStyle("-fx-background-color: red");
Scene scene = new Scene(sp, 600.0, 700.0);
primaryStage.setScene(scene);
primaryStage.show();

like this
However, when i wrap the StackPane with an AnchorPane, as shown in the second block of code, the issue appears to be resolved:

StackPane sp = new StackPane();
AnchorPane ap = new AnchorPane(sp);
Rectangle rectangle = new Rectangle(100.0, 100.0);
rectangle.setArcWidth(10.0);
rectangle.setArcHeight(10.0);
sp.setPrefSize(100.0, 100.0);
sp.setMaxWidth(100.0);
sp.setMaxHeight(100.0);
sp.setShape(rectangle);
sp.setClip(rectangle);
sp.setStyle("-fx-background-color: red");
Scene scene = new Scene(ap, 600.0, 700.0);
primaryStage.setScene(scene);
primaryStage.show();

Snipaste_2024-04-09_12-37-27

I'm wondering if this behavior is a bug in the openJFX library

Open JFX Cache files contain non-signed .DLLs

SOAP UI is using Open JFX for some functionality and there are multiple DLLs copied to user profile. Location of cache folder -> %OSDRIVE%\Users%username%\OpenJFX\Cache folder.

These are the files without any digital signatures:

glass.dll
glib-lite.dll
javafx_font.dll
jfxwebkit.dll
prism_d3d.dll

Digital signatures are often used by security tools to check if the files are not malicious, so adding signatures would improve security level of Open JFX.

On the Mac OS, Menubar sets setUseSystemMenubar (true); after starting the app, menu can't be clicked (clicking doesn't respond), You need to switch to other applications and return to the current application again to click normally(Click to respond)

On the Mac OS, Menubar sets setUseSystemMenubar (true); after starting the app, menu can't be clicked (clicking doesn't respond), You need to switch to other applications and return to the current application again to click normally(Click to respond)

my os
QQ20210228-210310@2x

java version 11.0.10 javafx version 13

video
https://user-images.githubusercontent.com/24805209/109419449-75d2ac00-7a08-11eb-87ac-b109633e38c9.mp4

Help

javafx reported an error in the linux (arm) environment,How can i do it?
image

Adding ValidatorFX to Community section

Having presented ValidatorFX at the JFX days 2020 (online conference) I would like to add it to the Community Section of https://openjfx.io.
Would a PR for this be acceptable? If yes, is there a HOWTO for working with the contents of the develop branch of this repo? I've already cloned it and installed hugo. But what next?
=> Maybe there should be a CONTRIBUTING.md in the repo?

Homepage: please add how to download and install openjfx

Please add a new link called installation or download on https://openjfx.io/.

I can not figure out how to install openjfx. There is so much visual candy that I can't
find anything. The existing instructions are very poor. I was very much surprised
that everyone recommends this as the new future for GUIs in java, but then lack
basic instructions how to install this for semi-newcomers.

I don't need refererals or ads or promo - I need quality content. Not sure who designed
the website but whoever did was not a good UI designer.

Sort community entries

Entries in the community section are completely random. Adding a sort algorithm would be ideal. Sorting using the 'title' seems to be an easy win.

Website not loading with www prefix

The hosted website is always referred to as https://openjfx.io and doings so works fine.

It happened to me to type in the URL manually (since I know the domain) and I typed www.openjfx.io.
Having said that, with the www prefix it does not load.

I assume this is just a configuration option that can fix that problem.

This might be a non-issue (please close issue if you think so).

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.