This problem makes no sense. I have the slightest idea what is being asked for the three requirements I can not pass. Am i over thinking this, or is there missing information in the instructions/starting code?
package com.codegym.task.task18.task1815;
import javax.swing.*;
import javax.swing.event.ListDataListener;
import java.util.List;
/*
Table
*/
public class Solution {
public class TableInterfaceWrapper implements TableInterface {
TableInterface component;
String headerText;
public TableInterfaceWrapper(TableInterface component) {
this.component = component;
}
public void setModel(List rows) {
System.out.println(rows.size());
}
@Override
public String getHeaderText() {
return headerText.toUpperCase();
}
@Override
public void setHeaderText(String newHeaderText) {
headerText = newHeaderText;
}
}
public interface TableInterface {
void setModel(List rows);
String getHeaderText();
void setHeaderText(String newHeaderText);
}
public static void main(String[] args) {
}
}