@ -43,11 +43,12 @@ public class HorseController {
public TableColumn < NetInfoTable , String > regionColumn ;
public TableColumn < NetInfoTable , String > regionColumn ;
public TableColumn < NetInfoTable , String > cityColumn ;
public TableColumn < NetInfoTable , String > cityColumn ;
public TableColumn < NetInfoTable , ImageView > flagColumn ;
public TableColumn < NetInfoTable , ImageView > flagColumn ;
public TextField portStart ;
public TableColumn < NetInfoTable , String > ispColumn ;
public TableColumn < NetInfoTable , String > ispColumn ;
public TableColumn < NetInfoTable , String > osColumn ;
public TableColumn < NetInfoTable , String > osColumn ;
public TableView < NetInfoTable > tableView ;
public TableColumn < NetInfoTable , String > bigOsColumn ;
public TableColumn < NetInfoTable , String > bigOsColumn ;
public TableColumn < NetInfoTable , String > headlessColumn ;
public TableView < NetInfoTable > tableView ;
public TextField portStart ;
public TextField portBuild ;
public TextField portBuild ;
public TextField hostBuild ;
public TextField hostBuild ;
public Button buildBtn ;
public Button buildBtn ;
@ -117,11 +118,11 @@ public class HorseController {
/ / for demo - ing app
/ / for demo - ing app
/ / for ( int i = 0 ; i < 10 ; i + + ) {
/ / for ( int i = 0 ; i < 10 ; i + + ) {
/ / tableView . getItems ( ) . add ( new NetInfoTable ( new NetInfo ( "Robert" , OS . WINDOWS , "Windows 10" , "DESKTOP-DGSDF" , "192.168.0.1" , "200.98.134.27" , "Brazil" , "Sao Paulo" , "Sao Paulo" , "America/Sao_Paulo" , "Universo Online S.A." , "Universo Online S.A." , "AS7162 Universo Online S.A." ) , new TroyPlebe ( "skibidi" ) ) ) ;
/ / tableView . getItems ( ) . add ( new NetInfoTable ( new NetInfo ( "Lorem" , OS . UNIX , "Fedora 35" , "SERVER-WSJDN" , "192.168.43.1" , "104.244.72.248" , "Luxembourg" , "Mersch" , "Roost" , "Europe/Luxembourg" , "FranTech Solutions" , "BuyVM" , "AS53667 FranTech Solutions" ) , new TroyPlebe ( "skibidi" ) ) ) ;
/ / tableView . getItems ( ) . add ( new NetInfoTable ( new NetInfo ( "Yuri" , OS . MAC , "MacOs X" , "DESKTOP-WSJDN" , "192.168.13.1" , "207.188.139.168" , "Spain" , "Extremadura" , "Badajoz" , "Europe/Madrid" , "Xtra Telecom S.A" , "Xtra Telecom S.A" , "AS15704 XTRA TELECOM S.A." ) , new TroyPlebe ( "skibidi" ) ) ) ;
/ / tableView . getItems ( ) . add ( new NetInfoTable ( new NetInfo ( "Jonah" , OS . UNIX , "Mint 20.2" , "SERVER-WSJDN" , "192.168.1.1" , "46.29.248.238" , "Sweden" , "Stockholm County" , "Stockholm" , "Europe/Stockholm" , "Inter Connects Inc" , "Sweden" , "AS57858 Inter Connects Inc" ) , new TroyPlebe ( "skibidi" ) ) ) ;
/ / tableView . getItems ( ) . add ( new NetInfoTable ( new NetInfo ( "Gabriel" , OS . UNKNOWN , "Temple OS 5.03" , "DESKTOP-WSJDN" , "192.168.15.1" , "45.137.184.31" , "Netherlands" , "North Holland" , "Amsterdam" , "Europe/Amsterdam" , "NL-MOTP" , "" , "AS41047 Bart Vrancken trading as MLaB" ) , new TroyPlebe ( "skibidi" ) ) ) ;
/ / tableView . getItems ( ) . add ( new NetInfoTable ( new NetInfo ( "Robert" , OS . WINDOWS , "Windows 10" , "DESKTOP-DGSDF" , "192.168.0.1" , "200.98.134.27" , "Brazil" , "Sao Paulo" , "Sao Paulo" , "America/Sao_Paulo" , "Universo Online S.A." , "Universo Online S.A." , "AS7162 Universo Online S.A." , false ) , new TroyPlebe ( "skibidi" ) ) ) ;
/ / tableView . getItems ( ) . add ( new NetInfoTable ( new NetInfo ( "Lorem" , OS . UNIX , "Fedora 35" , "SERVER-WSJDN" , "192.168.43.1" , "104.244.72.248" , "Luxembourg" , "Mersch" , "Roost" , "Europe/Luxembourg" , "FranTech Solutions" , "BuyVM" , "AS53667 FranTech Solutions" , true ) , new TroyPlebe ( "skibidi" ) ) ) ;
/ / tableView . getItems ( ) . add ( new NetInfoTable ( new NetInfo ( "Yuri" , OS . MAC , "MacOs X" , "DESKTOP-WSJDN" , "192.168.13.1" , "207.188.139.168" , "Spain" , "Extremadura" , "Badajoz" , "Europe/Madrid" , "Xtra Telecom S.A" , "Xtra Telecom S.A" , "AS15704 XTRA TELECOM S.A." , false ) , new TroyPlebe ( "skibidi" ) ) ) ;
/ / tableView . getItems ( ) . add ( new NetInfoTable ( new NetInfo ( "Jonah" , OS . UNIX , "Mint 20.2" , "SERVER-WSJDN" , "192.168.1.1" , "46.29.248.238" , "Sweden" , "Stockholm County" , "Stockholm" , "Europe/Stockholm" , "Inter Connects Inc" , "Sweden" , "AS57858 Inter Connects Inc" , true ) , new TroyPlebe ( "skibidi" ) ) ) ;
/ / tableView . getItems ( ) . add ( new NetInfoTable ( new NetInfo ( "Gabriel" , OS . UNKNOWN , "Temple OS 5.03" , "DESKTOP-WSJDN" , "192.168.15.1" , "45.137.184.31" , "Netherlands" , "North Holland" , "Amsterdam" , "Europe/Amsterdam" , "NL-MOTP" , "" , "AS41047 Bart Vrancken trading as MLaB" , false ) , new TroyPlebe ( "skibidi" ) ) ) ;
/ / }
/ / }
plebeObservableList . addListener ( ( ListChangeListener < TroyPlebe > ) lis - > {
plebeObservableList . addListener ( ( ListChangeListener < TroyPlebe > ) lis - > {
@ -164,6 +165,7 @@ public class HorseController {
ispColumn . setCellValueFactory ( c - > c . getValue ( ) . ispProperty ( ) ) ;
ispColumn . setCellValueFactory ( c - > c . getValue ( ) . ispProperty ( ) ) ;
osColumn . setCellValueFactory ( c - > c . getValue ( ) . osProperty ( ) ) ;
osColumn . setCellValueFactory ( c - > c . getValue ( ) . osProperty ( ) ) ;
bigOsColumn . setCellValueFactory ( c - > c . getValue ( ) . bigOsProperty ( ) ) ;
bigOsColumn . setCellValueFactory ( c - > c . getValue ( ) . bigOsProperty ( ) ) ;
headlessColumn . setCellValueFactory ( c - > c . getValue ( ) . headlessTextProperty ( ) ) ;
tableView . setRowFactory ( new HorseRowFactory ( this ) ) ;
tableView . setRowFactory ( new HorseRowFactory ( this ) ) ;
}
}
@ -314,6 +316,7 @@ public class HorseController {
"User name: " ,
"User name: " ,
"OS: " ,
"OS: " ,
"Big OS: " ,
"Big OS: " ,
"Headless: " ,
"Host name: " ,
"Host name: " ,
"Local IP: " ,
"Local IP: " ,
"External IP: " ,
"External IP: " ,
@ -330,6 +333,7 @@ public class HorseController {
netInfo . getUserName ( ) ,
netInfo . getUserName ( ) ,
netInfo . getOs ( ) . toString ( ) ,
netInfo . getOs ( ) . toString ( ) ,
netInfo . getBigOs ( ) ,
netInfo . getBigOs ( ) ,
String . valueOf ( netInfo . isHeadless ( ) ) ,
netInfo . getHostName ( ) ,
netInfo . getHostName ( ) ,
netInfo . getLocalIP ( ) ,
netInfo . getLocalIP ( ) ,
netInfo . getExternalIP ( ) ,
netInfo . getExternalIP ( ) ,