This file contains 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
style "gtkcompact" { | |
GtkButton::default_border={0,0,0,0} | |
GtkButton::default_outside_border={0,0,0,0} | |
GtkButtonBox::child_min_width=0 | |
GtkButtonBox::child_min_heigth=0 | |
GtkButtonBox::child_internal_pad_x=0 | |
GtkButtonBox::child_internal_pad_y=0 | |
GtkMenu::vertical-padding=1 | |
GtkMenuBar::internal_padding=0 | |
GtkMenuItem::horizontal_padding=4 |
This file contains 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
package groupProject; | |
public class BadDataException extends Throwable | |
{ | |
private static final long serialVersionUID = 1L; | |
public BadDataException(final String s) { | |
System.out.println("Shutting Down - Bad input of some kind from file: "+s); | |
System.exit(1); | |
} |
This file contains 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
CS22120 abc8 H620 45 | |
CS22120 xyz8 G450 55 | |
CC22120 zxc8 G400 65 | |
CS22120 bbc8 H620 75 | |
CS22120 yyz8 G450 50 | |
CC22120 axc8 G400 65 | |
CS22120 cbc8 H620 56 | |
CS22120 xdz8 G450 55 | |
CC22120 zxc8 G400 67 | |
CS22120 abd8 H620 85 |
This file contains 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
package groupProject; | |
import java.io.*; | |
import java.util.ArrayList; | |
import java.util.Scanner; | |
public class FileHandling { | |
ArrayList<String> studentArray = new ArrayList<String>(); | |
ArrayList<String> groupArray = new ArrayList<String>(); | |
This file contains 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
package groupProject; | |
public class GroupProjectManager implements GroupProjectInterface { | |
StudentManager studentManager = new StudentManager(); | |
GroupManager groupManager = new GroupManager(); | |
/* The way this program has been written, (i.e. with TreeSet populated directly with Group objects), * | |
* this function makes little sense, as when we make a group, it is placed directly in the list, so * | |
* we'd effectively have to add a group to the group list... when it's already in the list. Thus, we * |