INSTRUCTIONS
Running the application in Netbeans:
- Navigate to BJJAlarmClock>Source Packages>com.csci360.alarmclock.gui
- Run 'ClockRadioMain.java'
Setting the time:
- Fill in the fields for hour, minute, and seconds.
- Choose 'AM' or 'PM' from the choice box.
- Click 'Set Time'.
Setting an alarm:
- Fill in the fields for hour and minute.
- Choose 'AM' or 'PM' from the choice box.
- Choose '1' or '2' from the choice box to choose a sound.
- Click 'Update' to set a new time for the alarm.
- Toggle the alarm by pressing the 'On/Off' button. *Pressing 'Snooze' while the alarm is going off will reset the alarm for 5 minutes later.
Playing the radio:
- Turn radio on/off using the 'Radio On/Radio Off' button.
- Press 'Pause' to pause the current song.
- Press 'Skip' to skip to the next song.
- Press 'Restart' to replay the current song.
CLONING:
- From the repo, click "Clone or download" and copy url from git.
- Open NetBeans.
- Navigate to Team>Git>Clone.
- Paste url to "Repository URL:"
- Enter User and Password.
- Fill in Destination Folder if neccessary, then click Next.
- Select the "master" branch.
- Leave "Scan for Netbeans Projects after Clone" checked and click "Finish"
- When "Clone Completed" window pops up, click "Open Project"
- "BJJAlarmClock" should appear in the Projects window.
ADDING, COMMITTING, AND PUSHING CHANGES:
Before making changes:
- Right click "BJJAlarmClock" in the Projects window.
- Navigate to Git>Branch>Create Branch
- Enter a branch name, leave "Checkout Created Branch" checked , then click "Create"
- Make your changes.
After making changes:
- Right click "BJJAlarmClock" in the Projects window, then click Git>Add
- Right click "BJJAlarmClock" in the Projects window, then click Git>Commit
- Add a message
- changes made should appear in "Files to Commit" window
- Click "Commit"
- Navigate to Team>Remote>Push
- Click "Select Configured Git Repository Location:"
- Click "Next"
- Choose branch with the changes you want to push, then click "Next" and "Finish"
- You can set up branch tracking or not.
After pushing:
- Go to repo and click compare & pull request
- Click "Create pull request"
- Click "Merge pull request", then "Confirm merge"
PULLING CHANGES:
- Go to Team>Remote>Pull
- Click "Next"