Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

Marcos Tavares

@Marcos Tavares
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • help! I cannot display on listview on java fxml in intellij
    M Marcos Tavares

    this is my fxml code:

    This is my controller code:

    package com.example.helloworldfx;

    import javafx.fxml.FXML;
    import javafx.fxml.Initializable;
    import javafx.scene.control.Label;
    import javafx.scene.control.ListView;
    import javafx.scene.control.SelectionMode;

    import java.net.URL;
    import java.util.ResourceBundle;

    public class HelloController implements Initializable {

    @FXML
    private ListView lista;
    
    
    
    [@Override](https://www.codeproject.com/Members/OverRide)
    public void initialize(URL url, ResourceBundle resourceBundle) {
        String b = "marcos";
        String c = "marcos";
        String d = "marcos";
        String e = "marcos";
    
        lista = new ListView<>();
        lista.getItems().setAll(b, c,d,e);
        lista.getSelectionModel().setSelectionMode(SelectionMode.SINGLE);
    
    
    }
    

    This is my main class code:

    package com.example.helloworldfx;

    import javafx.application.Application;
    import javafx.fxml.FXMLLoader;
    import javafx.scene.Scene;
    import javafx.stage.Stage;

    import java.io.IOException;

    public class HelloApplication extends Application {
    @Overri

    Site Bugs / Suggestions csharp java com help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups