Pergunte aqui

Perfil de medeoTL - atividade

2018-12-04 10:27:49 -0500 Respondeu uma pergunta package javafx.scene.control not found in Fedora 29

With recent updates of openjfx (8.0.152 19.b05.fc29) code compile correctly, thanks

2018-12-04 02:40:20 -0500 Marcada como a melhor resposta package javafx.scene.control not found in Fedora 29

I'm trying to build this code

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.stage.Stage;

public class ButtonExperiment extends Application  {

    @Override
    public void start(Stage primaryStage) throws Exception {
        primaryStage.setTitle("HBox Experiment 1");

        Button button = new Button("My Button");

        Scene scene = new Scene(button, 200, 100);
        primaryStage.setScene(scene);
        primaryStage.show();

    }

    public static void main(String[] args) {
        Application.launch(args);
    }
}

but I get this error:

package javafx.scene.control does not exist

I'm using openjava 8

[medeo@medeo-E540 ~]$ java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-b15)
OpenJDK 64-Bit Server VM (build 25.181-b15, mixed mode)

and I think I've installed all the necessari open JavaFX (aka openjfx):

dnf list java*
Last metadata expiration check: 1 day, 8:31:13 ago on Sun 04 Nov 2018 10:38:02 CET.
Installed Packages
java-1.8.0-openjdk.x86_64                                   1:1.8.0.181.b15-6.fc29     @updates
java-1.8.0-openjdk-devel.x86_64                             1:1.8.0.181.b15-6.fc29     @updates
java-1.8.0-openjdk-headless.x86_64                          1:1.8.0.181.b15-6.fc29     @updates
java-1.8.0-openjdk-openjfx.x86_64                           1:1.8.0.181.b15-6.fc29     @updates
java-1.8.0-openjdk-openjfx-devel.x86_64                     1:1.8.0.181.b15-6.fc29     @updates
java-9-openjdk-headless.x86_64                              1:9.0.4.11-6.fc28          @fedora 
java-gnome.x86_64                                           4.1.3-18.fc29              @fedora 
javapackages-filesystem.noarch                              5.3.0-1.fc29               @fedora 
javapackages-tools.noarch                                   5.3.0-1.fc29               @fedora 
2018-12-04 02:40:20 -0500 Medalha recebida  Acadêmico (fonte)
2018-11-05 12:57:31 -0500 Perguntou package javafx.scene.control not found in Fedora 29

package javafx.scene.control not found in Fedora 29 I'm trying to build this code import javafx.application.Application

2014-05-11 12:53:08 -0500 Medalha recebida  Pergunta famosa (fonte)
2014-05-11 12:53:08 -0500 Medalha recebida  Pergunta notável (fonte)
2012-06-17 18:27:07 -0500 Medalha recebida  Pergunta popular (fonte)
2011-12-29 07:15:56 -0500 Medalha recebida  Taxonomista
2011-11-11 10:00:37 -0500 Perguntou how to set contrast in nouveau driver?

Hi all, I'm on fedora 15 + noveau nvidia driver. The screen is too light and with few contrast how i can fine tuning the screen?

i know how to reduce brightness but it's not enough, i need to fine tuning it.

Any hints? Nico