Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

ControllerMain

Language: Layout:
+ ] Show input
Compilation time: 1.25 sec, absolute service time: 1,31 sec 
edit mode |  history
Error(s), warning(s):
source_file.java:25: error: class ControllerMain is public, should be declared in a file named ControllerMain.java
public class ControllerMain {
       ^
source_file.java:8: error: package Edit does not exist
import Edit.ControllerEdit;
           ^
source_file.java:9: error: package Storage does not exist
import Storage.Storage;
              ^
source_file.java:10: error: package Storages.impls does not exist
import Storages.impls.CollectionStorages;
                     ^
source_file.java:11: error: package TableLiterature does not exist
import TableLiterature.ControllerTableLiterature;
                      ^
source_file.java:21: error: package org.apache.poi.xssf.usermodel does not exist
import org.apache.poi.xssf.usermodel.XSSFRow;
                                    ^
source_file.java:22: error: package org.apache.poi.xssf.usermodel does not exist
import org.apache.poi.xssf.usermodel.XSSFSheet;
                                    ^
source_file.java:23: error: package org.apache.poi.xssf.usermodel does not exist
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
                                    ^
source_file.java:43: error: cannot find symbol
    private CollectionStorages collectionStorages = new CollectionStorages();
            ^
  symbol:   class CollectionStorages
  location: class ControllerMain
source_file.java:56: error: cannot find symbol
    private TableColumn<Storage, Integer> columnId;
                        ^
  symbol:   class Storage
  location: class ControllerMain
source_file.java:59: error: cannot find symbol
    private TableColumn<Storage, String> columnLiterature;
                        ^
  symbol:   class Storage
  location: class ControllerMain
source_file.java:62: error: cannot find symbol
    private TableColumn<Storage, String> columnLibrary;
                        ^
  symbol:   class Storage
  location: class ControllerMain
source_file.java:71: error: cannot find symbol
    private ControllerEdit controllerEdit;
            ^
  symbol:   class ControllerEdit
  location: class ControllerMain
source_file.java:72: error: cannot find symbol
    private ControllerTableLiterature controllerTableLiterature;
            ^
  symbol:   class ControllerTableLiterature
  location: class ControllerMain
source_file.java:43: error: cannot find symbol
    private CollectionStorages collectionStorages = new CollectionStorages();
                                                        ^
  symbol:   class CollectionStorages
  location: class ControllerMain
source_file.java:50: warning: [rawtypes] found raw type: TableView
    private TableView main;
            ^
  missing type arguments for generic class TableView<S>
  where S is a type-variable:
    S extends Object declared in class TableView
source_file.java:92: error: cannot find symbol
                Storage storage = new Storage();
                ^
  symbol:   class Storage
  location: class ControllerMain
source_file.java:92: error: cannot find symbol
                Storage storage = new Storage();
                                      ^
  symbol:   class Storage
  location: class ControllerMain
source_file.java:108: error: cannot find symbol
        columnId.setCellValueFactory(new PropertyValueFactory<Storage, Integer>("id"));
                                                              ^
  symbol:   class Storage
  location: class ControllerMain
source_file.java:109: error: cannot find symbol
        columnLiterature.setCellValueFactory(new PropertyValueFactory<Storage, String>("Literature"));
                                                                      ^
  symbol:   class Storage
  location: class ControllerMain
source_file.java:110: error: cannot find symbol
        columnLibrary.setCellValueFactory(new PropertyValueFactory<Storage, String>("Library"));
                                                                   ^
  symbol:   class Storage
  location: class ControllerMain
source_file.java:151: error: cannot find symbol
        Storage selectedStorage = (Storage) main.getSelectionModel().getSelectedItem();
        ^
  symbol:   class Storage
  location: class ControllerMain
source_file.java:151: error: cannot find symbol
        Storage selectedStorage = (Storage) main.getSelectionModel().getSelectedItem();
                                   ^
  symbol:   class Storage
  location: class ControllerMain
source_file.java:158: error: cannot find symbol
                controllerEdit.setStorage(new Storage());
                                              ^
  symbol:   class Storage
  location: class ControllerMain
source_file.java:166: error: cannot find symbol
                controllerEdit.setStorage((Storage)main.getSelectionModel().getSelectedItem());
                                           ^
  symbol:   class Storage
  location: class ControllerMain
source_file.java:174: error: cannot find symbol
                    Storage storage = controllerEdit.getStorage();
                    ^
  symbol:   class Storage
  location: class ControllerMain
source_file.java:182: error: cannot find symbol
                collectionStorages.delete((Storage)main.getSelectionModel().getSelectedItem());
                                           ^
  symbol:   class Storage
  location: class ControllerMain
source_file.java:192: error: cannot find symbol
                    XSSFWorkbook wb = new XSSFWorkbook();
                    ^
  symbol:   class XSSFWorkbook
  location: class ControllerMain
source_file.java:192: error: cannot find symbol
                    XSSFWorkbook wb = new XSSFWorkbook();
                                          ^
  symbol:   class XSSFWorkbook
  location: class ControllerMain
source_file.java:193: error: cannot find symbol
                    XSSFSheet sheet = wb.createSheet("Storages");
                    ^
  symbol:   class XSSFSheet
  location: class ControllerMain
source_file.java:194: error: cannot find symbol
                    XSSFRow header = sheet.createRow(0);
                    ^
  symbol:   class XSSFRow
  location: class ControllerMain
source_file.java:201: error: cannot find symbol
                        XSSFRow row = sheet.createRow(index);
                        ^
  symbol:   class XSSFRow
  location: class ControllerMain
31 errors
1 warning

        

    
                
λ
.NET NoSQL database for rapid development