.getID() from lobbylistview for debugging
This commit is contained in:
parent
115e39c34f
commit
e58f01e4b6
@ -21,6 +21,7 @@ import javafx.collections.ListChangeListener;
|
|||||||
import javafx.collections.ObservableList;
|
import javafx.collections.ObservableList;
|
||||||
import javafx.collections.ObservableMap;
|
import javafx.collections.ObservableMap;
|
||||||
import javafx.event.ActionEvent;
|
import javafx.event.ActionEvent;
|
||||||
|
import javafx.event.Event;
|
||||||
import javafx.event.EventHandler;
|
import javafx.event.EventHandler;
|
||||||
import javafx.fxml.FXML;
|
import javafx.fxml.FXML;
|
||||||
import javafx.fxml.FXMLLoader;
|
import javafx.fxml.FXMLLoader;
|
||||||
@ -199,7 +200,6 @@ public class LoungeSceneViewController implements Initializable {
|
|||||||
|
|
||||||
LobbyListView.setItems(lobbies);
|
LobbyListView.setItems(lobbies);
|
||||||
LOGGER.debug("In Initialize 2 LobbyListView" + LobbyListView);
|
LOGGER.debug("In Initialize 2 LobbyListView" + LobbyListView);
|
||||||
LOGGER.debug("In Initialize 2 LobbyListView" + LobbyListView.getId());
|
|
||||||
LobbyListView.setCellFactory(param -> {
|
LobbyListView.setCellFactory(param -> {
|
||||||
ListCell<LobbyListItem> cell = new ListCell<>() {
|
ListCell<LobbyListItem> cell = new ListCell<>() {
|
||||||
|
|
||||||
@ -384,6 +384,7 @@ public class LoungeSceneViewController implements Initializable {
|
|||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
lobbies.add(item);
|
lobbies.add(item);
|
||||||
|
LobbyListView.refresh();
|
||||||
LOGGER.debug("within newLobby() run() thread");
|
LOGGER.debug("within newLobby() run() thread");
|
||||||
LOGGER.debug(item.toString());
|
LOGGER.debug(item.toString());
|
||||||
LOGGER.debug("In newLobby() run() " + LobbyListView);
|
LOGGER.debug("In newLobby() run() " + LobbyListView);
|
||||||
|
|||||||
Reference in New Issue
Block a user