This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void showNoties() { //todo empty massages WTF? | |
| try { | |
| if (null == allNoties) { | |
| throw new ValidationException("Ops! List is NULL"); | |
| } | |
| if (allNoties.isEmpty()) { | |
| throw new ValidationException("There are no noties"); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javax.swing.table.AbstractTableModel; | |
| import java.sql.SQLException; | |
| import java.util.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.Collection; | |
| import java.util.List; | |
| public class CitatumTableModel extends AbstractTableModel { | |
| private WindowFrame windowFrame; | |
| private List<CitatumInfo> citatumInfos; |