#JavaFx TableView - Can't get it going

1 messages ยท Page 1 of 1 (latest)

fallow carbon
#

Trying to buid a tableview with IntelliJ and JavaFx of course. Looked at lots of examples, and have listview under my belt. But don't get what's going on with TableView. Made a simple example to solve problem:
Do I post the code in follow up comments? I'm new here.

Ok let's try that. Code to follow. There is a GitHub repo too.

https://github.com/windyweather/PairTable

Thanks for your help.

UPDATE: Closed??? After 12 hours and a good nights sleep?
IS THIS open again?
Does editing the question reopen it or do I have to enter the whole thing again. The robot was unclear
about just what I have to do to REOPEN the question and type it all in again?. Oh. On 2nd reading the robot was clear that adding a comment or whatnot does reopen the question. My bad.

Just to be clear. Nothing appears in the table. I'd like to have a functioning TableView where I change the list and the TableView updates automagically. That's what I got from the list view and I'd like it with the TableView as well.
Thanks.,

GitHub

Pair Table test program. Contribute to windyweather/PairTable development by creating an account on GitHub.

chilly hingeBOT
#

<@&987246487241105418> please have a look, thanks.

fallow carbon
#

package net.windyweather.pairtable;

/*
The Pair stores all the information about the source and destination folder tree paths
and the options that control copying files between the folder trees.
*/

import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class SyncFilesPair {

public SimpleStringProperty sPairName;
public SimpleStringProperty sPairStatus;
public SimpleStringProperty sFilePathOne;
public SimpleStringProperty sFilePathTwo;
public SimpleStringProperty sExcludeFileTypes;
public SimpleBooleanProperty bSubfolders;
public SimpleBooleanProperty bVerifyCopied;
public SimpleBooleanProperty bVerifyNotCopied;
public SimpleBooleanProperty bRecoverVerifyFailure;
public SimpleBooleanProperty bOverrideReadOnly;


public SyncFilesPair() {

}

public SyncFilesPair( String sName, String sStatus ){

    sPairName = new SimpleStringProperty( sName );
    sPairStatus = new SimpleStringProperty( sStatus );
}

public SyncFilesPair( String sName ) {
    sPairName = new SimpleStringProperty( sName );
}

public StringProperty sPairNameProperty() { return sPairName; }
public StringProperty sPairStatusProperty() {return sPairStatus; }

}

gleaming marsh
#

What is your question?

chilly hingeBOT
#

@fallow carbon

Your question has been closed due to inactivity.

If it was not resolved yet, feel free to just post a message below
to reopen it, or create a new thread.

Note that usually the reason for nobody calling back is that your
question may have been not well asked and hence no one felt confident
enough answering.

When you reopen the thread, try to use your time to improve the quality
of the question by elaborating, providing details, context, all relevant code
snippets, any errors you are getting, concrete examples and perhaps also some
screenshots. Share your attempt, explain the expected results and compare
them to the current results.

Also try to make the information easily accessible by sharing code
or assignment descriptions directly on Discord, not behind a link or
PDF-file; provide some guidance for long code snippets and ensure
the code is well formatted and has syntax highlighting. Kindly read through
https://stackoverflow.com/help/how-to-ask for more.

With enough info, someone knows the answer for sure ๐Ÿ‘

fallow carbon
fallow carbon
#

is it against the rules to make fun of the robot?

gleaming marsh
#

I don't think so

#

But im not a mod

gleaming marsh
#

You should read this minimum viable example
https://jenkov.com/tutorials/javafx/tableview.html

The JavaFX TableView control enables you to show a table view inside a JavaFX application. This JavaFX TableView tutorial explains how to create a TableView, add table columns and display rows of data objects inside the TableView.

fallow carbon
#

HAHAHA thanks, but I just fixed it.... ๐Ÿ˜‰ I forgot to add the items to the tableview. When I did that it WORKED.. ๐Ÿ˜‰

#

Yeah.......

#

Ok... Sorry for the animated bunny....

fallow carbon
#

/help-tread close