Tamu Grade Analyzer
Analyzes the grade distribution of Texas A&M professors
|
Static Public Member Functions | |
static void | choiceNotFound (int choice) |
static void | failedToStart () |
static boolean | confirmExit () |
static void | showSQLException () |
static void | showImageNotFound () |
static void | showClassNotFoundException () |
static void | showNeedChooseSubject () |
static void | showNeedChooseCourseNum () |
static void | showNeedChooseProfessor () |
static void | failedToGenerateReport () |
This entire class is a collection of error messages that can be used anywhere else in this library. They are all static functions so there is no need for a constructor or a declaration of the AlertError object in any other class.
|
static |
This is for when the user enters a choice in a combo box for the DropDownList class. This will tell the user what is missing so they can choose their course properly.
choice |
The choices after choice == 1 are unnecessary since only the Subject drop down list in the DropDownList class has the possibility of a user entering an incorrect choice. But I'm leaving this here because it doesn't hurt anything. Maybe it will change later.
|
static |
This error is for if the user has input the search parameters for the course correctly, but there seems to have been some error after the clicked the 'Generate Report' button. This error pops up if the task thread in the DisplayAll class fails. The most likely cause for this would be if their internet connection was suddenly lost, meaning the database connection would also be broken.
|
static |
The error for the splash screen in the main function. This alert is for when the application cannot startup normally. It will tell the user that the application cannot start
|
static |
Creates a window that will show up if there is a ClassNotFound exception. However the code can be used with any exception. It will create a pop up window that will detail what the exception is and print out the stack trace in the pop up window.
|
static |
An alert to let the user know that the image that is being looked for has not been found. This is to be used in catch blocks that throw and ImageNotFound FileIO exception. This also prints out the stack trace.
|
static |
Error for if the user has not chosen a Course number before clicking the 'Generate Report' button, which means he has not chosen a professor as well. This error tells the user this so they can choose their course correctly.
|
static |
Error for if the user has not chosen a professor before clicking the 'Generate Report' button. This error tells that this so they can choose their course correctly.
|
static |
Error for if the user has not chosen a subject before clicking the 'Generate Report' button, which means he has not chosen a course number or professor as well. This error tells the user this so they can choose their course correctly.
|
static |
Creates a window that will show up if there is a SQL exception. However the code can be used with any exception. It will create a pop up window that will detail what the exception is and print out the stack trace in that pop up window.